Le 04/09/2018 à 14:03, Kornel Benko a écrit :
Am Dienstag, 4. September 2018 12:35:52 CEST schrieb Jürgen Spitzmüller
<sp...@lyx.org>:
2018-09-03 18:11 GMT+02:00 Kornel Benko <kor...@lyx.org>:
Ah, yes, I forgot. So, since they don't respond, we don't care?
We could insist. Try to fix the problem ourselves in the cls and provide
them with a patch. Ask for help on stackexchange ...
Jürgen
This is not so trivial. They use the created .aux file for infos about
counter too. But on the first run, this file does not exist. Rerunning
the compilation makes everything work.
If there only would have been the message 'Rerun latex' in the log-file :(
What if we added something like
AddToPreamble
\IfFileExists{\jobname.aux}{}{\message{Re-run LaTeX to get counters
right}}
End
Note that I did not try any of it and there are certainly several error
in this code, but the idea should work, I think.
JMarc