Debugging corrupted PDFs turns out to be a problem with Quarto after 1.2.233 with latexmk #3359
-
I spent several hours trying to track down why my CI for the Quarto book project I have (running on ubuntu) wasn't building a valid PDF (there was no error in the build). I had made some big changes to my book project and hadn't verified the PDF on the web, and thought it was I who "broke" things with ubuntu (I actually didn't realize the CI was running the release candidate builds). The PDF was coming out corrupt. I tried to remove all the changes I'd made in the past week, but couldn't get a MWE; the simplest book (hello world preface) was still a corrupt PDF. On my Windows station everything is OK. I'm using Quarto 1.2.233, and the PDFs are fine. So, when I realized the CI builds were moving ahead of my windows version, I set them to 1.2.233 also, and now everything is OK. I suspect it has something to do with |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 13 replies
-
A minimal working example to help debugging:
I render the above document using
The intermediate Markdown files is as expected:
but the PDF has duplicated content: This duplication of content might be the source of the corrupted PDF. Software Stack
|
Beta Was this translation helpful? Give feedback.
Thanks for finding this- it was a regression in some more recent changes. I've made a fix and am re-running a build (just FYI, understand if you want to stick with the previous version).