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
___________________________________________________________________________________

Reply via email to