all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Charles Millar <millarc@verizon.net>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: use #+INDEX: for multiple indices latex export
Date: Tue, 08 Nov 2016 15:24:09 -0500	[thread overview]
Message-ID: <1ec09d8c-59b6-976b-cfb2-7bafb0a97a10@verizon.net> (raw)

Hi,

Given as a very minimal example

#+latex_header: \usepackage{imakeidx}
#+latex_header: \makeindex[title=INDEX]
#+latex_header: \makeindex[name=foo, title=FOOINDEX]

is it possible to generate multiple indices using #+INDEX:

just as

* some heading on page 1
#+latex: \index[foo]{bar}

* some heading on page 2
#+latex: \index{baz}

#+latex: \printindex[foo]
#+latex: \printindex

will give

FOOINDEX

bar, 1

. . . .

INDEX

baz, 2

Charlie Millar

                 reply	other threads:[~2016-11-08 20:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1ec09d8c-59b6-976b-cfb2-7bafb0a97a10@verizon.net \
    --to=millarc@verizon.net \
    --cc=emacs-orgmode@gnu.org \
    /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.