On Mon, Mar 24, 2008 at 11:02 PM, Hans Hagen wrote:
Mojca Miklavec wrote:
That's also right. Actually, "btex label etex" which calls TeX (in an extremely inefficient way, among other things) is the one that doesn't know how to handle them. It would be nice if someone from this mailing list had at least some idea if that is solvable or not.
don't bother too much about these issues ... in mkiv things will be different
It was about plain metapost. Will your tricks also possible when running "plain metapost" (mptopdf)?
i'm currently playing with mplib; the default converter works ok; the specials handler is reimplemented and mostly finished; and now i'm playing with the textual part ... i even got this working ...
\startMPgraphic fill fullcircle scaled 10cm withcolor green ; n := 50 ; for i=1 upto n : draw btex goodbye world etex scaled 2 rotatedaround(origin,i*360/n) ; endfor ; \stopMPgraphic
so, btex/etex works ok in a loop; everything happpens in luatex/mplib
it's even acceptable fast ...
100 times the previous graphic (i.e. 5000 btex/etex's) takes .7 seconds on my machine
Twice "wow" :) (After knowing the timings from the old-good-pre-sometxt times.) Thanks a lot, Mojca