GeneralProblem with Glossaries package

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
JPdaFonseca
Posts: 6
Joined: Mon Aug 23, 2010 7:26 pm

Problem with Glossaries package

Post by JPdaFonseca »

Hi, All!

First post in this Forum... :)

I am concluding my Ph.D. Thesis, and I have changed recently from a Windows XP environment using Latex, to the Ubuntu OS (version 9.1). I am using the inbuilt Tex Live distribution, prepared by Synaptic, and Texmaker as the editor. I am also using IEEEtran for bibliography style and the trackchanges package. These are not installed as they should, just on the folder where I have the preamble and the main tex files.

I am also using a class file prepared by other colleagues here at the TU Delft, given that I am not a "power user" of Latex, and do not know about configuring such files.

Anyway, I have managed to install properly the glossaries package, checking the local and distribution trees through texmf.cnf and then making a texhash. The sample of glossaries did work well, and a Glossay entry was printed, so makeglossaries is working, and of course, Perl scripting!

But when I tried some initial entries on my Thesis, I have received the error message: "No \@istfilename found" after running makeglossaries.
There is a .glo and a .ist file in my main folder, but there is no ist entry in the .aux file.

Note: my main latex file is working by including all the other files, so it starts by including the preamble file, and then each chapter and the annexes. The concluding commands build the bibliography.

Note2: the glossary entries and acronyms I have used so far are showing up properly in the final pdf, but I am using a non standard build process. This goes from producing a dvi, then dvips and finally generating the pdf from my CUPS-pdf printer.

Any clues as to the reason for minimalgls has worked but my Thesis don't? :( Please help!

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Problem with Glossaries package

Post by nlct »

Without any sample code to look at, the only thing I can think of is that maybe you've forgotten to use \makeglossaries in the preamble.

Regards
Nicola Talbot
JPdaFonseca
Posts: 6
Joined: Mon Aug 23, 2010 7:26 pm

Re: Problem with Glossaries package

Post by JPdaFonseca »

Dear Nicola:

You are evidently right about the code. :)
However, I am afraid I do not know sufficiently about Latex to send you the right set of files (or logs?) to look at. So, making my "guestimate", I have prepared a zip which contains the full aux, ist and glo files for the preamble (setup) and the main (DMILC_Thesis) files. I have also added extracts with the relevant glossaries code and some context, for the tex files concerning the preamble, main file and chapter 1 file which shows the use of the entries in the text.

If you require any other file, please tell!
Attachments
Glossaries_issue.zip
The zip contains seven latex files
(5.15 KiB) Downloaded 252 times
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Problem with Glossaries package

Post by nlct »

I can't make anything out of those files. You really need to provide a minimal working example. Try reading the Hacking Down section in my Creating a LaTeX Minimal Example guide.

Regards
Nicola Talbot
JPdaFonseca
Posts: 6
Joined: Mon Aug 23, 2010 7:26 pm

Problem with Glossaries package

Post by JPdaFonseca »

Dear Nicola:

Quite some time from my last post. I have read your page about the minimal example and so I worked out my own, using the same structure as in my thesis, that is, included preamble and chapter files in a main tex file.

Quite surprisingly, it worked only the very first time it was run, and from there on, it repeats the same error. Even when I clean all the LateX generated files and process the main file again.

However, I found out that if I manually paste the following lines into main.aux and run the makeglossaries command, and then the latex command, it compiles successfully:

Code: Select all

\@newglossary{main}{glg}{gls}{glo}
\@istfilename{main.ist}
\@glsorder{word}
Please tell me if you compile successfully (and again, after you have done a small change to main or chap1).
Attachments
Gls_minimal_JPH.zip
glossaries minimal with included preamble and contents files
(1.9 KiB) Downloaded 306 times
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Problem with Glossaries package

Post by nlct »

Change

Code: Select all

\include{preamble}
to

Code: Select all

\input{preamble}
(\include isn't needed in this instance as you just want to input the contents of the file without doing anything else.)

Regards
Nicola Talbot
JPdaFonseca
Posts: 6
Joined: Mon Aug 23, 2010 7:26 pm

Re: Problem with Glossaries package

Post by JPdaFonseca »

Dear Nicola:

OK, now it works! :D

I have tested with my thesis, with all the other packages it loads, and is compiling just fine. A very simple solution, but giving me much trouble in the meanwhile.

Thanks for your patience and good lessons about the workings of latex,
Kind Regards
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Problem with Glossaries package

Post by localghost »

Now that the problem is obviously solved, please be so kind and mark the topic (not the last post) accordingly as clearly written in Section 3 of the Board Rules (to be read before posting).


Best regards and welcome to the board
Thorsten
Post Reply