nmfs-opensci / quarto_titlepages

A Quarto extension for making title and cover pages for PDF output.
https://nmfs-opensci.github.io/quarto_titlepages/
Creative Commons Zero v1.0 Universal
115 stars 20 forks source link

Incorrect render to PDF using titlepage extension #47

Open dmkaplan2000 opened 10 months ago

dmkaplan2000 commented 10 months ago

I have already filed this bug with quarto here:

https://github.com/quarto-dev/quarto-cli/issues/7293

It is easiest to just look there for the details and solution. Basically, titlepages fails with the newest version of quarto because the file partial before-body.tex does not have a new line at the end of the document.

eeholmes-uw commented 10 months ago

Interesting. All my pandoc templates do have a newline at the end but when the files are pushed to GitHub, the newlines are eliminated. I will have to figure out how to stop this behavior. https://www.reddit.com/r/ansible/comments/12u8wdc/can_anyone_explain_why_github_removes_the_last/

eeholmes-uw commented 10 months ago

No. I checked with a local clone. The newlines are all there, including with before-body.tex. I will try to replicate.

eeholmes-uw commented 10 months ago

@dmkaplan2000 Thanks for posting. It is a bug with the new Quarto pre-release. I am working with Quarto devs to fix and in the meantime I will add 2 newlines to deal with the pre-release problem.