29 Aug
2007
29 Aug
'07
10:16 p.m.
Hi, Found an interesting sometxt misfeature. \startMPinclusions boolean test ; test=true ; \stopMPinclusions \startbuffer[test] if test : label(\sometxt{True}, origin) ; fi ; label(\sometxt{False}, (10,10)) ; \stopbuffer \processMPbuffer[test] \blank[big] \startMPinitializations test := false ; \stopMPinitializations \processMPbuffer[test] Too bad context cannnot parse metapost syntax :) Workaround (ugly) \startTeXtexts \TeXtext{1000}{True} \stopTeXtexts \startbuffer[test] if test : label(sometxt(1000), origin) ; fi ; label(\sometxt{False}, (10,10)) ; \stopbuffer \processMPbuffer[test] Aditya