At 08:29 PM 12/28/2001 +0100, Willi Egger wrote:
>Hi,
>
>I wonder if there is sombody else who experiences the following strange
>behaviour of Context.
>
>I use currently the following version:
>
>pdfeTeX, Version 3.14159-pre-1.0-unofficial-20010704-2.1 (Web2c 7.3.3.1)
>ConTeXt ver: 2001.12.10
>
>I need to typeset footers and bottomtexts. Without explicitely switching to
>the currently used bodyfont with \setupfooter and \setupbottom, Context
>typesets the footers and bottomtexts either in CMR or CMSS, depending on the
>chosen bodyfont (serif or sans).
>
>Please see also the attached test.tex file
ah, you made me nervous for a while -)
you should use \setupbodyfont instead of \switchtobodyfont
the second one does not affect the main body font (which is used for the
surrounding stuff); so, you sample demonstrates that one can mix fonts at
will -)
as soon as a page is reassembles, context switched back to the main body
font (in your case still cmr)
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | [EMAIL PROTECTED]
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------