[NTG-context] A sometxt bug (rather misfeature)
Aditya Mahajan
adityam at umich.edu
Wed Aug 29 22:16:21 CEST 2007
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
More information about the ntg-context
mailing list