summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/latexconfig/xelatex.ini
blob: 9e86c445c3c3ce25ce06f2e23d7a73f14d8f9420 (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
% $Id$
% Public domain.  Originally by Jonathan Kew.

% Primitives in pdftex and luatex, we'll just use macros here.
% Since we are generating a whatsit, not 100% compatible,
% but hopefully close enough.
% 
\begingroup
  \catcode`\{=1
  \catcode`\}=2
  \protected\gdef\pdfmapfile#1{\special{pdf:mapfile #1}}
  \protected\gdef\pdfmapline#1{\special{pdf:mapline #1}}
\endgroup

% "Internal" control sequence from old xelatex.ini, nevertheless used by
% (at least) xeCJK.sty.  David Carlisle says that the \count register
% for this is hardwired to be 257, so it's easy to make an alias.
% Thread starts at http://tug.org/pipermail/tex-live/2015-April/036640.html.
%
\begingroup
  \catcode`\@=11
  \ifx\xe@alloc@intercharclass\@undefined
    \global\countdef\xe@alloc@intercharclass=257
  \fi
\endgroup

% As of TL 2015, aka LaTeX2e 2015/01/01, latex.ltx includes unicode
% letter assignments and other things previously done in the .ini.
\input latex.ltx