Skip to content

Commit

Permalink
only set pdfpage[width|height] if length exists and set page[width|he…
Browse files Browse the repository at this point in the history
…ight] for LuaTeX
  • Loading branch information
michaelroland committed Oct 21, 2024
1 parent 10ad8b7 commit a047ec4
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions jkureport.sty
Original file line number Diff line number Diff line change
Expand Up @@ -444,8 +444,19 @@
\setlength{\jkureport@authoring@titlepage@offset}{60mm}

% General page sizing
\setlength{\pdfpagewidth}{\paperwidth}
\setlength{\pdfpageheight}{\paperheight}

\@ifundefined{pdfpagewidth}{}{%
\setlength{\pdfpagewidth}{\paperwidth}
}
\@ifundefined{pagewidth}{}{%
\setlength{\pagewidth}{\paperwidth}
}
\@ifundefined{pdfpageheight}{}{%
\setlength{\pdfpageheight}{\paperwidth}
}
\@ifundefined{pageheight}{}{%
\setlength{\pageheight}{\paperwidth}
}
\setlength{\hoffset}{0in}
\setlength{\voffset}{0in}

Expand Down

0 comments on commit a047ec4

Please sign in to comment.