Hello, Is there any updated documentation for the letter/correspondence module? All I can find is version 2010.08.27 and I can see from this list that things have changed, I just don't know where to find out what. Also, can anyone tell me how to remove the label above the date, how to add a pdf containing my letterheading as the page background, and how to add a horizontal line between the backaddress and the toaddress? For the page background I currently have: \setupletter[ backgroundimage={letterhead} ] but it doesn't seem to do anything. I've tried adding the file extension. Thanks, Mo.
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! Mo. On Wed, Jun 25, 2014 at 05:30:56PM +0200, Mo Abrahams wrote:
Hello,
Is there any updated documentation for the letter/correspondence module? All I can find is version 2010.08.27 and I can see from this list that things have changed, I just don't know where to find out what.
Also, can anyone tell me how to remove the label above the date, how to add a pdf containing my letterheading as the page background, and how to add a horizontal line between the backaddress and the toaddress?
For the page background I currently have:
\setupletter[ backgroundimage={letterhead} ]
but it doesn't seem to do anything. I've tried adding the file extension.
Thanks,
Mo.
-- Mo
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
participants (2)
-
Mo Abrahams
-
Wolfgang Schuster