-
Notifications
You must be signed in to change notification settings - Fork 2
PDF with comments generated via GH action is no longer in A4 format #51
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
Comments
Unfortunately the logs for the Github Action that created v90 assets were removed. |
For the record, v91 was built with:
and further below there is a warning:
however I get the same warning when building locally on macOS (see #51 (comment) below for version information) where this problem does not happen. More below is this warning:
however I also get the same warning when building locally and also it seems to be specific just to the "slides only" PDFs. |
My local pdfTex version is 3.1415926-2.4-1.40.13 (TeX Live 2012) which is not that different than the one used by Github Actions runner. If I were to guess, it is rather caused by some of the styles, e.g. the local version of seminar.sty is 2008/10/15, 1.5 and the one used by the runner comes from 2021. Another thing for consideration is that the Git repository contains |
The That said, the warning seems to be displayed just for the "slides only" PDF so is probably just a red herring. |
Checking the size of the document generated from the Github action in the Preview macOS app, I can see 27,94 × 21,59 cm which seems to match the letter paper size. A4 should be 210 mm × 297 mm. |
For the record, on macOS with rather old pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012), LaTeX2e <2011/06/27> still generates the PDF as A4. Another possibly relevant piece of data is |
Displaying the properties of the file in evince says: US Letter, Landscape (279 × 216 mm) This means the command at the top of \AtBeginDocument{%
\pdfhorigin=1sp
\pdfvorigin=1sp
\paperwidth=297truemm
\paperheight=210truemm
} no longer works. I tried experimenting with |
A4 format can be brought back via the \pdfpagewidth=297truemm
\pdfpageheight=210truemm added to the |
After minimizing the content to single file, I found that that when I remove the |
Starting with release v91 the PDFs generated via Github Actions seems to have the paper size wrong. v90 (Nov 2022) is fine.
The text was updated successfully, but these errors were encountered: