From 5d10ffc76a7d39e7523819add5a8cd46542b672f Mon Sep 17 00:00:00 2001 From: Manuel Pégourié-Gonnard Date: Wed, 29 Apr 2009 11:53:49 +0000 Subject: Adapting (pdf)lua(la)tex.ini for LuaTeX 0.39.0 and newer. git-svn-id: svn://tug.org/texlive/trunk@12854 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/tex/generic/config/luatexiniconfig.tex | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Master/texmf/tex/generic/config/luatexiniconfig.tex (limited to 'Master/texmf/tex/generic') diff --git a/Master/texmf/tex/generic/config/luatexiniconfig.tex b/Master/texmf/tex/generic/config/luatexiniconfig.tex new file mode 100644 index 00000000000..a6d8f1baaa4 --- /dev/null +++ b/Master/texmf/tex/generic/config/luatexiniconfig.tex @@ -0,0 +1,11 @@ +% Enable LuaTeX primitives for INI mode (needed since 0.39.0) +% Élie Roux & Manuel Pégourié-Gonnard, 2009. Public domain. +\begingroup +\catcode`\{=1 +\catcode`\}=2 +\expandafter\ifx\csname luatexversion\endcsname\relax + \let\luatexversion\undefined + \directlua{tex.enableprimitives('', tex.extraprimitives())} +\fi +\endgroup +\endinput -- cgit v1.2.3