[OS X TeX] Index

George Gratzer gratzer at mac.com
Wed Jan 3 12:27:02 EST 2024


I am perplexed. See this article:

---------------------------------------------------------------------------------------------------------------------------------
\documentclass{amsart}  
\usepackage{newlattice} 
\makeindex
\newcommand{\tikzname}{TiKz}
%copied from amslatex.tex \com{} makes a command
\newcommand{\bslash}{\symbol{'134}}%backslash
\newcommand{\bsl}{{\ttt{\bslash}}}
\newcommand{\com}[1]{\textup{{\ttt{\bsl#1}}}}%command \ + \texttt + textup

\begin{document}

xxx

\index{draw@\com{draw}, \tikzname{} command}%
\index{tikzname command@\tikzname{} command!\com{draw}}%

\index{draw@\com{draw}, \tikzname{} command}%
\index{tikzname command@\tikzname{} command!\com{draw}}%

\index{foreach@\com{foreach}, \tikzname{} command}%
\index{tikzname command@\tikzname{} command!\com{foreach}}%

\index{fill@\com{fill}, \tikzname{} command}%
\index{tikzname command@\tikzname{} command!\com{{fill}}}%
\index{filldraw@\com{filldraw}, \tikzname{} command}%
\index{tikzname command@\tikzname{} command!\com{{filldraw}}}%

\printindex

\end{document}
---------------------------------------------------------------------------------------------------------------------------------

The Index part, typeset is:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot 2024-01-03 at 12.25.56?PM.png
Type: image/png
Size: 75983 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20240103/92cabe87/attachment.png>
-------------- next part --------------






As you can see, the items are not in alphabetic order. 

What gives?

GG


-------------- next part --------------
A non-text attachment was scrubbed...
Name: exp.tex
Type: application/octet-stream
Size: 891 bytes
Desc: not available
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20240103/92cabe87/attachment.obj>


More information about the MacOSX-TeX mailing list