[NTG-context] code

R. Bastian rbastian at free.fr
Fri Apr 16 11:31:00 CEST 2010


On Fri, 09 Apr 2010 12:00:05 +0200
Wolfgang Schuster <schuster.wolfgang at 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/




More information about the ntg-context mailing list