Here's my MWE:
Objective is to typeset a Chancery font text in the upper lefthand side
of a page, and
then do the main body in some normal font. Then at the very last print
a sign off in
Chancery. For some reason I can't get both to print out as Chancery.
Only one or the
other, but not both.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definefontfamily [mwetest] [sans] [Liberation Sans]
\setupbodyfont [mwe,ss,12pt]
\definelayer[mwe][repeat=yes, preset=lefttop, hoffset=.125in, voffset=.125in]
\setlayer[mwe] { \switchtobodyfont[chancery,8pt] \hskip 5mm Chancery Font
Here }
\setupbackgrounds[page][background=mwe]
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\starttext
Normal font text goes here. \blank[4*big]
{ \switchtobodyfont[chancery] This should be Chancery here to. But isn't. }
\blank[2*big]Note that if I comment out the \type{setlayer[mwe]} in the source
file, then the above will print in Chancery.
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I'd like to have the layers in Chancery font and then one last text string in
the body in Chancery font. But I can't get them both to be Chancery. How can
that be done?
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : [email protected] / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________