Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[glossaries] "makeglossaries" not working ...

993 views
Skip to first unread message

Stefan Pinnow

unread,
Jun 27, 2010, 3:57:28 PM6/27/10
to
Dear NG, dear Nicola,

I noticed that the "makeglossaries" perl script doesn't work properly, when
the \gls command is used in an \include'd file.

Running it at

% ----- minimal example -----
\begin{filecontents}{test2.tex}
\gls{CAE}
\end{filecontents}

\documentclass{article}
\usepackage{glossaries}
\newglossaryentry{CAE}{
name = {CAE},
description = {CAE},
}
\makeglossaries
\begin{document}
% \gls{CAE} % <-- works
% \input{test2} % <-- works
\include{test2} % <-- doesn't work
\end{document}
% ---------------------------

gives

% ----- command output -----
>makeglossaries test
defined(%hash) is deprecated at
C:\Programme\LaTeX\MIKTEX~1.7\scripts\glossaries
\makeglossaries line 225.
(Maybe you should just omit the defined()?)
No \@istfilename found in 'test.aux'.
Did your LaTeX run fail?
Did your LaTeX run produce any output?
Did you remember to use \makeglossaries?
% --------------------------

although in the "test.aux" is written

% ----- test.aux -----
\relax
\@input{test2.aux}
\@newglossary{main}{glg}{gls}{glo}
\@istfilename{test.ist}
\@glsorder{word}
% --------------------

and the "test.glo" is present with

% ----- test.glo ----- (1 line)
\glossaryentry{CAE?\glossaryentryfield{CAE}{\glsnamefont{CAE}}{CAE}{\relax }|setentrycounter{page}\glsnumberformat}{1}
% --------------------


Somebody an idea?
I am using an up-to-date MiKTeX.
(Perl is working for the other 2 cases so I think, that cannot be the
problem.)


Best regards,
Stefan Pinnow


Nicola Talbot

unread,
Jun 30, 2010, 5:31:38 AM6/30/10
to

I think that bug crept into the latest release. I haven't had time to
fix it yet, but you should be able to get around it by commenting out
line 358 in the makeglossaries Perl script. I will tried to get it fixed
soon.

Regards
Nicola Talbot
--
Home: http://theoval.cmp.uea.ac.uk/~nlct/
LaTeX Related Information: http://theoval.cmp.uea.ac.uk/~nlct/latex/
Creating a LaTeX Minimal Example:
http://theoval.cmp.uea.ac.uk/~nlct/latex/minexample/

--- news://freenews.netfront.net/ - complaints: ne...@netfront.net ---

Nicola Talbot

unread,
Jun 30, 2010, 7:47:00 AM6/30/10
to
On 30/06/10 10:31, Nicola Talbot wrote:
> I think that bug crept into the latest release. I haven't had time to
> fix it yet, but you should be able to get around it by commenting out
> line 358 in the makeglossaries Perl script. I will tried to get it fixed
> soon.

The correct fix is to add

local(*AUXFILE);

to the scan_aux subroutine:

sub scan_aux{
my $name = shift;

local(*AUXFILE);

It will be correct in the next release.

Edi R Shivaji

unread,
Jan 3, 2011, 7:35:45 PM1/3/11
to
I am also getting the same problem. I downloaded the latest version of makeglossaries ans it is dated : 7-10-2010.
I checked it and you have added the fix: still I am getting exactly the same problem. How do I make it work?
Please help me.
Edi


0 new messages