ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: Problems with letter module
Date: Fri, 20 Jul 2018 19:17:23 +1200	[thread overview]
Message-ID: <767a7ce6-e2f6-a770-bbe0-27576ced2976@gmail.com> (raw)
In-Reply-To: <AB9C3152-10C9-4BCF-B76E-4EFAF1293263@toppkieker.info>



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

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-07-20  5:17 Lutz Haseloff
2018-07-20  7:17 ` Henri Menke [this message]
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=767a7ce6-e2f6-a770-bbe0-27576ced2976@gmail.com \
    --to=henrimenke@gmail.com \
    --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).