summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/config/luatexiniconfig.tex
blob: caf56638c3c596f55717e7cad479fbdb7d916463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% $Id$
% Read for plain luatex formats (luatex.ini, dviluatex.ini).
% Assumes LuaTeX 0.39.x or greater.
% Originally written 2009 by Manuel P\'egouri\'e-Gonnard. Public domain.

\begingroup
  \catcode`\{=1
  \catcode`\}=2
  %
  \directlua{
    % enable all primitives without prefixing
    tex.enableprimitives('', tex.extraprimitives())
    %
    % for compatibility with older LaTeX formats, also provide a
    % prefixed version of some primitives.
    tex.enableprimitives('luatex',
      tex.extraprimitives('core', 'omega', 'aleph', 'luatex'))
  }
\endgroup