Am Sonntag, den 23.10.2016, 08:42 +0200 schrieb Jürgen Spitzmüller: > Since we now have PassThruChars, it would be easy to treat the > special > characters in index entries literally (see attached patch). > > This would restore what many people seem to be accustomed to and > expect, to the extend of the (probably few) users that really want a > | > character in the index.
I have to add that the behavior is internally inconsistent at the moment. In order to get a literal ! or @, you have to escape those characters ("! and "@, respectively), only the | shows the opposite behavior. So I think the patch would increase internal consistency. On the other hand, it might further decrease external consistency, since normally, ERT is to be used to get verbatim output. In the long term, I think the ideal solution would be that all of these special characters are escaped by default (so @, | and ! really output these glyphs), and that the functions they provide in indexes (sort key, indexical hierarchy, page number formatting) are natively implemented via sub-insets. But this requires major UI work and lyx2lyx conversion/reversion. So, for the time being, I would apply the patch. Jürgen
signature.asc
Description: This is a digitally signed message part