[OS X TeX] \langle does not display as such in the Index

Alain Schremmer schremmer.alain at gmail.com
Mon Feb 1 06:04:58 CET 2016


Sorry it took me so long to respond: The problem turned out actually to be more complicated than I had thought and I hope that the attached "minimal example" will clarify the circumstances under which \cup works while \langle does not.

Best regards
--schremmer


-------------- next part --------------
A non-text attachment was scrubbed...
Name: MakeindedVsShowindex.tex.zip
Type: application/zip
Size: 2341 bytes
Desc: not available
URL: <http://tug.org/pipermail/macostex-archives/attachments/20160201/5853be65/attachment.zip>
-------------- next part --------------



On , at 2016 Jan 23,9:03 PM, Herbert Schulz wrote:

>> On Jan 23, 2016, at 7:23 PM, Alain Schremmer <schremmer.alain at gmail.com> wrote:
>> 
>> 
>> On , at 2016 Jan 23,7:31 PM, Herbert Schulz wrote:
>> 
>>>> On Jan 23, 2016, at 5:39 PM, Alain Schremmer <schremmer.alain at gmail.com> wrote:
>>>> 
>>>> I am proofreading a bit and just noticed that: 
>>>> 
>>>> \langle displays correctly under showidx but under makeidx displays   hA   
>>>> and 
>>>> \rangle displays correctly under showidx but under makeidx  displays   A with a little cup on top followed by B
>>>> 
>>>> Similarly, 
>>>> 
>>>> \left \langle displays correctly with showidx but under makeidx displays CircleCross A
>>>> and
>>>> \right \rangle displays correctly under showidx but under makeidx displays a dropped A with a little cup on top followed by B
>>>> 
>>>> 
>>>> I am using
>>>> 
>>>> 			\let\oldopenparen\(%
>>>> 			\let\oldcloseparen\)%
>>>> 			\newcommand{\INDEX}[1]{\def\({\protect\oldopenparen}\def\){\protect\oldcloseparen}\index{#1}}
>>>> 
>>>> which works fine with every other symbols.
>>>> 
>>>> Puzzled regards
>>>> --schremmer
>>> 
>>> Howdy,
>>> 
>>> What are you trying to do?
>> 
>> Indexing math symbols which works fine except for \rlangle and \langle
>> 
>>> Are you including the \rlangle and \langle in math mode?
>> 
>> Yes
>> 
>> Regards
>> --schremmer
> 
> Howdy,
> 
> Have you tried
> 
> \index{{\(\angle\)}} or \index{$\langle$}? It seems to work fine for the makeidx package for me.
> 
> %%!TEX TS-program = pdflatexmk
> \documentclass{article}
> \usepackage{makeidx}
> \makeindex
> \begin{document}
> Here's an indexed item; \(\langle\)\index{\(\langle\)}.
> \printindex
> \end{document}
> 
> Good Luck,
> 
> Herb Schulz
> (herbs at wideopenwest dot com)
> 
> 
> 
> 
> 
> 
> 
> ----------- Please Consult the Following Before Posting -----------
> TeX FAQ: http://www.tex.ac.uk/faq
> List Reminders and Etiquette: https://www.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: http://mactex-wiki.tug.org/
> List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://www.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: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex


More information about the macostex-archives mailing list