From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: more than 2 indexes in org-mode -> latex Date: Sat, 02 Jul 2016 08:45:21 +0100 Message-ID: <87vb0oqy9a.fsf@skimble.plus.com> References: <87a8i11yh1.fsf@skimble.plus.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJFcN-000516-UL for emacs-orgmode@gnu.org; Sat, 02 Jul 2016 03:45:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bJFcJ-0004ns-FU for emacs-orgmode@gnu.org; Sat, 02 Jul 2016 03:45:34 -0400 Received: from avasout01.plus.net ([84.93.230.227]:60316) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bJFcJ-0004ne-9B for emacs-orgmode@gnu.org; Sat, 02 Jul 2016 03:45:31 -0400 In-Reply-To: <87a8i11yh1.fsf@skimble.plus.com> (Sharon Kimble's message of "Fri, 01 Jul 2016 10:47:38 +0100") 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" To: org-mode-email --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Sharon Kimble 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=3DIndex,options=3D-s ./index.ist,columns= eprule,intoc] > #+latex_header: \makeindex[name=3Dps,title=3DIndex of Symptoms,options=3D= -s ./index.ist,columnseprule,intoc] > # #+latex_header: \makeindex[name=3Dse,title=3DIndex of Side-effects,opti= ons=3D-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 - =2D-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=20 l.34 \newwrite \g__morewrites_iow =2D-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. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.4, fluxbox 1.3.7, emacs 25.0.95 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJXd3ERAAoJEDaBgBkK+INbWEMP/3naQe02hFHwic86+dUK/DuR +9C3jOZpqca69iJFo3srvLoUQhF20lLB3lFNXO6ouXPdfIZbv1CkqCnBwO9ecwZA jnuxyRcCmhN/T6MRRF0HTwz7qxfqk4CwaNgueQndVTEiL6kmfSUisLTmzDDOVP9R 2orjsVNF32VyuyOYkEuKFcHfoEz0vFf8jSWI1HS3Il6umHq599KeZ3Dne5h1fNwg QxvAWfr64oZhyl43fa6Sb0IjgKzRQqO15sQEIlEEue3HrUJ4zqU2yiTKzAl5n6uY fF8tjTWqqM1BjU0uzoVH4TR0AcY4Mv5usweF58mTO2jpfOLjIMn/xipvGRBYiNj+ xbxkRGIt840YRSaeKOy8GIdfTHmbyhKybvznCLUKoeD3T9/NYayxc+yj2ENI+KDr XYHph8WC8WTzhPd5fxWItM1RpYiS2buVgkBb35cS3xRpcIFJwtUCF4e0xhEZA7XR e52W6BK3FX6SPukk1dyoJEMQjLoBImXEQFwdNsyaex4jl21MSB0vUcZ3vDTlXKxE X2Mbn2FVMRoLfhpK15MTmBkERRflhn6L20KbIJi5QTknaxG1/svQEAcdHebAK5U8 ZJHeVsuyIbjqjP8xbYt+FcBwneoWS4Lg8uGnLqZOF7VDwXcpsrl7H8fGADJ2G6K6 uVe6lo5C2cU2Ep171Z49 =hkMe -----END PGP SIGNATURE----- --=-=-=--