emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sharon Kimble <boudiccas@skimble.plus.com>
To: org-mode-email <emacs-orgmode@gnu.org>
Subject: Re: more than 2 indexes in org-mode -> latex
Date: Sat, 02 Jul 2016 08:45:21 +0100	[thread overview]
Message-ID: <87vb0oqy9a.fsf@skimble.plus.com> (raw)
In-Reply-To: <87a8i11yh1.fsf@skimble.plus.com> (Sharon Kimble's message of "Fri, 01 Jul 2016 10:47:38 +0100")

[-- Attachment #1: Type: text/plain, Size: 1748 bytes --]

Sharon Kimble <boudiccas@skimble.plus.com> writes:

> How many indexes can you have in an org-mode document exported to latex?
> My experience shows 2! So how can I have 3, or more please?
>
> This is the relevant part, I think, of my preamble of my file -
>
> #+latex_header: \usepackage{imakeidx}
> #+latex_header: \makeindex[title=Index,options=-s ./index.ist,columnseprule,intoc]
> #+latex_header: \makeindex[name=ps,title=Index of Symptoms,options=-s ./index.ist,columnseprule,intoc]
> # #+latex_header: \makeindex[name=se,title=Index of Side-effects,options=-s ./index.ist,columnseprule,intoc]
>
> I can have any choice of 2, but not 3 as I would like.
>
> In a 'straight' latex file using the above commands I can have 3 or
> more, so how do I get it to allow 3 or more in org-mode please?
>

Answering my own question and saying you've made a cock-up! I'm using
the 'morewrites' package and if you include it after setting up the
indexes you will get this result with using 3 indexes -

--8<---------------cut here---------------start------------->8---
(/usr/local/texlive/2016/texmf-dist/tex/latex/morewrites/morewrites.sty
(/usr/local/texlive/2016/texmf-dist/tex/latex/morewrites/primargs.sty)
! No room for a new \write.
\e@ch@ck ...message {No room for a new \string #4}
                                                  \fi \fi 
l.34 \newwrite \g__morewrites_iow
--8<---------------cut here---------------end--------------->8---

But if you put morewrites before the index setup, then 3 or more indexes
work perfectly well, with absolutely zero problems.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
Debian 8.4, fluxbox 1.3.7, emacs 25.0.95

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 818 bytes --]

      reply	other threads:[~2016-07-02  7:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-01  9:47 more than 2 indexes in org-mode -> latex Sharon Kimble
2016-07-02  7:45 ` Sharon Kimble [this message]

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87vb0oqy9a.fsf@skimble.plus.com \
    --to=boudiccas@skimble.plus.com \
    --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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).