% Test file
% Problem: the \setupfootnotes do not switch to the bodyfont
% instead they fall back on cmr or cmss respectively
% 16-09-2003

\setupoutput[pdftex]
\usemodule[units]

\usetypescriptfile[type-dolly]

\definetypeface [Dolly] [rm] [serif] [dolly]      [default] [encoding=texnansi]
\definetypeface [Dolly] [mm] [math]  [times]      [default]
\definetypeface [Dolly] [ss] [sans]  [helvetica]  [default] [rscale=.9,encoding=texnansi]
\definetypeface [Dolly] [tt] [mono]  [courier]    [default] [rscale=.9,encoding=texnansi]

\setupbodyfont[Dolly,rm,13pt]

\starttext

What about measuring (normal) 12 \Milli\Meter, 3 \Centi\Meter\ and 5 \Kilo\Meter?

What about measuring (inline math) $12 \Milli\Meter$, $3 \Centi\Meter$ and $5 \Kilo\Meter$?

Hier is the first footnote \dorecurse{9}{\footnote{Footnote \recurselevel}}.

\setupfootnotes[bodyfont={small,ss}]

 \startitemize[2,packed]
    \item  The base font is Dolly at \the\bodyfontsize.
    \item  Math is typeset with Times $c = \sqrt{a^2 + b^2}$
    \item  The math-font is Tx-font
    \item  The first footnote should be typeset with Dolly font.
    \item  The second footnote should be typeset in Helvetica
           \dorecurse{4}{\footnote{Is this Helvetica, google ? \recurselevel}}.
 \stopitemize

{\tt So it is indeed the case, that all environments switch to a base-body-font if setup with \type{\setupbodyfont}}
\stoptext
