summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/opmac/opmac.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-27 20:38:38 +0000
committerKarl Berry <karl@freefriends.org>2016-06-27 20:38:38 +0000
commitdc531b6de8cb862393125392a26f35c541ac8c9a (patch)
treef9afc8d912a0fbc44e2c11da4ff9b48032c08cf8 /Master/texmf-dist/tex/csplain/opmac/opmac.tex
parent30396a603a178a5cf062125e543547313701f87a (diff)
csplain (27jun16)
git-svn-id: svn://tug.org/texlive/trunk@41552 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/csplain/opmac/opmac.tex')
-rw-r--r--Master/texmf-dist/tex/csplain/opmac/opmac.tex8
1 files changed, 5 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/csplain/opmac/opmac.tex b/Master/texmf-dist/tex/csplain/opmac/opmac.tex
index fa60ecc3a8f..74883ed93cc 100644
--- a/Master/texmf-dist/tex/csplain/opmac/opmac.tex
+++ b/Master/texmf-dist/tex/csplain/opmac/opmac.tex
@@ -1613,9 +1613,10 @@
\def\magscale[#1]{\mag=#1\def\trueunit{true}%
\ifdim\pgwidth=0pt \else \truedimen\pgwidth \truedimen\pgheight \fi
\ifx\pdfpagewidth\undefined \else
- \truedimen\pdfpagewidth \truedimen\pdfpageheight
- \pdfhorigin=1truein \pdfvorigin=1truein % Origin is independent off \mag
- \fi}
+ \truedimen\pdfpagewidth \truedimen\pdfpageheight
+ \ifx\pdfhorigin\undefined\else
+ \pdfhorigin=1truein \pdfvorigin=1truein % Origin is independent off \mag
+ \fi\fi}
\def\truedimen#1{\ifx\trueunit\empty \else#1=\expandafter\ignorept\the#1truept \fi}
%%%%%%%%%%%%%% XeTeX specific + REF file is read now -- sec 3.26 in opmac-d.pdf
@@ -1766,5 +1767,6 @@ May 2016 \replacestrings improved
\bfshape: \everymath={\boldmath} instead \boldmath directly
\tskip corrected
Jun. 2016 \thefontsize: \fontdim=#1\ptunit added.
+ \pdfhvorigin unknown in XeTeX, bug fixed
%%%%%%%%%%%%%% End of opmac.tex