Am 15.05.19 um 11:02 schrieb Fraga, Eric:
> On Tuesday, 14 May 2019 at 23:58, Robert Love wrote:
>> However, I have one hitch.  How do I generate an index with an entry
>> that has an “@“ symbol in it?
>
> Unfortunately, this is beyond my latex-fu.  May have something to do
> with @ being a protected symbol.  If you want to play, you could try
>
> #+index: {\makeatletter @} term
>
> but this could lead you down a rabbit hole.  Not sure how org & LaTeX &
> makeindex will interact...

I think the main reason is the fact that @ has special meaning within
index entries: it tells where to put something for cases where the
automatical sorting fails.

I just googled and found the following advice:

»In order to place values with !, @, or |, which are otherwise escape
characters, in the index, one must quote these characters in the \index
command by putting a double quotation mark (") in front of them, and one
can only place a " in the index by quoting it (i.e., a key for " would
be \index{""}).

This rule does not hold for \", so to put the letter ä in the index, one
may still use \index{a@\"{a}}.«

So perhaps

#+index: "@term

works?

HTH,

Julius

Reply via email to