[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Make the latex export preprocessor rewrite #+INDEX to \i
From: |
Robert Goldman |
Subject: |
Re: [O] [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index. |
Date: |
Thu, 28 Apr 2011 10:23:23 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 |
On 4/28/11 Apr 28 -7:33 AM, Nick Dokos wrote:
> address@hidden wrote:
>
>> From: Robert P. Goldman <address@hidden>
>>
>> ---
>> lisp/org-latex.el | 13 +++++++++++++
>> 1 files changed, 13 insertions(+), 0 deletions(-)
>> ...
>
> Very nice! Did a small test and it works as advertised.
>
> Suggestion: maybe add an "I" easy template for it? This can be done
> per-user of course, so it is not strictly necessary and easy templates
> are experimental anyway, but it might be a good idea to reserve the "I"
> for this. Actually, it might be better to reserve "i" for this and
> shift the include to "I", since there will only be a few includes but
> potentially hundreds of index entries in a file.
I'm not sure that this is feasible. I tried doing this and as far as I
can tell the template matching is not case-sensitive. I could wrap the
string-match there in a
(let ((case-fold-search nil))
...)
but I'd like some advice from a core maintainer before doing this (I'll
check in on IRC, too).
I've got a patch ready if that's the right way to go.
cheers,
r
- [O] Translate #+INDEX to Latex \index{} on export, rpgoldman, 2011/04/28
- [O] [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index., rpgoldman, 2011/04/28
- Re: [O] [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index., Nick Dokos, 2011/04/28
- [O] Patch --- adding an easy template for #+index, rpgoldman, 2011/04/28
- Re: [O] Patch --- adding an easy template for #+index, Bernt Hansen, 2011/04/28
- Re: [O] Patch --- adding an easy template for #+index, Robert Goldman, 2011/04/28
- Re: [O] Patch --- adding an easy template for #+index, Bernt Hansen, 2011/04/28
- [O] [PATCH] Add an easy template for index (i), and move include file to I from i., rpgoldman, 2011/04/28
[O] Bug Re: [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index., Robert Goldman, 2011/04/29