[OS X TeX] Index

George Gratzer via MacOSX-TeX macosx-tex at email.esm.psu.edu
Wed Jan 3 18:27:02 CET 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://tug.org/pipermail/macostex-archives/attachments/20240103/92cabe87/attachment-0001.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://tug.org/pipermail/macostex-archives/attachments/20240103/92cabe87/attachment-0001.obj>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: https://www.tug.org/mactex/faq/index.html
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/TeX/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
                https://email.esm.psu.edu/pipermail/macosx-tex/
TeX on Mac OS X Website: https://www.tug.org/mactex/index.html
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list.