Hi,
I was using your hack to keep \printglossary from inserting empty pages. Unfortunately there is a problem with creating the file before \printglossary (
|
\newwrite\ult@tmp@glossary@file |
) is called resulting in the glossary (or list of abbreviation in my case) to not be printed at all because the
.acr file is never created correctly.
I am using latexmk to automate building. It relies on parsing the stdout prints to derive the which files do not exist and launches the respective build steps (like executing makeglossaries). This does not longer happen which your hack. I tried to fix that by pretending that the file is not really there (by adding \typeout{No file ##1.}. Unfortunately this does not fool latexmk :(
Also, \immediate\write\ult@tmp@glossary@file{} adds a newline character to the resulting file. You can simply leave that out to create an empty file (dunno if that could a regression or fixes other use cases - JFYI). I don't have tried further to find a fix because I have no time ATM (and lost lots of it already due to this :/). Maybe patching \@print@glossary directly instead would work better?
BTW: why is Nicola doing that \null there anyway? Maybe we should ask her (she is very responsive on stackexchange).
Hi,
I was using your hack to keep
\printglossaryfrom inserting empty pages. Unfortunately there is a problem with creating the file before\printglossary(ult-base/texmf-tds/tex/latex/ult-base/ult-printglossary.sty
Line 58 in f771e58
.acrfile is never created correctly.I am using latexmk to automate building. It relies on parsing the stdout prints to derive the which files do not exist and launches the respective build steps (like executing
makeglossaries). This does not longer happen which your hack. I tried to fix that by pretending that the file is not really there (by adding\typeout{No file ##1.}. Unfortunately this does not fool latexmk :(Also,
\immediate\write\ult@tmp@glossary@file{}adds a newline character to the resulting file. You can simply leave that out to create an empty file (dunno if that could a regression or fixes other use cases - JFYI). I don't have tried further to find a fix because I have no time ATM (and lost lots of it already due to this :/). Maybe patching\@print@glossarydirectly instead would work better?BTW: why is Nicola doing that
\nullthere anyway? Maybe we should ask her (she is very responsive on stackexchange).