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

Ted Rolle Jr. stercor at gmail.com
Mon Oct 18 16:38:09 CEST 2010


I'll be happy to take this to the LaTeX mailing list.  I looked for it but
couldn't find it.  So, if someone could spin me around and point me in the
right direction \ldots

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20101018/bc46a3bd/attachment.html>


More information about the texhax mailing list