[OS X TeX] Indexing '&'

Alain Schremmer Schremmer.Alain at verizon.net
Sun Dec 5 22:05:00 EST 2004


I forgot to mention that while \& will of course work in the index at 
the back Showidx then shows

    "&        (with the double quote on the left)

in the margin.

It looks as if Showidx does not use the ind file.

Regards
--schremmer


Herb Schulz wrote:

>On 12/5/04 8:08 PM, "Alain Schremmer" <Schremmer.Alain at verizon.net> wrote:
>
>  
>
>>I am having another small problem. I would like the ampersand, &, to
>>appear in the index but Makeindex does not like it: It stops there and,
>>when I Typeset LaTeX, the console objects as follows:
>>
>>  )(./Title.ind[139]
>>  !Misplaced alignment tab character &.
>>  1.3    \item &
>>                  , 7
>>
>>where 7 is the page on which '&' appears in the book called 'Title'.
>>
>>But if I run Makeindex with, say, \index{blurb}, it indexes of course
>>'blurb' as entry 139 (out of 155) and, since, I am using Showidx,
>>'blurb' shows also in the margin but, when I then replace 'blurb' by '&'
>>and typeset LaTeX, 'blurb' is indeed replaced by '&' in the margin with
>>no objection from the console but not in the index at the back of the
>>book where 'blurb' remains.
>>
>>
>>Regards
>>--schremmer
>>    
>>
>
>Howdy,
>
>The `&' is indeed a special character so use `\&' to produce it in text.
>Hope that solves the problem.
>
>Good Luck,
>
>Herb Schulz
>(herbs at wideopenwest.com)
>
>--------------------- 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 MacOSX-TeX mailing list