Hello, this is an answer to an old LaTeX bug (see LaTeX bug database). Unhappily I can't write an answer to the LaTeX bug system. After three failed tries I have to use this list for that. Please update the help text in the database: * How to answer to a bug entry? * Which email address(es)? Probably: [log in to unmask] Anything else? How is the bug reporter is notified, if the answering person is different? * From address? Is any address allowed or it is limited to the bug reporter and authorisized people (LaTeX team)? * Subject? I have seen Re: <category>/<number> and Re: <category>/<number>: <synopsis> * Are there delays in the processing of mails send to the bug database regarding answers (cronjob, moderation, ...)? For bug latex/3540 there are workarounds: A workaround with e-TeX: \expandafter\DoNotIndex \expandafter{\detokenize{\#,\$,\%,\^,\_,\~,\ ,\&,\{,\}}} Workaround without e-TeX: \begingroup \def\x{\#,\$,\%,\^,\_,\~,\ ,\&,\{,\}}%^^A \makeatletter \@onelevel@sanitize\x \expandafter\endgroup \expandafter\DoNotIndex\expandafter{\x} or for just one of them: \expandafter\DoNotIndex\expandafter{\string\{} \expandafter\DoNotIndex\expandafter{\string\}} More tricky is `\ ', because the space has catcode 12 during the matching. \begingroup \makeatletter \lccode`9=32\relax \lowercase{%^^A \edef\x{\noexpand\DoNotIndex{\@backslashchar9}}%^^A }%^^A \expandafter\endgroup\x Most of them (except \{ and \}) could be catched in \DoNotIndex of doc.sty by changing \def\DoNotIndex{% \begingroup \MakePrivateLetters \catcode`\\12 % \do@not@index } to \def\DoNotIndex{% \begingroup \MakePrivateLetters \let\do\@makeother \dospecials \catcode`\{=1 % \catcode`\}=2 % \do@not@index } Yours sincerely Heiko Oberdiek