I would like to use use index entry for factorial and i need to use $!$ in it. But exclamation mark is reserved for xindy to markup subitems, so this will not work
Since LaTeX writes the .idx file verbatim, I'd say it is the other way around.
– egregFeb 08 '17 at 09:13
@egreg how, certain chars are special in index context in LaTeX. Where did I get my wording wrong?
– daleifFeb 08 '17 at 10:03
The ! is by no means special for LaTeX. It is Xindy that considers it special.
– egregFeb 08 '17 at 10:09
@egreg it is also special in makeindex it is not just in xindy, that is what I'm refering to.
– daleifFeb 08 '17 at 10:20
1
“Observe that ! is special for MakeIndex and Xindy, so that \index{a!b} can be used for making a subitem; in this case you want to avoid that MakeIndex or Xindy interpret ! in that way, so you need to escape it.”
– egregFeb 08 '17 at 10:26
1
Note that ! could be changed into any character you wish, by means of a MakeIndex or Xindy style.
– egregFeb 08 '17 at 10:44
@egreg Sorry to ask, but how to change ! into another character by a Xindy style? I know how to do this in a MakeIndex style, but I have no idea how to achieve this in a Xindy style. It looks contradict with https://tex.stackexchange.com/questions/257191/transfer-a-makeindex-example-to-a-xindy-example
– Gau-SyuMay 16 '23 at 21:05
@Gau-Syu Sorry, I don't know. I'd go to the manual of Xindy, if it existed.
– egregMay 16 '23 at 21:21
!is by no means special for LaTeX. It is Xindy that considers it special. – egreg Feb 08 '17 at 10:09makeindexit is not just inxindy, that is what I'm refering to. – daleif Feb 08 '17 at 10:20!is special for MakeIndex and Xindy, so that\index{a!b}can be used for making a subitem; in this case you want to avoid that MakeIndex or Xindy interpret!in that way, so you need to escape it.” – egreg Feb 08 '17 at 10:26!could be changed into any character you wish, by means of a MakeIndex or Xindy style. – egreg Feb 08 '17 at 10:44!into another character by a Xindy style? I know how to do this in a MakeIndex style, but I have no idea how to achieve this in a Xindy style. It looks contradict with https://tex.stackexchange.com/questions/257191/transfer-a-makeindex-example-to-a-xindy-example – Gau-Syu May 16 '23 at 21:05