![](https://secure.gravatar.com/avatar/c5ae4f9aa0d3a9bd5376e92b322c3e50.jpg?s=120&d=mm&r=g)
On Tue, 8 Sep 2009, joshua lee wrote:
Hi All, Attached is the simple test file for the simpleslides which can not output '--', any idea? Thanks.
There is a bug somewhere (see later). As a workaround, you can use \setuptyping[style={\definedfont[LMTypewriter10-Regular]}] Here is a minimal example of what is happening. In simpleslides we use \definebodyfontenvironment, otherwise the size calculations (tfa, etc) and the math fonts do not work (at least this is what used to happen in MkII). For some reason this means that we cannot switch to typewriter font. Any ideas on what is wrong here? \def\NormalSize{17pt} \def\TitleSize {22pt} %D The bodyfont needs to be defined so \CONTEXT\ can calculate size switches, %D math formulas, etc. \starttypescript [serif] [default] [size] \definebodyfont [14pt,15pt,16pt,17pt,20pt,25pt,\NormalSize,\TitleSize] [rm] [default] \stoptypescript \starttypescript [sans] [default] [size] \definebodyfont [14pt,15pt,16pt,17pt,20pt,25pt,\NormalSize,\TitleSize] [ss] [default] \stoptypescript \definebodyfontenvironment[\NormalSize] \definebodyfontenvironment[\TitleSize] \starttypescript[bookman] \definetypeface [bookman] [rm] [serif] [bookman] [default] \definetypeface [bookman] [ss] [sans] [adventor] [default] \definetypeface [bookman] [tt] [mono] [modern] [default] [rscale=1.075] \definetypeface [bookman] [mm] [math] [pagella] [default] \stoptypescript \usetypescript[bookman] \setupbodyfont[bookman,\NormalSize] \starttext \starttyping i ++; i --; \stoptyping {\tt A test i -- } \stoptext Aditya