[OS X TeX] makeidx error

Mohinish shukla at sissa.it
Sun May 1 14:06:15 CEST 2005


Hi
well, I DO use both apacite as well as indexing, and it works.. below 
the beginning of my preamble (this is for my thesis)

-Mohinish

ps: Ah! I see I've left myself a little note down there saying that 
nocite is needed for makeidx :D

(pps: Theres something funny about the subfigure package.. I dunno if 
this is important.)

----------------

\documentclass[12pt,twoside]{book}
\usepackage{latexsym,amsfonts}
\usepackage[dvips]{graphicx}
\usepackage{amsmath,amsthm,amssymb} % math stuff, with useful commmands
\usepackage{verbatim}
\usepackage{multirow} % for making tables with multiple rows collapsed 
into 1
\usepackage{rotating} % to try and rotate a table.
\usepackage{tipa}
\usepackage{qtree} % To generate linguistic trees
\usepackage{gb4e}  % For linguistic examples
\usepackage{setspace}
\usepackage{fancyhdr}
\usepackage{varioref}
\usepackage{titleref}
\usepackage[it,small]{caption2}
\usepackage{epigraph}
\usepackage[noindex,notocbib]{apacite} % The nocite option is imp. to 
be able to use makeidx to generate an index
\usepackage{makeidx}
\usepackage{dropping} % For dropped caps starting chapters
\makeindex




On 1 May 2005, at 2:37 AM, John Vokey wrote:

> Bruno and Mohinish,
>   Thank you.  apacite (as opposed to apacitex) is supposed to be an 
> indexless version (at least according to the documentation): the 
> [noindex] option, again according to the documentation, is supposed to 
> used to turn author indexing off in apacitex, but be non-functional 
> (although harmless) in apacite.  Apparently not.
>
>   However, it doesn't work in any case.  It still throws the same 
> fatal error at \printindex, apparently no matter what I do.  I'll 
> contact Erik Meijer, the author.
>
> On 30-Apr-05, at 6:00 PM, TeX on Mac OS X Mailing List wrote:
>
>> Hi,
>> indeed, apacite messes up makeidx.
>>
>> you should use apacite with the [noindex] option for makeidx to work
>>
>> (sorry if this is late, I was away)
>> Mohinish
>>
>>
>> On 28 Apr 2005, at 3:24 AM, Bruno Voisin wrote:
>>
>>> 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
> --
> John R. Vokey, PhD
> Professor
> B.E.R.G. - Behaviour and Evolution Research Group
> Micro-Cognition Laboratory
> Department of Psychology & Neuroscience
> University of Lethbridge
> Lethbridge, Alberta T1K 3M4
> CANADA
>
> --------------------- 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>
>

--------------------- 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 macostex-archives mailing list