Thanks Henri,

but is there a way to use a different background on page 2?
I found \v!firstpage and \v!secondpage in the sources but didn't found a way to use them in my letter.


Am 20. Juli 2018 09:17:23 MESZ schrieb Henri Menke <henrimenke@gmail.com>:


On 20/07/18 17:17, Lutz Haseloff wrote:
Hi Wolfgang, hi all,

I would like to use the letter module.

With my minimal letter i don't get pagenumbering and background working.
They don't appear in the pdf.

------
\setupbodyfont[cambria]
\usemodule[letter]
\useletterstyle[dinb]
\mainlanguage[de]
\starttext
\setupletter
[signature={Unterschrift},
fromname={Absender},
fromaddress={Straße\\Ort},
toname={An},
toaddress={Adresse}]
% correspondence.pdf, p. 73
\startsetups letter:head
\rightaligned{Seite \correspagenumber\ von \numberofcorrespages}
\stopsetups
% correspondence.pdf, p. 71
\startuseMPgraphic{dactylus}
draw unitsquare xyscaled (OverlayWidth-2cm,OverlayHeight-2cm)
smoothed 1cm withpen pencircle scaled 2 ;
fill fullcircle scaled 1.5cm shifted (1cm,1cm)
withcolor \MPcolor{orange} ;
\stopuseMPgraphic
\setupletterstyle[background=\useMPgraphic{dactylus}]

\setupletteroptions[background=\useMPgraphic{dactylus}]

Some things have changed internally but the documentation hasn't been
updated.


\startletter
[opening={Anrede},
subject={Betreff},
closing={Gruß}]
\input tufte

\input knuth

\input ward
\stopletter
\stoptext
------

Recent context beta, luatex 1.08 6731


Greetings Lutz




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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net