summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/latexconfig/xelatex.ini
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/latexconfig/xelatex.ini')
-rw-r--r--Master/texmf-dist/tex/latex/latexconfig/xelatex.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/latex/latexconfig/xelatex.ini b/Master/texmf-dist/tex/latex/latexconfig/xelatex.ini
index f47278aa2ad..eb0ba44f538 100644
--- a/Master/texmf-dist/tex/latex/latexconfig/xelatex.ini
+++ b/Master/texmf-dist/tex/latex/latexconfig/xelatex.ini
@@ -25,8 +25,15 @@
\fi}
\def\newXeTeXintercharclass{%
\xe@alloc@\xe@alloc@intercharclass\XeTeXintercharclass\chardef\@cclv} %at most 254
+
+% Primitives in pdftex and luatex, we'll just use macros here.
+% Since we are generating a whatsit, not 100% compatible,
+% but hopefully close enough.
+\def\pdfmapfile#1{\special{pdf:mapfile #1}}
+\def\pdfmapline#1{\special{pdf:mapline #1}}
+
\catcode`\@=12
-%
+
% Because latex.ltx sets up character code tables for T1 encoding by default,
% we need to reset values from unicode-letters that may have been overridden
\begingroup