Taco Hoekwater wrote:
But beware, you may end up being forced to create extra macros because you cannot skip over the actual keyword "tex" using \expandafters.
ah, indeed, so let's go for multiple primitives then
we also need:
\luatexversion (currently 0.1.5)
This is "whatever version we want to use, right?". I'd like to use this number instead of the pdftex/etex version string in the banner (the 1.30.3-2.2 part), and use pdfluatex as executable name. Is that acceptable ? (I'd like to 'flatten' the existing change files, as I proposed on the pdftex list a month or so ago).
ok
\luaversion (currently 5.0.2)
this was what my command line version reported; looks like i need to update -)
It seems the Lua we use right now has version
#define LUA_VERSION "Lua 5.1 (alpha)"
and also
#define LUA_VERSION_NUM 501
but that is never used.
I assume that the version will become 510 soon. Anyway, you can get the lua version string from inside \lua, as _VERSION, so there is not really a need for a separate primitive.
ah, indeed
Let's not forget the primitive \luaesc, btw.
indeed and maybe also tex.def("whatever","...") tex.edef("whatever","...") so that we can play with the hash Hans Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------