summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/base/plaina4.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/csplain/base/plaina4.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/base/plaina4.tex10
1 files changed, 6 insertions, 4 deletions
diff --git a/Master/texmf-dist/tex/csplain/base/plaina4.tex b/Master/texmf-dist/tex/csplain/base/plaina4.tex
index de7966476da..5a5db96dae4 100644
--- a/Master/texmf-dist/tex/csplain/base/plaina4.tex
+++ b/Master/texmf-dist/tex/csplain/base/plaina4.tex
@@ -14,11 +14,13 @@
\gdef\m@g{\mag\count@
\hsize=159.2truemm \vsize=239.2truemm \dimen\footins8truein
\ifx\pdfpagewidth\undefined\else % added by P. O. Nov 2012
- \pdfpagewidth=210truemm
- \pdfpageheight=297truemm
- \pdfhorigin=1truein
- \pdfvorigin=1truein
+ \recount@true\pdfpagewidth % \recont@true added by P. O Apr. 2016
+ \recount@true\pdfpageheight % because media size is distribution-dependent
+ \recount@true\pdfhorigin
+ \recount@true\pdfvorigin
\fi
}
+\gdef\recount@true#1{#1=\expandafter\recount@trueA\the#1truept\relax}
+{\catcode`p=12 \gdef\recount@trueA#1p#2{#1}}
}