Problem w/ LaTeX output (makeindex) from my scripts

445 views
Skip to first unread message

Stéphane LELAURE

unread,
Oct 22, 2011, 1:03:57 PM10/22/11
to geditcom-ii...@googlegroups.com
Updating from TeX live 2009 to TeX live 2011, I now have an issue with
makeindex in the latter version of LaTeX.

Here is the message I get in the script window:

lstat(./makeindex) failed ...
./makeindex: No such file or directory
warning: kpathsea: configuration file texmf.cnf not found in these
directories:
$SELFAUTOLOC:$SELFAUTODIR:$SELFAUTOPARENT:$SELFAUTOLOC/share/texmf-local/web
2c:$SELFAUTODIR/share/texmf-local/web2c:$SELFAUTOPARENT/share/texmf-local/we
b2c:$SELFAUTOLOC/texmf-local/web2c:$SELFAUTODIR/texmf-local/web2c:$SELFAUTOP
ARENT/texmf-local/web2c:$SELFAUTOLOC/share/texmf/web2c:$SELFAUTODIR/share/te
xmf/web2c:$SELFAUTOPARENT/share/texmf/web2c:$SELFAUTOLOC/texmf/web2c:$SELFAU
TODIR/texmf/web2c:$SELFAUTOPARENT/texmf/web2c.

makeindex: Not writing to /Users/slelaure/Documents/Documents/Docs
généalogiques/people.ind (openout_any = p).
Can't create output index file /Users/slelaure/Documents/Documents/Docs
généalogiques/people.ind.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1
...]


As you may have noticed, the problem comes from makeindex not creating the
.ind files from the .idx ones (which have been successfully created). The
tex file is OK, the PDF simply doesn't show the indices.

The same problem arises if I run makeindex from the terminal.

I have googled around for a solution but what I have found is incomplete. It
happens that TeX live 2011 (and probably 2010 before that) have changed
something in the openout command to prevent the creation of unwanted files.
The solution I have found is to add:
openout_any = r
to the texmf.cnf file in the usr/local/texlive/2011 folder. This works fine
with the terminal now, but that solution doesn't seem to be working when I
run the EGT LaTeX script, for instance. I had to revert to MacTeX 2009
(which I thankfully kept) to successfully manage to have a full output.

Would someone know a way to alter the "do shell script" instructions in the
scripts in order to solve the problem?

Thanks in advance.

--
Stéphane LELAURE

John Nairn, Developer

unread,
Oct 23, 2011, 2:04:11 PM10/23/11
to GEDitCOM II Discussions
I checked my GEDitCOM II development Mac and it has texlive 2008. I
will have to try an update to see what happens.

I would think that changes made in the texlive installation (e.g., in /
usr/local/texlive/20xx) should affect all calls by the shell script.
Did you change that file in all installations?

Another alternative is to find a parameter to the make index shell
command that appeared in new versions of texlive.

Stéphane LELAURE

unread,
Oct 23, 2011, 2:18:00 PM10/23/11
to geditcom-ii...@googlegroups.com
le 23/10/11 20:04, John Nairn, Developer à jo...@geditcom.com a écrit :

> I checked my GEDitCOM II development Mac and it has texlive 2008. I
> will have to try an update to see what happens.

Good idea.

>
> I would think that changes made in the texlive installation (e.g., in /
> usr/local/texlive/20xx) should affect all calls by the shell script.
> Did you change that file in all installations?

As I wrote, I have added the following instruction:
openout_any = r
to the texmf.cnf file which is located in the usr/local/texlive/2011 folder.
Unfortunately, it didn't work with the scripts, although it worked in the
terminal.

> Another alternative is to find a parameter to the make index shell
> command that appeared in new versions of texlive.

Gosh, I don't know how to do that! I'm not a TeX specialist.

--
Stéphane LELAURE

Reply all
Reply to author
Forward
0 new messages