I just found that
\definebodyfont[12pt][rm][tf=BodyFont sa 1]
\setupbodyfont[reset,12pt,BodyFont]
worked as I expected. What does the reset switch do? I can not find it documented anywhere. I just stumbled on it looking at some examples on the wiki.
paul
Paul Jones wrote:
> Hello,
>
> I am having a problem setting up a body font since updating my tex
> system to
> texlive 2007. The file below worked fine on my old tetex system, but
> alas
> the body font will no longer change. No matter what I do, I get the
> default
> roman font instead of the one I specify. The Chapter font is the correct
> font (bickham), but the body font is not. Based on this I think I
> have the
> font installed correctly. Can anyone see what I am missing. Why can
> I not
> change the body font?
>
> %output=pdftex
>
> \resetmapfiles
> \loadmapfile[texnansi-familylearn-bickham]
> \definefontsynonym[BodyFont][texnansi-pbir8a][encoding=texnansi]
>
> \definebodyfont[default][rm][tf=BodyFont sa 1]
> \setupbodyfont[default, rm]
>
does
\definebodyfontenvironment[48pt]
help (if so, you really have an old version)
> \definefont[ChapterFont][BodyFont at 48pt]
>
>
> \setuphead[chapter][style=\ChapterFont]
>
> \starttext
> \chapter{Bickham Chapter}
> Hello in Bickham font.
> \stoptext
>
> Thanks,
> paul
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ntg-context mailing list
> ntg-context@ntg.nl
> http://www.ntg.nl/mailman/listinfo/ntg-context
>
--
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context