<?xml version="1.0" encoding="utf-8" ?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:thr="http://purl.org/syndication/thread/1.0">
<channel xml:lang="">

	<title>&#91;Geekographie Ma&#239;eulesque&#93; titre page forum suivi RSS R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
	<link>https://geekographie.maieul.net/171</link>
	<description></description>
	<language></language>
	
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1815</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1815</guid>
		<dc:date>2018-07-02T21:08:04Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1815"
			href="https://geekographie.maieul.net/1815" />
		<dc:creator>Kamal Abdali</dc:creator>
		<description>&lt;p&gt;The question was how to show page and note numbers together in an index&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;; e.g., &#034;210n7&#034; for an entry in note numbered 7 occurring on page 210. This is needed for manually added notes in a document processed by xelatex and xindy.&lt;/p&gt;
&lt;p&gt;Below is a solution which seems to work. It still has the shortcoming that the index is showing the entries in this order&#160;: &#171;&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;gnu, 1, 2, 1n9, 2n6&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;&#187; instead of &#171;&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;gnu, 1, 1n9, 2, 2n6&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;&#187;.
Xindy allows ordering location classes as a whole. But in its manuals I can't find any way of specifying an order between individual members of two location classes. In the present case, we can obviously impose an order quite logically by sequentially comparing the individual members of the two location classes. Fortunately, this flaw doesn't matter in my current project because all the pages that contain the endnotes come after the main text pages anyway&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;!&lt;/p&gt;
&lt;p&gt;The program listings are as follows&#160;:&lt;/p&gt;
&lt;p&gt;========================= mwe.xdy ==========================
&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;;&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;; Style for printing page and note numbers together as e.g. &#034;210n7&#034; &lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;;&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;; This is for manually added notes, such as endnotes.&lt;/p&gt;
&lt;p&gt;(define-location-class &#034;page-note-numbers&#034; :var
(&#034;arabic-numbers&#034; :sep &#034; &#034; &#034;arabic-numbers&#034;) )
(define-location-class-order (&#034;arabic-page-numbers&#034; &#034;page-note-numbers&#034;))&lt;/p&gt;
&lt;p&gt;(define-attributes ((&#034;formatpn&#034;)) )
(markup-locref :attr &#034;formatpn&#034; :open &#034;\formatpn&lt;i&gt;&#034; :close &#034;&lt;/i&gt;&#034; )&lt;/p&gt;
&lt;p&gt;========================= mwe.tex ==========================&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre dir=&#034;ltr&#034; style=&#034;text-align:left;&#034; class=&#034;latex&#034;&gt;&lt;code&gt;% !TEX TS-program = XeLaTex % !TEX encoding = UTF-8 Unicode
% Problem: Show in the index the number of each manually added note % together with the number of the page on which it appears.
% E.g., by specifying a suitable Xindy location-class &#034;page-note-numbers&#034; and % defining a command \indexpn[2] so the tex code below generates the index:
% bison, 1, 2
% gnu, 1, 1n9, 2, 2n6
\documentclass[12pt]{article} \usepackage{etoolbox}
\usepackage[xindy]{indextools} \makeindex[program=texindy]
% Solution derived from the page-footnote solution in Stack Exchange item: % https://tex.stackexchange.com/questions/328833/page-n-footnote-number-in-index-with-texindy % \formatpnn formats the locations as specified in the accompanying Xindy style file mwe.xdy % \formatpn is a wrapper for \formatpnn to permit braces
\newcommand{\formatpn}[1]{\formatpnn #1}
\def\formatpnn #1 #2{{{#1}n#2}} % \indexpn command
\makeatletter \newcommand{\indexpn}[2][0]{%
\ifnumless{#1}{1}{\index{#2}}{% \let\@indexpn\@index
\patchcmd{\@indexpn}{\@wrindex}{\@Wrindex}{}{} \let\@Wrindex\@wrindex
\patchcmd{\@Wrindex}{\thepage}{\thepage\space#1}{}{} \let\xindexpn\index
\patchcmd{\xindexpn}{\@index}{\@indexpn}{}{} \patchcmd{\xindexpn}{\@index}{\@indexpn}{}{}
\xindexpn{#2|formatpn} }}
\makeatother \begin{document}
Gnus,\indexpn[9]{gnu} bisons,\index{bison} and more gnus.\index{gnu} \newpage
Bisons,\index{bison} gnus,\index{gnu} and some more gnus,\indexpn[6]{gnu}. \printindex
\end{document}&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1814</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1814</guid>
		<dc:date>2018-06-24T20:25:25Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1814"
			href="https://geekographie.maieul.net/1814" />
		<dc:creator>Kamal Abdali</dc:creator>
		<description>&lt;p&gt;Submission via the submission form is corrupted. For example, all the brace have disappeared. Please ignore the previous form submissions, and only consider what I sent via email. Sorry&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1813</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1813</guid>
		<dc:date>2018-06-24T18:24:42Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1813"
			href="https://geekographie.maieul.net/1813" />
		<dc:creator>Ma&#239;eul</dc:creator>
		<description>&lt;p&gt;not a problem, I will correct it directly in the website.&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1812</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1812</guid>
		<dc:date>2018-06-24T18:19:17Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1812"
			href="https://geekographie.maieul.net/1812" />
		<dc:creator>Kamal Abdali</dc:creator>
		<description>&lt;p&gt;Resubmitting didn't work. The sumbitting form again automaticaly formatted the last part. I'll resumbmit that part to you by email.&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1811</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1811</guid>
		<dc:date>2018-06-24T17:54:54Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1811"
			href="https://geekographie.maieul.net/1811" />
		<dc:creator>Kamal Abdali</dc:creator>
		<description>&lt;p&gt;Part 2&#160;: mwe.tex&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre dir=&#034;ltr&#034; style=&#034;text-align:left;&#034;&gt;&lt;code&gt;%!TEX encoding = UTF-8 Unicode \documentclass[12pt]{article} \usepackage{etoolbox}
\usepackage[xindy]{imakeidx}
\makeindex[program=texindy,options=-M mwe] %%%%%% Copy of page-footnote solution in quoted Stack Exchange item
% test to detect we are in a footnote;
\let\svfootnote\footnote
\renewcommand\footnote[2][\thefootnote]{% \stepcounter{footnote}% \gdef\infootnote{T}% \svfootnote[#1]{#2\gdef\infootnote{F}}%
}
\gdef\infootnote{F} % write the footnote number if we're in one, 0 otherwise
\makeatletter
\newcommand{\fnind}{\if T\infootnote
\@currentlabel%
\else 0\fi%
}
\makeatother % http://tex.stackexchange.com/questions/20894/make-index-entries-refer-to-something-other-than-the-page-numbers/20910#20910
\makeatletter
\let\@indexfn\@index
\patchcmd{\@indexfn}{\@wrindex}{\@Wrindex}{}{}
\let\@Wrindex\@wrindex
\patchcmd{\@Wrindex}{\thepage}{\thepage\space\fnind}{}{}
\let\xindexfn\index
\patchcmd{\xindexfn}{\@index}{\@indexfn}{}{}
\patchcmd{\xindexfn}{\@index}{\@indexfn}{}{}
\newcommand{\indexfn}[2][\imki@jobname]{\xindexfn[#1]{#2|formatloc}}
\makeatother
%%%% End of Copy %%%% Question: how do this for manually added notes as illustrated in tex code below % \formatpnn formats the locations as needed in the .ind file
% \formatpn is a wrapper for \formatpnn to permit braces
\newcommand{\formatpn}[1]{\formatpnn #1}
% The remaining lines are being incorrectly formatted in my post for some reason.
% I'll try posting them again in another post
\def\formatpnn #1 #2{{{#1}n#2}} % How define \indexpn[2] similarly to \indexfn so the tex commands generate in index:
gnu, 1n5,1,2n4,2
goat, 1,2 \begin{document}
Animals only! \\
gnu\indexpn{gnu,5} and goat\index{goat}.\\
gnu\index{gnu}
\newpage
gnu\indexpn{gnu,4}, goat\index{goat}, and again gnu\index{gnu}.
\printindex
\end{document}&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1810</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1810</guid>
		<dc:date>2018-06-24T17:46:48Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1810"
			href="https://geekographie.maieul.net/1810" />
		<dc:creator>Kamal Abdali</dc:creator>
		<description>&lt;p&gt;Thanks. Here is an &lt;span class=&#034;caps&#034;&gt;MWE&lt;/span&gt; in two parts&lt;/p&gt;
&lt;p&gt;Part I. mwe.xdy&#160;:&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre dir=&#034;ltr&#034; style=&#034;text-align:left;&#034;&gt;&lt;code&gt;;; Style for printing page and note numbers together as e.g. &#034;210n7&#034; ;; This is for manually added notes (e.g. endnotes).
;; The problem for automatically generated notes via \footnote command is addresed in:
;; https://tex.stackexchange.com/questions/328833/page-n-footnote-number-in-index-with-texindy (define-location-class &#034;pagenote&#034; :var (&#034;arabic-numbers&#034; :sep &#034; &#034; &#034;arabic-numbers&#034;) )
(define-location-class-order (&#034;pagenote&#034;)) (define-attributes ((&#034;formatpn&#034;)) )
(markup-locref :attr &#034;formatpn&#034; :open &#034;\formatpn{&#034; :close &#034;}&#034; )&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1809</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1809</guid>
		<dc:date>2018-06-24T12:53:39Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1809"
			href="https://geekographie.maieul.net/1809" />
		<dc:creator>Ma&#239;eul</dc:creator>
		<description>&lt;p&gt;Merci de me fournir un &lt;span class=&#034;caps&#034;&gt;MWE&lt;/span&gt;, pour que je puisse vous r&#233;pondre.&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1808</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1808</guid>
		<dc:date>2018-06-23T23:03:54Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1808"
			href="https://geekographie.maieul.net/1808" />
		<dc:creator>Kamal Abdali</dc:creator>
		<description>&lt;p&gt;Thank you for your excellent tutorial on Xindy. This is the only place where I've seen it clearly explained how one can make use, in one's tex file, of the new location-classes and attributes, for example, that one defines in one's xindy style file.&lt;/p&gt;
&lt;p&gt;I'm having difficulty showing the numbers of manually defined endnotes with page numbers in the index. Your package indextools has the notenumber option for automatically generated footnotes (i.e., via \footnote command). The stackexchange item
&lt;a href=&#034;https://tex.stackexchange.com/questions/328833/page-n-footnote-number-in-index-with-texindy&#034; class=&#034;spip_url spip_out auto&#034; rel=&#034;nofollow external&#034;&gt;https://tex.stackexchange.com/questions/328833/page-n-footnote-number-in-index-with-texindy&lt;/a&gt;
is also very clear, but again applies to footnotes generated via \footnote. I tried to change the function defintions in this example but wasn't able to get what I want. All I want is to define a new function \indexen so I can type \indexen{foo,8}, for example, to get something like &#171;&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;foo, 210n8&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;&#187; in the printed index (if \indexen command corresponds to \thepage=210).&lt;/p&gt;
&lt;p&gt;Since the note number is being provided directly, we avoid having to calculate it by analyzing the \footnote command, so my problem is actually easier than the one solved by the stackexchange item or by your \innotenumber definition in indextools. Yet I am finding it difficult to get it done&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;!&lt;/p&gt;
&lt;p&gt;I'll appreciate any solution or hints. &lt;span class=&#034;caps&#034;&gt;BTW&lt;/span&gt;, I read French well, so you don't need to change the language of your superb &#171;&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;Geekographie&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;&#187; for me. It's just that I've been long out of practice writing French and shouldn't try to make a fool of myself in yet another way&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;! Thanks.&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1728</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1728</guid>
		<dc:date>2017-03-11T14:28:16Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1728"
			href="https://geekographie.maieul.net/1728" />
		<dc:creator>Wiener</dc:creator>
		<description>&lt;p&gt;Oui, je veux des points r&#233;partis uniform&#233;ment, sans espace entre la box et \dotfill qui suit.
Donc, puisque vous me dites que votre solution est la meilleure, merci&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;!&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1727</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1727</guid>
		<dc:date>2017-03-11T14:17:13Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1727"
			href="https://geekographie.maieul.net/1727" />
		<dc:creator>Ma&#239;eul</dc:creator>
		<description>&lt;p&gt;Vous voulez des points r&#233;partis uniform&#233;ment&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;? Dans ce cas ma solution est la meilleure (a vous de choisir votre facteur multiplicateur&#8230;)&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1726</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1726</guid>
		<dc:date>2017-03-11T14:13:26Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1726"
			href="https://geekographie.maieul.net/1726" />
		<dc:creator>Wiener</dc:creator>
		<description>&lt;p&gt;Non, pas du tout voulu, &#231;a fonctionnait, et l&#224; je viens de recompiler et ce n'est pas du tout ce que je voulais...&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1725</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1725</guid>
		<dc:date>2017-03-11T14:09:12Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1725"
			href="https://geekographie.maieul.net/1725" />
		<dc:creator>Ma&#239;eul</dc:creator>
		<description>&lt;p&gt;Avec votre code, les points ne sont pas espac&#233;s autant au d&#233;but qu'&#224; la fin. Est-ce voulu&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;?&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1724</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1724</guid>
		<dc:date>2017-03-11T13:57:19Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1724"
			href="https://geekographie.maieul.net/1724" />
		<dc:creator>Wiener</dc:creator>
		<description>&lt;p&gt;Merci&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;!
Comme vous l'aviez pressenti, le probl&#232;me se trouve dans la jonction entre la box et \dotfill.
Voici la solution qui me convient, gr&#226;ce &#224; la piste sur laquelle vous m'avez mise&#160;:&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre dir=&#034;ltr&#034; style=&#034;text-align:left;&#034; class=&#034;latex&#034;&gt;&lt;code&gt;\newcommand{\dotfillminimal}{% \hspace{0.2em}{.} \hspace{0.2em}{.} \hspace{0.2em}{.} \hspace{0.2em}{.} \hspace{0.2em}{.}% \dotfill%
}&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Donc merci beaucoup, pour votre r&#233;activit&#233; et l'excellente piste donn&#233;e&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;!
Meilleures salutations&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;!!&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1723</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1723</guid>
		<dc:date>2017-03-10T20:02:39Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1723"
			href="https://geekographie.maieul.net/1723" />
		<dc:creator>Ma&#239;eul</dc:creator>
		<description>&lt;p&gt;Il vous faut cr&#233;er une commande qui affiche une ligne de point de sur une taille donn&#233;e, puis un &lt;code&gt;\dotfill&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;La commande &lt;code&gt;\dotfill&lt;/code&gt; est d&#233;finie dans &lt;a href=&#034;https://www.tug.org/svn/texlive/trunk/Master/texmf-dist/tex/latex/base/latex.ltx?view=co&#034; class=&#034;spip_out&#034; rel='nofollow external'&gt;le code source de LaTeX&lt;/a&gt; de la mani&#232;re suivante&#160;:&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre dir=&#034;ltr&#034; style=&#034;text-align:left;&#034; class=&#034;latex&#034;&gt;&lt;code&gt;\def\dotfill{% \leavevmode \cleaders \hb@xt@ .44em{\hss.\hss}\hfill \kern\z@}&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; &lt;strong&gt;l.&#160;2&lt;/strong&gt; on passe en mode horizontal si besoin (en d&#233;but de paragraphe par exemple)&lt;/li&gt;&lt;li&gt; &lt;strong&gt;l.&#160;3&lt;/strong&gt; on reproduit (&lt;code&gt;\cleaders&lt;/code&gt;) horizontalement (&lt;code&gt;\hfill&lt;code&gt;) &#224; l'infini (ou plut&#244;t jusqu'&#224; ce qu'on rencontre du contenu) une bo&#238;te de 0,44~em de largeur (\hb@xt@ .44em) comprenant une point positionn&#233; au milieu de la bo&#238;te (&lt;code&gt;\hss.\hss&lt;/code&gt;). Ceci veut dire que la longueur fixe de votre ligne de point minimum doit &#234;tre un multiple de 0, 44&#160;em et d'un entier, sinon vous aurez un probl&#232;me lors du passage au &lt;code&gt;\dotfill&lt;/code&gt;, avec un espace trop important (ou trop faible) entre le dernier point de votre ligne de longueur fixe et le premier point du &lt;code&gt;\dotfill&lt;/code&gt;. Je sugg&#232;re 2, 64&#160;em (0,44*6).&lt;/li&gt;&lt;li&gt; &lt;strong&gt;l.&#160;4&lt;/strong&gt; on ins&#232;re un cr&#233;nage horizontal de taille nulle.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Votre command &lt;code&gt;\dotfillminimal&lt;/code&gt; peut donc &#234;tre ainsi d&#233;finie, de pr&#233;f&#233;rence dans votre pr&#233;ambule&#160;:&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre dir=&#034;ltr&#034; style=&#034;text-align:left;&#034; class=&#034;latex&#034;&gt;&lt;code&gt;\newcommand{\dotfillminimal}{% \hbox to 2.64em{\dotfill}% \dotfill%
}&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;C'est &#224; dire&#160;:&lt;/p&gt;
&lt;ul class=&#034;spip&#034;&gt;&lt;li&gt; &lt;strong&gt;l.&#160;2&lt;/strong&gt; une ligne de point de 2, 64&#160;em&lt;/li&gt;&lt;li&gt; &lt;strong&gt;l.&#160;3&lt;/strong&gt; un &lt;code&gt;\dotfill&lt;/code&gt; classique.&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;Il vous reste &#224; remplacer dans votre fichier &lt;code&gt;.xdy&lt;/code&gt;&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre dir=&#034;ltr&#034; style=&#034;text-align:left;&#034;&gt;&lt;code&gt;(markup-locclass-list :open &#034;\dotfill &#034;)&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;par&lt;/p&gt;
&lt;div class=&#034;precode&#034;&gt;&lt;pre dir=&#034;ltr&#034; style=&#034;text-align:left;&#034;&gt;&lt;code&gt;(markup-locclass-list :open &#034;\dotfillminimal &#034;)&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;p&gt;Et &#224; relancer xindy avant de faire une nouvelle compilation.&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1722</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1722</guid>
		<dc:date>2017-03-10T18:54:18Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1722"
			href="https://geekographie.maieul.net/1722" />
		<dc:creator>Wiener</dc:creator>
		<description>&lt;p&gt;Bonjour,&lt;/p&gt;
&lt;p&gt;J'ai une question&#160;: pour certaines entr&#233;es d'index (qui sont des r&#233;f&#233;rences chiffr&#233;es), j'ai de nombreux num&#233;ros de page, qui peuvent prendre plusieurs ligne.&lt;/p&gt;
&lt;p&gt;Or la premi&#232;re ligne se colle &#224; l'entr&#233;e d'index chiffr&#233;e, ce qui rend la lecture tr&#232;s peu claire.
Exemple&#160;: entr&#233;e 13, qui se trouve pages 1, 3, 7, 15, 29, etc.&lt;/p&gt;
&lt;p&gt;Cela donne 13 1, 3, 7, 15 etc., le 1 de la page 1 &#233;tant coll&#233; au 13 de l'entr&#233;e d'index, parce qu'en tout il y a 50 num&#233;ros de pages &#224; la suite o&#249; se trouve la r&#233;f&#233;rence 13.&lt;/p&gt;
&lt;p&gt;Comment faire pour imposer par exemple 1cm (en \dotfill, puisque c'est ce que j'utilise comme liaison entre les entr&#233;es d'index et les n&#176;&#160;de page) syst&#233;matiquement, au minimum, entre l'entr&#233;e d'index et les num&#233;ros de page, aussi nombreux soient-ils&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;?&lt;/p&gt;
&lt;p&gt;Pour que &#231;a fasse syst&#233;matiquement 13.....1, 3, 7, 15, etc., m&#234;me s'il y a plusieurs lignes de num&#233;ros de pages qui suivent le &#171;&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;13&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;&#187;.&lt;/p&gt;
&lt;p&gt;Je n'ai rien trouv&#233; ailleurs sur internet. Une id&#233;e&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;? Merci d'avance...&lt;/p&gt;
&lt;p&gt;Tr&#232;s bonnes salutations&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;!&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1676</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1676</guid>
		<dc:date>2016-04-13T15:35:09Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1676"
			href="https://geekographie.maieul.net/1676" />
		<dc:creator>Ma&#239;eul</dc:creator>
		<description>&lt;p&gt;Malheureusement il ne me semble pas que cela soit possible. En tout cas je ne vois pas dans l'imm&#233;diat.&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1675</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1675</guid>
		<dc:date>2016-04-13T15:01:50Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1675"
			href="https://geekographie.maieul.net/1675" />
		<dc:creator>Andr&#233; Bella&#239;che</dc:creator>
		<description>&lt;p&gt;Merci pour votre r&#233;ponse.&lt;/p&gt;
&lt;p&gt;Je me suis sans doute mal expliqu&#233;.&lt;/p&gt;
&lt;p&gt;Je voudrais simplement que xindy ne prenne pas l'initiative de cr&#233;er des intervalles l&#224; o&#249; l'auteur n'a pas indiqu&#233; d'intervalles avec les commandes |( et |), m&#234;me si la m&#234;me commande \index se retrouve aux pages 28, 29, 30, 31, et que si en revanche on donne des commandes |( et |) explicites, il en tienne compte exactement comme elles ont &#233;t&#233; entr&#233;es.&lt;/p&gt;
&lt;p&gt;J'ai vu qu'on peut emp&#234;cher xindy de couper un intervalle 28&#8212;29 &lt;strong&gt;demand&#233; explicitement avec |( et |)&lt;/strong&gt; en 28, 29 en prenant 2 pour valeur par d&#233;faut de la longueur minimum des intervalles, mais est-ce qu'alors il ne va pas cr&#233;er des intervalles 31&#8212;32, etc. chaque fois qu'il verra la m&#234;me commande \index sur deux pages cons&#233;cutives&lt;small class=&#034;fine d-inline&#034;&gt;&#160;&lt;/small&gt;?&lt;/p&gt;
&lt;p&gt;Pour les autres demandes, je ne sais pas s'il y a moyen d'y satisfaire. Si on me dit que c'est possible uniquement au moyen d'un fichier de style .xdy, je peux me lancer dans cet apprentissage. Mais s'il faut reprogrammer xindy, je renonce.&lt;/p&gt;
&lt;p&gt;&lt;span class=&#034;caps&#034;&gt;A.B.&lt;/span&gt;&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1674</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1674</guid>
		<dc:date>2016-04-13T13:02:06Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1674"
			href="https://geekographie.maieul.net/1674" />
		<dc:creator>Ma&#239;eul</dc:creator>
		<description>&lt;p&gt;Bonjour,&lt;/p&gt;
&lt;p&gt;je vous invite &#224; lire le paragraphe 4.3 du pr&#233;sent article qui vous donne tous les outils pour r&#233;gler ce genre de d&#233;tail&#8230; Ou alors je n'ai rien compris &#224; ce que vous entrez comme commande et ce que vous attendez comme sortie, ce qui est bien possible&#8230;&lt;/p&gt;</description>
	</item>
	<item>
		<title>R&#233;gler l'apparence des index avec &lt;code&gt;xindy&lt;/code&gt;</title>
		<link>https://geekographie.maieul.net/171#comment1673</link>
		<guid isPermaLink="true">https://geekographie.maieul.net/171#comment1673</guid>
		<dc:date>2016-04-13T12:51:48Z</dc:date>
		<dc:format>text/html</dc:format>
		<dc:language>fr</dc:language>
		<thr:in-reply-to type="text/html"
			ref="https://geekographie.maieul.net/1673"
			href="https://geekographie.maieul.net/1673" />
		<dc:creator>Andr&#233; Bella&#239;che</dc:creator>
		<description>&lt;p&gt;Bonjour,&lt;/p&gt;
&lt;p&gt;Je n'ai jamais &#233;crit de fichier .xdy. Je veux bien m'y mettre, mais ce serait plus facile pour moi si quelqu'un avait d&#233;j&#224; &#233;crit un fichier donnant &#224; xindy la commande simple suivante&#160;: respecter les intervalles indiqu&#233;s dans le fichier Latex, ne pas prendre l'initiative de cr&#233;er des intervalles. Je pr&#233;cise.&lt;/p&gt;
&lt;p&gt;Dans ce qui suit, j'&#233;cris 28 pour une commande index situ&#233;e page 28, (28 pour une commande d'ouverture d'intervalle page 28, et 28) pour une commande de fermeture d'intervalle page 28.&lt;/p&gt;
&lt;p&gt;Ce que je veux dire, c'est que aussi bien makeindex que xindy font, sauf erreur, la chose suivante&#160;:&lt;/p&gt;
&lt;p&gt;(28 29) produit 28, 29 au lieu de 28&#8212;29
(28 29) 30 produit 28&#8212;30 au lieu de 28&#8212;29, 30
(28 29) (30 32) produit 28&#8212;32 au lieu de 28&#8212;29, 30&#8212;32&lt;/p&gt;
&lt;p&gt;Merci pour toute aide,&lt;/p&gt;
&lt;p&gt;Andr&#233; Bella&#239;che&lt;/p&gt;</description>
	</item>

</channel>
</rss>
