-
Notifications
You must be signed in to change notification settings - Fork 2
Description
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 |
.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).