From 6b9c748b268e3e8cc785287f5d31bc7e15db2e76 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 25 Apr 2016 21:50:26 +0000 Subject: csplain (25apr16) git-svn-id: svn://tug.org/texlive/trunk@40747 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/csplain/base/csplain.ini | 6 +++++- Master/texmf-dist/tex/csplain/base/plaina4.tex | 10 ++++++---- 2 files changed, 11 insertions(+), 5 deletions(-) (limited to 'Master/texmf-dist/tex/csplain/base') diff --git a/Master/texmf-dist/tex/csplain/base/csplain.ini b/Master/texmf-dist/tex/csplain/base/csplain.ini index b773142266c..2f54f278bcb 100644 --- a/Master/texmf-dist/tex/csplain/base/csplain.ini +++ b/Master/texmf-dist/tex/csplain/base/csplain.ini @@ -13,7 +13,7 @@ \input plaina4 % \hsize and \vsize for A4 \everyjob=\expandafter{\the\everyjob - \message{The format: csplain .} + \message{The format: csplain .} \message{The cs-fonts are preloaded and A4 size implicitly defined.}} \ifx\xprncode\undefined \else %% The encTeX is detected \count255=128 % All codes > 128 are printable: @@ -245,6 +245,10 @@ file extcode.tex renamed to il2code.tex (suggested by Jan Kasprzak) * \input luatex85.sty for LuaTeX specific added * \input ucode for XeTeX and LuaTeX as default +** 17 ** +* plaina4: \recount@true for \pdfpagewidth,height added +* ff-mac.tex introduced, cs-*.tex rewritten based on ff-mac.tex + COPYRIGHT ========= 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}} } -- cgit v1.2.3