summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/latexconfig/lualatex.ini
blob: ea243659515f1fbe513081c5fad8cbe38263c6f0 (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
% $Id$
% Originally written 2008 by Karl Berry. Public domain.
% Changes here must also go into dvilualatex.ini.

\begingroup
  \catcode`\{=1
  \catcode`\}=2
  %
  \directlua{
    % Enable the primitives needed for pdftexconfig.tex to do its job.
    tex.enableprimitives('',
      tex.extraprimitives('pdftex', 'etex', 'luatex'))}
    %
    % Web2c pdfTeX/XeTeX quote job names containing spaces, but LuaTeX does
    % does not do this by default; we change it via a callback, since users
    % want consistency.
    \global\everyjob{\directlua{require("lualatexquotejobname.lua")}}
\endgroup

% Settings for pdftex.
\input pdftexconfig.tex
% pdf output by default

% Read the latex format definitions.
\input latex.ltx