Am 26.05.2010 13:26, schrieb Bernhard Rosensteiner:
Hello,
please have a look at the following minimal example:
\setuppagenumbering[state=stop]
\defineornament[Bildbeschriftung][alternative=b,preset=lefttop][style=sstf]
%font assignement in style key don´t bleed through in layers
\definelayer[deviation][width=\paperwidth, height=\paperheight,
preset=lefttop]
\setlayer[deviation][hoffset=\backspace,voffset=4cm,
hoffset=1cm]{\Bildbeschriftung{This should be Sansserif
Helvetica}{\externalfigure[cow][height=.4\textheight]}}
\setupbodyfont[termes,12pt]
\starttext
\setupbackgrounds[page][background={deviation}]
\Bildbeschriftung{This should be Sansserif
Helvetica}{\externalfigure[cow][height=.4\textheight]}%here i get expected
results (i.e. Helvetica)
\stoptext
is this normal behaviour or a bug?
normal behaviour. the bodyfont is set *after* the first stuff is already
written to the layer...
Best wishes, Peter
i use ConTeXt ver: 2010.05.24 13:05 MKIV
best regards
Bernhard
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___