16 May
2004
16 May
'04
7:36 p.m.
Hello again,
I thought textext was just a faster version of btex ... etex and supposed that this would be the 'way to go', since it is a part of MetaFun.
I guess you know now; but for the record: btex....etex does not allow any variable part in the text to be typeset. This is due to the fact that metapost scans for btex ... etex parts in the input file and creates the text in one single TeX run (preprocessing) and then executes the macros (so the texts are fixed). There are several approaches to allow texts with variable data such as %% does not work! for i=0 upto 10: btex "i is now " + decimal i etex; endfor; one of them is textext: for i=0 upto 10: textext ("i is now " + decimal i); endfor; should work (untested) Patrick