Hi all, I may have missed something here: I'm aware that processing backgrounds has changed. The following example places the background layer completely different in the current beta and when processed with a version from November: \definelayer[test][x=1mm,y=1mm,width=\paperwidth,height=22mm] \setlayer[test][x=104mm,y=11mm]{\externalfigure[cow][width=56mm]} \setupbackgrounds[page][background=test] \starttext Hello \stoptext Is that to be expected (i.e. should I adapt my letter template which positions a university logo on the page), or is that a temporary glitch and has to be fixed eventually? All best Thomas
Am 08.03.2012 um 21:37 schrieb Thomas A. Schmitz:
Hi all,
I may have missed something here: I'm aware that processing backgrounds has changed. The following example places the background layer completely different in the current beta and when processed with a version from November:
\definelayer[test][x=1mm,y=1mm,width=\paperwidth,height=22mm]
\definelayer[test][width=\paperwidth,height=\paperheight] Wolfgang
Am 08.03.2012 um 22:07 schrieb Thomas A. Schmitz:
On 03/08/2012 09:46 PM, Wolfgang Schuster wrote:
\definelayer[test][width=\paperwidth,height=\paperheight]
Wolfgang
Thanks Wolfgang, this works! So the old code was - wrong, obsolete, weird?
Not sure, when you process your original example where you have to set the layer height to 22mm MkIV makes a box with a height of 22mm at the bottom of the page and moves from the top of this box 11mm downwards and your image disappears while MkII positions the box at the top of the page. Another solution with the letter module: \usemodule[letter] \defineletterelement[layer][lettermain][cow]{\externalfigure[cow][width=56mm]} \setupletterlayer [lettermain] [x=104mm, y=11mm, %state=repeat, alternative=cow] % can be used instead of \defineletterlement % %\startsetups[letter:layer:letterman] %\externalfigure[cow][width=56mm] %\stopsetups % %\setupletterlayer % [lettermain] % [x=104mm, % y=11mm, % alternative=setups] \startletter \dorecurse{10}{\input knuth\par} \stopletter Wolfgang
participants (2)
-
Thomas A. Schmitz
-
Wolfgang Schuster