Am 26.06.2014 um 15:55 schrieb Mo Abrahams
Hello again,
I managed to get the backaddress looking how I wanted by reading again through the main ConTeXt manual. I've also got my letterhead loading as the page background to some degree like so:
\defineletterelement[layer][lettermain][Stationery]{\externalfigure[letterhead][width=210mm,height=297mm]}
\setupletterlayer [lettermain] [x=0mm, y=0mm, alternative=Stationery]
but there seems to be a tiny border around it rather than being flush to the edges of the page. I've tried other methods using layers and \setupbackgrounds but they seem to have no effect at all.
Can someone help with that?
I still haven't worked out how to remove the lavel above the date, and to make matters worse it doesn't seem to be affected by changing the document language either!
To put a image in the background you can use the “backgroundimage” key for the \setupletteroptions command, the image will then be placed in the back of each page. \usemodule[letter] \setupexternalfigures[location=default] \setupletteroptions[backgroundimage=mill] \startletter \dorecurse{6}{\input knuth\par} \stopletter You can also use the “lettermain” and “letternext” layers when you want more control about the placement of the backgrounds. What’s missing in your setup above is to remove the offset for background which can be done with \setupletterframe[…][offset=overlay], to control on which page the image is shown you can use the “state” key for \setupletterlayer. \usemodule[letter] \setupexternalfigures[location=default] \startsetups[letter:layer:lettermain] \externalfigure[mill][width=210mm,height=297mm] \stopsetups \setupletterlayer [lettermain] [x=0mm, y=0mm, %state=repeat, alternative=setups] \setupletterframe [lettermain] [offset=overlay] \startletter \dorecurse{6}{\input knuth\par} \stopletter Wolfgang