Jonathan.Sauer at silverstroke.com
Wed Sep 17 12:56:04 CEST 2008
> >> > -- Assume there are TeX two count registers allocated,
> >> > -- and `groupIndex'
> groupLevel. The code is a bit harder to follow for a human
> since the names change throughout, and quite a bit harder to
> follow for Lua...
Indeed. Unfortunately, Lua is pedantic that way.
> Anyway, I am not convinced that this poor man's equivalence table for
> is a sane approach to the problem,
I was trying to preserve the spirit of TeX the Macro Programming
> regardless whether tex.currentgrouplevel might be nice to have or not.
But seriously: What I'm trying to do is to store configuration data
list indentation and formatting) as (global) Lua values while preserving
grouping mechanism so changes to the configuration can be local to a
want to use Lua values instead of TeX macros/registers, since then I can
complex data structures. Also, access from Lua code is easier and most
More information about the dev-luatex