[tex4ht] [glossaries] First (long) occurrence of an acronym not long in title

Denis Bitouzé dbitouze at wanadoo.fr
Fri Sep 7 16:29:25 CEST 2012


consider the following test.tex MCE:

\newacronym{tex4ht}{\TeX4ht}{\TeX{} for HTML}

and compile it with:

htlatex test
makeglossaries test
htlatex test

Because of the commented \maketitle, the first occurrence of the
"acronym" \gls{tex4ht} (that appears in the current text) is displayed
correctly (long form followed by the short form in brackets).

But, if the title appears (\maketitle uncommented), the fist occurrence
of the "acronym" (that appears this time in the title) is not displayed
correctly: it is displayed as a not first occurrence (only the short
form is displayed). BTW, this wrong behaviour doesn't arise if the file
is compiled with pdflatex instead of htlatex.

Do you know a way to get the right behaviour ?


More information about the tex4ht mailing list