[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] formatted index entries
From: |
Nicolas Berthier |
Subject: |
Re: [O] formatted index entries |
Date: |
Wed, 18 Jun 2014 16:02:06 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) |
You wrote:
> Hello,
>
> Nicolas Berthier <address@hidden> writes:
>
>> IMHO, the handling of Org markups (at least) by the LaTeX exporter (and
>> maybe others) would suffice to implement this feature (with a few tricks
>> to still allow sorting by makeindex). Am I right?
>
> Handling Org markup in the general case is difficult because INDEX
> keywords, as any other keyword, are not parsed. You can force latex
> back-end to translate the value of the keyword for a partial support of
> Org markup (e.g., no macros besides those defined by default, no noweb
> syntax in Babel).
>
> If that sufficient, you can ask `org-latex-keyword' to first split value
> at exclamation marks, and send each part through `org-export-string-as'
> in order to get valid LaTeX markup.
Ok thanks for the hints. I will probably hack something soon an send
a patch for support of basic inline markups, in case people are
interested.
Regards,
--
Nicolas Berthier FSF Member #7975