MakeIndex, Nomenclature, Glossaries and AcronymsMakeglossaries error:nothing in .gls file,error in .glo file

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Post Reply
maga
Posts: 2
Joined: Mon Jun 28, 2010 1:20 am

Makeglossaries error:nothing in .gls file,error in .glo file

Post by maga »

Dear LaTeX fans:

I´m trying to insert a glossary in my thesis using WinEdt 6. After checking my Perl installation and glossaries package several examples work properly, but I don´t know why specially with my thesis cannot obtain the Glossary, all the references and labels appear in the final pdf, but cannot see the glossary like in the other examples.

I think it is because my .gls file is empty, but don´t know why.

Here is my .glg file:

Code: Select all

This is makeindex, version 2.14 [02-Oct-2002] (kpathsea + Thai support).
Scanning style file D:/Documents D/Tesis/LaTex for thesis/My thesis/Antecedentes.ist...........................done (27 attributes redefined, 0 ignored).
Scanning input file Antecedentes.glo...
!! Input index error (file = Antecedentes.glo, line = 1):
   -- Illegal space within numerals in second argument.
!! Input index error (file = Antecedentes.glo, line = 2):
   -- Illegal space within numerals in second argument.
done (0 entries accepted, 2 rejected).
Nothing written in Antecedentes.gls.
Transcript written in Antecedentes.glg.
Do you have any idea?

Please need your help!

Lorena

Recommended reading 2024:

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

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

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

maga
Posts: 2
Joined: Mon Jun 28, 2010 1:20 am

Makeglossaries error:nothing in .gls file,error in .glo file

Post by maga »

Hi all,

Here you are my .glo file... it could be useful:

Code: Select all

\glossaryentry{sample?\glossaryentryfield{sample}{\glsnamefont{sample}}{a sample entry}{\relax }|setentrycounter{page}\glsnumberformat}{\es@scroman  {iii}}
\glossaryentry{sample?\glossaryentryfield{sample}{\glsnamefont{sample}}{a sample entry}{\relax }|setentrycounter{page}\glsnumberformat}{\es@scroman  {iii}}
Thank you again...

Lorena Magallanes
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Makeglossaries error:nothing in .gls file,error in .glo file

Post by nlct »

I replied to this on texhax, but in case anyone here has a similar problem:

The glossaries file contains \es@roman in the location part. Makeindex
can't cope with that so you'll have to use xindy instead. Minimal example:

Code: Select all

\documentclass{article}

\usepackage[spanish]{babel}
\usepackage[xindy]{glossaries}

\makeglossaries

\newglossaryentry{sample}{name={sample},
description={a sample entry}}

\begin{document}
\pagenumbering{roman}
A \gls{sample} entry.

\printglossaries
\end{document}
Regards
Nicola Talbot
Post Reply