yochju / latex-makefile

Automatically exported from code.google.com/p/latex-makefile
Other
0 stars 0 forks source link

nomenclature list creation (makeindex) not working in Makefile v. 2.2.0? #129

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hi Chris,

First, thanks so much for your work on this Makefile.  It's been a big time 
saver as I work on my dissertation.  I just started using v. 2.2.0 a couple of 
days ago.

One thing I've noticed is that my documents that use the nomenclature package 
(nomencl.sty) are not compiling as they used to under v. 2.1.43.

For the attached file, issuing the "make" command using v. 2.1.43, does 
everything, including the makeindex command to create the "foo.nls" 
nomenclature list, that is then included in the document.

Using v. 2.2.0, the "foo.nls" file is not created, and thus the final document 
does not contain the nomenclature list.

I looked through shell-debug output using v. 2.2.0, but I don't understand 
enough about what the output meant to determine whether makeindex was called, 
or if not, why not.

Looking at a diff between 2.1.43, and 2.2.0, I can see that the line that calls 
MAKEINDEX is changed somewhat, but right now, I don't understand enough about 
the shell syntax to debug.

My LaTeX installation is pretty much straight TeXLive 2010 on Ubuntu 10.04.

Thanks again, Chris!
-Chas

Original issue reported on code.google.com by charles....@gmail.com on 10 May 2011 at 9:20

Attachments:

GoogleCodeExporter commented 9 years ago
Interesting.  It is creating a .nlo file with the following contents:

\nomenclatureentry{aSNAFU@[{SNAFU}]\begingroup Something messed up\nomeqref 
{0}|nompageref}{1}                                                              

\nomenclatureentry{aFUBAR@[{FUBAR}]\begingroup Something really messed 
up\nomeqref {0}|nompageref}{1}

Is this perhaps a filename issue?  Is the extension wrong now?

Original comment by shiblon on 11 May 2011 at 2:57

GoogleCodeExporter commented 9 years ago
I just found the problem.  Facepalm.

The nls file was depending on the .nlo file and on nomencl.ist.  If that wasn't 
in the current directory, it was silently failing.  Now it depends on the 
result of kpsewhich nomencl.ist first, which is more sensible.  Note that 
providing a local one will still override the global one, but the make 
dependencies don't really care about that.

Try out the attached and let me know how it goes.

Original comment by shiblon on 11 May 2011 at 3:08

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks so much!  This fix worked like a champ!  I hadn't thought of the 
nomencl.ist style file; my documents just use the default one in the texmf 
directory tree.

Original comment by charles....@gmail.com on 11 May 2011 at 6:24

GoogleCodeExporter commented 9 years ago
Yay!  I'm uploading the new version, now.

Original comment by shiblon on 11 May 2011 at 8:19