Taco Hoekwater wrote:
Hans Hagen wrote:
Hi,
concerning the hash ...
i'd like to do the equivalent of:
tex.def("\\", "\string\\")
or, to avoid messing aroudn with parameters tex.set
of course the previous def should be something
tex.set("\string\\", "\string\string\string\\") but anyhow, it would permit defining macros in a non interfering way. For that we need two hooks: \everybeforelua \everyafterlua
I'm a bit confused by this. Can you post a non-trivial example of what you want to achieve?
\def\whatever{one} lua { tex.set("whatever","two") } \whatever -> two ----------------------------------------------------------------- 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 -----------------------------------------------------------------