[NTG-context] underscore in index entry
Marco
netuse at lavabit.com
Wed Jul 7 06:57:36 CEST 2010
On Tue, 6 Jul 2010 20:46:09 -0400, Shiv Shankar Dayal
<shivshankar.dayal at gmail.com> wrote:
> Hi,
>
> I tried to put _ in index entry and am unable to do it. I tried
> following 1. \index{_shiv} 2. \index{\type{_shiv}} 3.
> \index{\textunderscore{} shiv}
_ is a special character for TeX. You can change this behaviour globally with
\nonknuthmode or you can escape the _ locally by using the backslash.
\nonknuthmode
\starttext
\placeindex
Hello\index{huhu}
\stoptext
or
\starttext
\placeindex
Hello\index{_huhu}
\stoptext
both work for me.
Marco
More information about the ntg-context
mailing list