[luatex] lualibs.lua and table.serialize

Ulrike Fischer luatex at nililand.de
Fri Mar 6 13:42:11 CET 2020


Am Fri, 6 Mar 2020 11:27:28 +0100 schrieb Herbert Voss:

> Hello all,
> 
> years ago this worked:
> 
> \catcode`\_=12
> \directlua{
> require("lualibs")
> tex.print(table.serialize(node.fields(29)))}
> \bye

I doubt that it worked, I get the omega in plain even with texlive
2014.

You need to change the catcode of the line feed:

\catcode`\_=12
\catcode10=10
\directlua{
require("lualibs")
tex.print(table.serialize(node.fields(29)))}
\bye

Or use lualatex. 


-- 
Ulrike Fischer 
http://www.troubleshooting-tex.de/



More information about the luatex mailing list.