summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/l3kernel/l3luatex.sty
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/latex/l3kernel/l3luatex.sty')
-rw-r--r--Master/texmf-dist/tex/latex/l3kernel/l3luatex.sty21
1 files changed, 11 insertions, 10 deletions
diff --git a/Master/texmf-dist/tex/latex/l3kernel/l3luatex.sty b/Master/texmf-dist/tex/latex/l3kernel/l3luatex.sty
index b7e63c89882..38e13e2b87b 100644
--- a/Master/texmf-dist/tex/latex/l3kernel/l3luatex.sty
+++ b/Master/texmf-dist/tex/latex/l3kernel/l3luatex.sty
@@ -46,7 +46,7 @@
%%
%% -----------------------------------------------------------------------
\RequirePackage{l3names}
-\GetIdInfo$Id: l3luatex.dtx 2478 2011-06-19 21:34:23Z joseph $
+\GetIdInfo$Id: l3luatex.dtx 2545 2011-08-11 13:47:19Z bruno $
{L3 Experimental LuaTeX-specific functions}
\ProvidesExplPackage
{\ExplFileName}{\ExplFileDate}{\ExplFileVersion}{\ExplFileDescription}
@@ -57,8 +57,16 @@
\cs_new_eq:NN \lua_shipout_x:n \luatex_latelua:D
}
{
- \cs_new:Npn \lua_now:x #1 { \lua_wrong_engine: }
- \cs_new_protected:Npn \lua_shipout_x:n #1 { \lua_wrong_engine: }
+ \cs_new:Npn \lua_now:x #1
+ {
+ \msg_expandable_error:n
+ { LuaTeX~ engine~ not~ in~ use!~ Ignoring~ \lua_now:x. }
+ }
+ \cs_new_protected:Npn \lua_shipout_x:n #1
+ {
+ \msg_expandable_error:n
+ { LuaTeX~ engine~ not~ in~ use!~ Ignoring~ \lua_shipout_x:n. }
+ }
}
\cs_new:Npn \lua_now:n #1
{ \lua_now:x { \exp_not:n {#1} } }
@@ -66,13 +74,6 @@
\cs_new_protected:Npn \lua_shipout:n #1
{ \lua_shipout_x:n { \exp_not:n {#1} } }
\cs_generate_variant:Nn \lua_shipout:n { x }
-\group_begin:
-\char_set_catcode_letter:N\!
-\char_set_catcode_letter:N\ %
-\cs_gset:Npn\lua_wrong_engine:{%
-\LuaTeX engine not in use!%
-}%
-\group_end:%
\int_new:N \g_cctab_allocate_int
\int_set:Nn \g_cctab_allocate_int { -1 }
\int_new:N \g_cctab_stack_int