Khaled Hosny wrote:
That module shows exactly the problem I mentioned in my earlier message, it processes the whole input file not only the text buffers that will be actually typesetted, so If I've an \Idris macro it'll get replaced as well, or I've to parse the file myself which isn't really an option. OTP fits nicely in this, but it isn't as powerful as lua, and there seem not to be much interest in maintaining it in the future.
we already have spellchecking (operates on node lists) so having some kind of replacement mechanism is doable too (not now, later when i've cleaned up some code) otp's are gone from mkiv .. i simple don't enable the primitives any more and the filter mechanisms is not loaded; of course that coule become a module to be loaded at runtime if there is some real need for it 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 -----------------------------------------------------------------