yochju / latex-makefile

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

Add Support for nomencl package #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add \usepackage{nomencl} and \makenomenclature lines to preamble of 
document 
2. add \printglossary where i want the List of Abbreviations
3. finally, add \nomenclature{OSI}{Open Systems Interconnect} or similar 
abbrv inside document

Make files doesn't handle the procedure for generating the right 
Nomenclature. see documentation for nomencl package for details.

What version of the product are you using? On what operating system?
I'm using the latest LaTeX Makefile Version 2.1.34 on uptodate ubuntu 
karmic koala.

Please provide any additional information below.

a snippet from the nomencl.pdf documentation

2 Usage
2.1 The Basics
The creation of the nomenclature list is very similar to the creation of an
index [6, App. A]. You need to:
• Put \usepackage[options]{nomencl} in the preamble of your doc-
ument.
• Put \makenomenclature in the preamble of your document.
• Issue the \nomenclature command (see Section 2.2) for each symbol
you want to have included in the nomenclature list. The best place
for this command is immediately after you introduce the symbol for
the first time.
• Put \printnomenclature at the place you want to have your nomen-
clature list.
Now put your file through L ATEX. The command \makenomenclature
will instruct L ATEX to open the nomenclature file filename.nlo corre-
sponding to your L ATEX file filename.tex and to write the information
from your \nomenclature commands to this file.
The next step is to invoke MakeIndex. You should instruct MakeIndex
to use filename.nlo as your input file, use nomencl.ist as your style
file1, and write output to the file filename.nls. How to do this depends
on your implementation of MakeIndex. For most UNIX implementations
you should write something like

          makeindex filename.nlo -s nomencl.ist -o filename.nls

Now you have the file filename.nls that contains your nomenclature
list properly ordered. The last step is to invoke L ATEX on your master
file filename.tex once more. It will input your .nls file and process it
accordingly to the current options. That’s all!

Original issue reported on code.google.com by uduo...@gmail.com on 5 Nov 2009 at 4:41

Attachments:

GoogleCodeExporter commented 9 years ago
I have found a temporary workaround which entails running the line

makeindex filename.nlo -s nomencl.ist -o filename.nls

before running make and make show

Original comment by uduo...@gmail.com on 5 Nov 2009 at 5:11

GoogleCodeExporter commented 9 years ago
I have integrated glossary creation into the makefile.  It was pretty easily, 
fortunately.

I'm marking this as fixed.  If you would be so kind, please test out 
r9d3cc483ddd2

Original comment by shiblon on 5 Nov 2009 at 4:05

GoogleCodeExporter commented 9 years ago
Really marking as fixed, now :)

If this works for you, just comment as such and mark the status as "Verified".  
Then I'll 
upload a new version to the home page.

Original comment by shiblon on 5 Nov 2009 at 4:06

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi, I can confirm this still doesn't work for me. my indexes get generated but 
not 
the 
nomenclature(list of abbreviations) via nomencl. 
I use scrindex for my indexes(since i use the koma script scrreprt class) and 
nomencl 
for the list of abbrev and acronyms.

I still resort to the hack of manually 
running 
makeindex filename.nlo -s nomencl.ist -o filename.nls

before invoking make show.

Original comment by uduo...@gmail.com on 5 Nov 2009 at 10:27

GoogleCodeExporter commented 9 years ago
Are you, by any chance, using an older version of nomencl?  The new commands 
are 
\makeglossary and \printglossary, not \makenomenclature.

If so, I'll need to see an example of your .log file so that I can properly 
trigger 
compilation.

Original comment by shiblon on 6 Nov 2009 at 2:00

GoogleCodeExporter commented 9 years ago
Hi, My version of nomencl from the attached log file is
Package: nomencl 2005/09/22 v4.2 Nomenclature package (LN)

i've updated my texlive-full on ubuntu to the latest and have checked CTAN to 
confirm
i have the latest. here's a snippet from the nomencl.pdf showing that
\makenomenclature is indeed the updated command contrary to your suggestion.

Thanks a lot for your help.

1.1     Important Notes for Users of Previous Versions
The latest update to the nomencl package has included some major
changes to some of the more important commands. In particular, the
\makeglossary and \printglossary commands have now been renamed
to \makenomenclature and \printnomenclature respectively. The rea-
son for this change is to increase the package’s compatibility with other
MakeIndex using packages. With this increased compatibility, users will be
able to have nomenclatures, glossaries and indexes all in one document.
   ∗
     Package version v4.2 of 2005/09/22.
   †
     Up to version v2.2 (1996/11/25)
   ‡
     Up to version v3.1c (2001/10/02)
   §
     Up to version v4.0 (2005/03/31)

Original comment by uduo...@gmail.com on 6 Nov 2009 at 3:19

Attachments:

GoogleCodeExporter commented 9 years ago
OK.  It looks like I'm using an *older* version of nomencl.  Here's what I need 
you to 
do for me to fix this:

make clean
make all-graphics
latex uduthesis

Then attach uduthesis.log.  I need to see an entry in there that starts with 
"No file" 
that corresponds to the missing nomenclature file (in my version, it says "No 
file 
test.gls").  That way I can figure out what the suffix should be and do the 
right thing 
with it.

Original comment by shiblon on 6 Nov 2009 at 6:19

GoogleCodeExporter commented 9 years ago
Hi, I've run the suggested commands,

make clean
make all-graphics
latex uduthesis

on the tex file. please find attached the log requested.

Original comment by uduo...@gmail.com on 6 Nov 2009 at 6:32

Attachments:

GoogleCodeExporter commented 9 years ago
OK - this is odd, but I think I know what happened.  make clean doesn't clean 
up all 
of the index files (in particular, it doesn't know to clean up your 
hand-generated 
nomenclature file).  Therefore, the log doesn't reflect that the file is 
missing, and I 
can't see what it's called :(

It *looks* like it wants an nls file, and that it should be using the nlo file 
as the 
source for it.  Is that right?  If so, I can fix this - it would really help me 
a great deal if 
you could verify that for me, either by hand-cleaning the generated files 
before 
running the above steps, or letting me know if nlo is, indeed, the right source 
suffix 
for the generated nls file.

Original comment by shiblon on 6 Nov 2009 at 6:59

GoogleCodeExporter commented 9 years ago
Hi, since i run this line manually before using the makefile,

          makeindex uduthesis.nlo -s nomencl.ist -o uduthesis.nls

that would mean that it needs an *.nls file.

Original comment by uduo...@gmail.com on 6 Nov 2009 at 7:08

GoogleCodeExporter commented 9 years ago
No, that actually means that it needs an nlo file (to generate the nls file).

:)

Does the log bear out the lack of an nls file (the log doesn't know it needs 
nlo) when you  
run the above three commands from a completely clean build?

Original comment by shiblon on 6 Nov 2009 at 7:18

GoogleCodeExporter commented 9 years ago
Please try rd66a68be7f53 and tell me whether it works for you now.

Original comment by shiblon on 6 Nov 2009 at 7:23

GoogleCodeExporter commented 9 years ago
Hi Shiblon,

I can confirm the  revision rd66a68be7f53 works well with nomencl  and i no 
lnger
need to run           makeindex uduthesis.nlo -s nomencl.ist -o uduthesis.nls

externally prior to make/make show.

Thanks and God bless!!

Original comment by uduo...@gmail.com on 6 Nov 2009 at 8:52

GoogleCodeExporter commented 9 years ago
Uploading version 2.1.35 now.  Thanks for your help debugging this issue.

Original comment by shiblon on 6 Nov 2009 at 9:24