summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/csplain/opmac/opmac-luatex.tex
blob: 4c2f8274c0900f4590f12c21af1e090159d699bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
% opmac-xetex.tex
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%% Petr Olsak, 2016

% LuaTeX renames pdfTeX primitives in 2016. 
% We need only few such primitives in OPmac.

% If you are using another remanemd primitives, you can modify your macros
% or use \input luatex85.sty

\ifx\protected\undefined \let \protected=\relax \fi

\let\pdfximage               \saveimageresource
\let\pdfrefximage            \useimageresource
\let\pdfpagewidth            \pagewidth
\let\pdfpageheight           \pageheight
\protected\def\pdfliteral    {\pdfextension literal}
\protected\def\pdfcolorstack {\pdfextension colorstack}
\def\pdfcolorstackinit       {\pdffeedback colorstackinit}
\protected\def\pdfsave       {\pdfextension save\relax}
\protected\def\pdfrestore    {\pdfextension restore\relax}
\protected\def\pdfdest       {\pdfextension dest }
\protected\def\pdfstartlink  {\pdfextension startlink }
\protected\def\pdfendlink    {\pdfextension endlink\relax}
\protected\def\pdfcatalog    {\pdfextension catalog }
\protected\def\pdfoutline    {\pdfextension outline }
\protected\def\pdfsetmatrix  {\pdfextension setmatrix}
\def\pdfhorigin              {\pdfvariable horigin}
\def\pdfvorigin              {\pdfvariable vorigin}

\endinput