-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Last page is zeroed if no bibliography is used #15
Comments
I still cannot reproduce your problem, and I see that https://github.com/pdebuyl/FET_Proposal/tree/master/LaTeX-proposal is still not updated. But I also do not see what you are applying it to. Can you either
|
Sorry. I forgot to say that the bug is replicable with one of the examples in your repository (please notice that this bug has nothing to do with the repository by @pdebuyl, otherwise I would have opened the issue there). Here are the steps to generate a .pdf with zeroed last page:
The produced |
Using pdflatex instead of the Makefile results in your system-wide copy of the style files to be used instead of those of the repository. Check the propB.log file to check which files are used. It is possible to set the TEXINPUTS environment variables, see https://github.com/pdebuyl/FET_Proposal/blob/master/debian-env.sh |
I checked and I am using the correct style files. Further digging I found out that the issue is instead related to the fact that I am not compiling the bibliography. As soon as I do it the last page is correctly set. The issue is crucial in my proposal because I don't have a bibliography. Anyway I have to say this issue might be considered minor since at least I have a workaround. Thanks for the help. |
Thanks for digging, I can reproduce now, and I am quite sure that I can fix this. |
Indeed, a single bibliography element solves the problem. This is thus a rather uncommon problem. Also, in the case of an empty bibliography, biblatex throws a "latex warning". Is that the cause of the missing {prop}{pages}{last} pdata reference? |
It seems that this is a timing issue: LaTeXML closes the pdata file before it has the chance to write the last page. We probably have to build in something that flushes the buffers (and opening another file does that I think). Or we have to make the |
This is related to #14. I tried the latest
LaTeX-proposal
code (cloned from github) and the problem persists. The last page is labelled 0. I found out a workaround consisting in writing something in between\end{proposal}
and\end{document}
. This was actually why initially I was assuming the problem related to the finalised version (see my previous issue pdebuyl/FET_Proposal#1).The text was updated successfully, but these errors were encountered: