Jürgen Spitzmüller wrote: > The attached series of patches address this problem. The first basic patch > (idx.diff) assures that the active characters ("|", "!", and "@") are > output in plaintext even if they are in an ERT. Our sorting algorithm > relies on this. > > The other two patches provide two alternative ways that deal with Steve's > original problem: > > * idx+a.diff assures that lyx2lyx wraps "|" characters in ERT. This is the > more coherent approach IMHO, since "|" is not natively supported, but > plain LaTeX. Additionally, some documentation would be needed. > > * idx+b.diff implements what Steve suggested: "|" are always output > verbatim inside index insets. This is more intuitive to users probably, > but it does the "LyX"/"LaTeX"-kind of magic we'd actually like to avoid. > > Opinions?
Since there were none, I committed the approach preferred by myself (idx.diff and idx+a.diff). Jürgen