From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Making an index in latex export --- surprisingly difficult Date: Tue, 26 Apr 2011 19:14:01 -0400 Message-ID: <6699.1303859641@alphaville.americas.hpqcorp.net> References: <4DB73482.5010608@sift.info> <6174.1303854727@alphaville.americas.hpqcorp.net> <4DB74011.2020600@sift.info> Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:41075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QErSG-0001vd-Lh for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 19:14:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QErSF-0003Jd-Ix for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 19:14:04 -0400 Received: from g5t0007.atlanta.hp.com ([15.192.0.44]:22134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QErSF-0003JZ-Dc for emacs-orgmode@gnu.org; Tue, 26 Apr 2011 19:14:03 -0400 In-Reply-To: Message from Robert Goldman of "Tue, 26 Apr 2011 16:58:41 CDT." <4DB74011.2020600@sift.info> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: rpgoldman@sift.info Cc: nicholas.dokos@hp.com, Org Mode Robert Goldman wrote: > >> 2. put in \index commands (I don't /believe/ #+INDEX works, but I could > >> be wrong) > > Am I right about #+INDEX not being translated in the latex back end (it > seems not to work, but it's hard to verify a negative)? > Seems to be a publishing thingie only. Adding a publishing project --8<---------------cut here---------------start------------->8--- ... ("foo" :base-directory "~/src/org/latex/index/" :publishing-directory "~/src/org/latex/index" :publishing-function org-publish-org-to-latex :makeindex t ) ... --8<---------------cut here---------------end--------------->8--- to org-publish-project-alist and publishing the following org file --8<---------------cut here---------------start------------->8--- #+INDEX: foo * this is a test of foo --8<---------------cut here---------------end--------------->8--- generates \index{foo} in the TeX file. Nick > If so, would this be hard to fix? If it wouldn't, seems like that would > be A Good Thing. >