[texhax] \index command to use my page numbers.

Uwe Lueck uwe.lueck at web.de
Mon Oct 18 18:38:44 CEST 2010


"Ted Rolle Jr." <stercor at gmail.com>, 18.10.2010 16:38:09
> In reviewing my question, I saw that there were many unclosed issues.  
> Here is a more complete description of the problem:
>
> Here is my ``Page'' code:
> 
> \begin{document}
>
> \newcounter{Page}
>
> \newcommand{\Page}          {\addtocounter{Page}{1}\color{Blue}[\arabic{Page}]}
> .
> .
> .
> Latex source:
> ...luminous smile.
> {\Page}%0044.tex
> \index{Gnus!gnats!armadillos}
> ``I'm not depending...
>
> pdflatex output:
>
> luminous smile. [44]"I'm not depending
>
> This reference occurs, and LaTeX indexes it, on page 21 of the .pdf.
>  Gnus
>   gnats
>    armadillos, 21
> 
> I'd like to see an index entry of,
> Gnus
>  gnats
>   armadillos, 44.

Then my previous suggestions do apply, at least when you replace \index by \Index. 

In order to avoid this replacement, 

    \let\Index\index 

and interchange \index and \Index in my suggestions. 

HTH -- Uwe.


More information about the texhax mailing list