summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/generic/config/luatexiniconfig.tex
blob: fd70863e21d88dbb72f48cd4db001ad5949dc37a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% $Id$
% Enable and prefix LuaTeX primitives for Plain-based formats
% Assumes LuaTeX 0.39.x or greater.
% Manuel Pégourié-Gonnard, 2009. Public domain.
\begingroup
\catcode`\{=1
\catcode`\}=2
\directlua{
  % all primitives are enabled without prefixing
  tex.enableprimitives('', 
    tex.extraprimitives())
  % for compatibility with LaTeX-based formats, also provide a prefixed version
  % of some primitives too (see lualatexiniconfig.tex)
  tex.enableprimitives('luatex', 
    tex.extraprimitives('core', 'omega', 'aleph', 'luatex'))
  }
\endgroup
\endinput