From 9bd28a3039a458b054459fe1ef80161b107b798f Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 29 Nov 2018 20:53:37 +0100 Subject: 2018-11-29 19:54:00 --- tex/context/base/mkiv/syst-ini.mkiv | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'tex/context/base/mkiv/syst-ini.mkiv') diff --git a/tex/context/base/mkiv/syst-ini.mkiv b/tex/context/base/mkiv/syst-ini.mkiv index f7b73a30e..f9f685f76 100644 --- a/tex/context/base/mkiv/syst-ini.mkiv +++ b/tex/context/base/mkiv/syst-ini.mkiv @@ -1042,6 +1042,8 @@ % module after which the official interfaces have to be used. This is needed for % modules not made by ctx developers. +\ifdefined\pdfextension + \normalprotected\def\pdfliteral {\pdfextension literal } \normalprotected\def\pdfcolorstack {\pdfextension colorstack } \normalprotected\def\pdfsetmatrix {\pdfextension setmatrix } @@ -1148,8 +1150,18 @@ \normalprotected\def\maximumpdfcompression{\pdfobjcompresslevel\plusnine \pdfcompresslevel\plusnine } \normalprotected\def\normalpdfcompression {\pdfobjcompresslevel\plusthree \pdfcompresslevel\plusthree} +\else + \let\nopdfcompression \relax + \let\maximumpdfcompression\relax + \let\normalpdfcompression \relax +\fi + \normalpdfcompression +\ifdefined\outputmode \else + \newcount\outputmode +\fi + \outputmode \zerocount % we generate the format in this mode %D Basic status stuff. @@ -1191,8 +1203,13 @@ %D We get rid of the funny \TEX\ offset defaults of one inch by setting them to zero. -\voffset\zeropoint \let\voffset\relax \newdimen\voffset % prevent messing up -\hoffset\zeropoint \let\hoffset\relax \newdimen\hoffset % prevent messing up +\voffset\zeropoint \let\voffset\relax \newdimen\voffset +\hoffset\zeropoint \let\hoffset\relax \newdimen\hoffset + +\let\pageleftoffset \hoffset +\let\pagerightoffset \hoffset +\let\pagetopoffset \voffset +\let\pagebottomoffset\voffset %D Handy. -- cgit v1.2.3