[latex3-commits] [l3svn] r6225 - Ensure \Ucharcat emulation works for LuaTeX in IniTeX mode

noreply at latex-project.org noreply at latex-project.org
Wed Nov 4 12:42:31 CET 2015


Author: joseph
Date: 2015-11-04 12:42:31 +0100 (Wed, 04 Nov 2015)
New Revision: 6225

Modified:
   trunk/l3kernel/l3bootstrap.dtx
Log:
Ensure \Ucharcat emulation works for LuaTeX in IniTeX mode

This is all rather temporary as ideally an allocator should be
available. Probably this part needs writing in two entirely
separate blocks, one for package mode and one for IniTeX mode.
It is also probably worth considering a separate .lua file for
the Lua code: there will be more to add over time.


Modified: trunk/l3kernel/l3bootstrap.dtx
===================================================================
--- trunk/l3kernel/l3bootstrap.dtx	2015-11-04 08:38:08 UTC (rev 6224)
+++ trunk/l3kernel/l3bootstrap.dtx	2015-11-04 11:42:31 UTC (rev 6225)
@@ -442,7 +442,7 @@
             tex.sprint(\number\ucharcat at table, utf8_char(charcode))
           end
         }
-      \directlua{\tempa}
+      \directlua{\tempa}%
       \ifnum 0%
         \directlua
           {%
@@ -450,6 +450,9 @@
               tex.write("1")
             end
           }>0 %
+%<*initex>
+        \edef\tempa{\tempa}% TEMP
+%</initex>
         \global\everyjob\expandafter
           {%
             \the\expandafter\everyjob



More information about the latex3-commits mailing list