On 4/28/2013 10:03 PM, Marco Patzer wrote:
This is usually not a problem, since typescripts are loaded in the setup area. Even when loaded within the text area the spaces don't cause problems. Loading an entire file within a box, like I did in the example, is an unusual edge-case and there's a simple workaround, see Wolfgangs answer.
normally it only matters in hmode when you \usetypescriptfile[iwona] outside the macro the definitions get preloaded in memory ; in fact, each typescript eventually gets cached typescripts are loaded under a newline restricted regime but that doesn't always prevent spaces creeping in (like those before comments) \definetextext [foo] [#1]#2{\switchtobodyfont[#1]\removeunwantedspaces#2} and moving all to lua is no option now (although ... in antykwapoltawskiego.lfg one can see how such a thing can be done) Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------