diff options
-rw-r--r-- | Master/texmf-dist/tex/generic/config/pdftexconfig.tex | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/generic/config/pdftexconfig.tex b/Master/texmf-dist/tex/generic/config/pdftexconfig.tex index 52327d9c8c0..cca13327ab0 100644 --- a/Master/texmf-dist/tex/generic/config/pdftexconfig.tex +++ b/Master/texmf-dist/tex/generic/config/pdftexconfig.tex @@ -1,10 +1,19 @@ +% $Id$ % Set pdfTeX parameters for pdf mode (replacing pdftex.cfg file). % Thomas Esser, 2004. public domain. \pdfoutput=1 +% +% In 2015, a new luatex replaced \pdfpage{width,height} with just +% \page{width,height}. So set any that's defined. +\ifx\pdfpagewidth\undefined\else \pdfpagewidth=210 true mm \fi +\ifx\pagewidth\undefined\else \pagewidth=210 true mm \fi +% +\ifx\pdfpageheight\undefined\else \pdfpageheight=297 true mm \fi +\ifx\pageheight\undefined\else \pageheight=297 true mm \fi +% +% Other settings. \pdfcompresslevel=9 \pdfdecimaldigits=3 -\pdfpagewidth=210 true mm -\pdfpageheight=297 true mm \pdfhorigin=1 true in \pdfvorigin=1 true in \pdfpkresolution=600 |