On Fri, 09 Apr 2010 12:00:05 +0200 Wolfgang Schuster <schuster.wolfg...@googlemail.com> scribit:
> Am 09.04.10 11:20, schrieb R. Bastian: > > Hello, > > > > how to translate in context the following plain tex: > > > > \font\fgras = cmbtt10 > > {\tt > > {\obeylines > > {\fgras def} ra(): > > \ \ \ \ a = 3 > > \ \ \ \ b = 4 > > } > > } > > > MkII: > > \setuplines[space=on] > > \starttext > \startlines\tt > %\startlines[style=mono] % works only in MkIV > {\bf def} ra(): > a = 3 > b = 4 > \stoplines > \stoptext > > Wolfgang > > ___________________________________________________________________________________ 1. I use 'context -result=y source.tex'; is this mkii or mkiv ? (mkii seems to be an optional flag) 2. what is the Context font for cmitt10 ? -- René Bastian www.pythoneon.org www.musiques-rb.org http://www.soundsurvey.org.uk/ ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________