ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lutz Haseloff <lutz.haseloff@toppkieker.info>
To: Context Mailing List <ntg-context@ntg.nl>
Subject: Problems with letter module
Date: Fri, 20 Jul 2018 07:17:38 +0200	[thread overview]
Message-ID: <AB9C3152-10C9-4BCF-B76E-4EFAF1293263@toppkieker.info> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 1070 bytes --]

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}]

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

\input knuth

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

Recent context beta, luatex 1.08 6731


Greetings Lutz

[-- Attachment #1.2: Type: text/html, Size: 1270 bytes --]

[-- Attachment #2: Type: text/plain, Size: 492 bytes --]

___________________________________________________________________________________
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	other threads:[~2018-07-20  5:17 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20  5:17 Lutz Haseloff [this message]
2018-07-20  7:17 ` Henri Menke
2018-07-20  8:20   ` Lutz Haseloff
  -- strict thread matches above, loose matches on Subject: below --
2013-01-02  9:17 problems " Wolfgang Werners-Lucchini
2013-01-02  9:42 ` Wolfgang Schuster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AB9C3152-10C9-4BCF-B76E-4EFAF1293263@toppkieker.info \
    --to=lutz.haseloff@toppkieker.info \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).