diff options
author | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2009-04-29 11:53:49 +0000 |
---|---|---|
committer | Manuel Pégourié-Gonnard <mpg@elzevir.fr> | 2009-04-29 11:53:49 +0000 |
commit | 5d10ffc76a7d39e7523819add5a8cd46542b672f (patch) | |
tree | b5d0dd82df782ba83ca6e30479bd8f3ef9bac927 /Master/texmf/tex | |
parent | f1de0a2d5dd864f409a6b7ca9cdd7a2e1b9ecdb7 (diff) |
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
Diffstat (limited to 'Master/texmf/tex')
-rw-r--r-- | Master/texmf/tex/generic/config/luatexiniconfig.tex | 11 |
1 files changed, 11 insertions, 0 deletions
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 |