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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to