emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[O] Translate #+INDEX to Latex \index{} on export


From: rpgoldman
Subject: [O] Translate #+INDEX to Latex \index{} on export
Date: Thu, 28 Apr 2011 06:47:22 -0500

The following email contains a patch that will cause the latex export
preprocessor to rewrite #+INDEX: lines in an org file into LaTeX style
\index{} entries.

As far as I can tell, this should be The Right Thing --- latex doesn't seem
to do anything bad if there are index entries without makeindex.  So no
downside.  And it doesn't seem right to have to do #+INDEX for HTML export
and #+LATEX: \index{} for latex export.

I believe that this should be complemented by some additional code that
would:

1. Add code to turn on and off index generation and appropriately add the
makeindex package and the \makeindex

2. Possibly add code to turn /off/ this translation in the case where the
user wishes to have HTML and Latex documents indexed differently.

Cheers,
r



reply via email to

[Prev in Thread] Current Thread [Next in Thread]