[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Indexing | (vertical bar) in LaTeX output

From: Gavin Smith
Subject: Indexing | (vertical bar) in LaTeX output
Date: Sun, 2 Oct 2022 12:52:04 +0100

The groff manual indexes "\|" which is output in the LaTeX output as


However this leads to an error: 

! Extra }, or forgotten \endgroup.
<recently read> }
l.72   \item \texttt{\textbackslash{}|}}
                                        , 186

es.idx has a line


which becomes in es.ind

  \item \texttt{\textbackslash{}|}}, 186

" is supposed to escape the first | but this doesn't work properly.

The only thing I could find is this page from 2014:


but this only treats | in the math context.  A commenter there says it
"confuses hyperref".

The "hyperindexformat" texts appears to be something added by hyperref.

Does anybody know (or know where we could ask) how to escape a | character
in an index entry correctly?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]