emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* more than 2 indexes in org-mode -> latex
@ 2016-07-01  9:47 Sharon Kimble
  2016-07-02  7:45 ` Sharon Kimble
  0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2016-07-01  9:47 UTC (permalink / raw)
  To: org-mode-email

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


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 -

--8<---------------cut here---------------start------------->8---
#+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]
--8<---------------cut here---------------end--------------->8---

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?

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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: more than 2 indexes in org-mode -> latex
  2016-07-01  9:47 more than 2 indexes in org-mode -> latex Sharon Kimble
@ 2016-07-02  7:45 ` Sharon Kimble
  0 siblings, 0 replies; 2+ messages in thread
From: Sharon Kimble @ 2016-07-02  7:45 UTC (permalink / raw)
  To: org-mode-email

[-- 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 --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-07-02  7:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-01  9:47 more than 2 indexes in org-mode -> latex Sharon Kimble
2016-07-02  7:45 ` Sharon Kimble

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).