From: Robert Goldman <rpgoldman@real-time.com>
To: nicholas.dokos@hp.com
Cc: emacs-orgmode@gnu.org, rpgoldman@sift.info
Subject: Re: [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index.
Date: Thu, 28 Apr 2011 10:23:23 -0500 [thread overview]
Message-ID: <4DB9866B.2080107@real-time.com> (raw)
In-Reply-To: <10844.1303994001@alphaville.dokosmarshall.org>
On 4/28/11 Apr 28 -7:33 AM, Nick Dokos wrote:
> rpgoldman@sift.info wrote:
>
>> From: Robert P. Goldman <rpgoldman@real-time.com>
>>
>> ---
>> 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
next prev parent reply other threads:[~2011-04-28 15:23 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-28 11:47 Translate #+INDEX to Latex \index{} on export rpgoldman
2011-04-28 11:47 ` [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index rpgoldman
2011-04-28 12:33 ` Nick Dokos
2011-04-28 15:23 ` Robert Goldman [this message]
2011-04-28 15:29 ` Robert Goldman
2011-04-28 15:38 ` Patch --- adding an easy template for #+index rpgoldman
2011-04-28 19:11 ` Bernt Hansen
2011-04-28 19:59 ` Robert Goldman
2011-04-28 21:31 ` Bernt Hansen
2011-04-28 15:38 ` [PATCH] Add an easy template for index (i), and move include file to I from i rpgoldman
2011-05-04 7:49 ` [Accepted] " Carsten Dominik
2011-04-29 21:45 ` Bug Re: [PATCH] Make the latex export preprocessor rewrite #+INDEX to \index Robert Goldman
2011-05-04 7:59 ` [Accepted] " Carsten Dominik
2011-05-04 15:08 ` Robert Goldman
2011-05-04 22:36 ` Carsten Dominik
2011-05-04 22:46 ` Robert Goldman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4DB9866B.2080107@real-time.com \
--to=rpgoldman@real-time.com \
--cc=emacs-orgmode@gnu.org \
--cc=nicholas.dokos@hp.com \
--cc=rpgoldman@sift.info \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.