Hello, some notes I collected while testing LuaTeX beta 0.11.2: - It should be noted in the manual that \luaescapestring completely expands its parameter. - When setting a \toks register in Lua using tex.toks['foo'] = 'bar' et.al., what catcodetable is used? From looking inside luatex.web, I would guess that, since str_toks is used, all characters get catcode 12, except for spaces, which get catcode 10. A quick test confirms this. In case this is neither a bug nor a temporary hack: This IMO severely limits the usefulness of the tex.toks table, since the toks registers written in Lua later have to be re-scanned in TeX. IMO, tex.settoks should be passed an optional parameter to set the catcode table to use. When using array addressing, the current catcode table should be used (just like tex.print/tex.sprint). - What exactly is meant by "Lua strings are converted to token lists using \the\toks style expansion" (pg. 23)? Jonathan