LaTeX forum ⇒ 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.
maga
Posts: 2
Joined: Mon Jun 28, 2010 1:20 am

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

Postby maga » Mon Jun 28, 2010 1:33 am

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:

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


Do you have any idea?

Please need your help!

Lorena

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

Postby maga » Mon Jun 28, 2010 11:07 pm

Hi all,

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

  1. \glossaryentry{sample?\glossaryentryfield{sample}{\glsnamefont{sample}}{a sample entry}{\relax }|setentrycounter{page}\glsnumberformat}{\es@scroman {iii}}
  2. \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

Postby nlct » Thu Jul 01, 2010 12:30 pm

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:

  1. \documentclass{article}
  2.  
  3. \usepackage[spanish]{babel}
  4. \usepackage[xindy]{glossaries}
  5.  
  6. \makeglossaries
  7.  
  8. \newglossaryentry{sample}{name={sample},
  9. description={a sample entry}}
  10.  
  11. \begin{document}
  12. \pagenumbering{roman}
  13. A \gls{sample} entry.
  14.  
  15. \printglossaries
  16. \end{document}


Regards
Nicola Talbot


Return to “MakeIndex, Nomenclature, Glossaries and Acronyms”

Who is online

Users browsing this forum: No registered users and 9 guests