buggy testpage.tex (wrong PDF page size)?

Vincent Lefevre vincent at vinc17.net
Tue Aug 27 00:47:41 CEST 2024


I've tried

  pdflatex /usr/share/texlive/texmf-dist/tex/latex/base/testpage.tex

unset Debian/unstable (TeX Live packages 2024.20240706-1) with

\papertype=a5paper
\doublesided=n

The contents assume A5, but the paper size itself is still A4
(thus with blanks on the right and at the bottom), and pdfinfo
says:

Page size:       595.276 x 841.89 pts (A4)

Adding \usepackage{geometry} seems to fix the issue.

The following also fixes the issue

\setlength\pdfpagewidth{\paperwidth}
\setlength\pdfpageheight{\paperheight}

but I suppose that \usepackage{geometry} is more general.

-- 
Vincent Lefèvre <vincent at vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


More information about the tex-live mailing list.