[OS X TeX] makeidx error

Bruno Voisin bvoisin at mac.com
Wed Apr 27 21:24:53 EDT 2005


Le 28 avr. 05, à 02:50, John Vokey a écrit :

> I am baffled.  The only other packages I am loading are:
> \usepackage[pdftex]{graphicx}
> \usepackage{longtable,apacite,rotating,picinpar}
>
> none of which should redefine \printindex

One does, indirectly: apacite.sty (not a standard part of gwTeX, you  
must have got it from CTAN) calls index.sty in which you find

> \def\printindex{\@ifnextchar[{\@printindex}{\@printindex[default]}}
>
> \def\@printindex[#1]{%
>     \@ifnextchar[{\@print at index[#1]}{\@print at index[#1][]}%
> }
>
> \long\def\@print at index[#1][#2]{%
>     \def\@indextype{#1}%
>     \long\def\index at prologue{#2}%
>     \@ifundefined{idx@#1}%
>         {\@latexerr{Index type `\string#1' undefined}\@ehc}%
>         {%
>             \edef\@tempa{\@nameuse{idx@#1}}%
>             \edef\@tempa{%
>                  
> \noexpand\@input@{\jobname.\expandafter\@second\@tempa\@nil}%
>             }%
>             \@tempa
>         }%
> }

This applies to CTAN's version  
<http://www.ctan.org/tex-archive/macros/latex/contrib/apacite/ 
apacite.sty> of 2004/07/01.

Bruno Voisin

--------------------- Info ---------------------
Mac-TeX Website: http://www.esm.psu.edu/mac-tex/
           & FAQ: http://latex.yauh.de/faq/
TeX FAQ: http://www.tex.ac.uk/faq
List Post: <mailto:MacOSX-TeX at email.esm.psu.edu>





More information about the MacOSX-TeX mailing list