ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Lutz Haseloff <lutz.haseloff@toppkieker.info>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problems with letter module
Date: Fri, 20 Jul 2018 10:20:12 +0200	[thread overview]
Message-ID: <5174FB43-58BE-4C41-807D-14BCB7D0EFD8@toppkieker.info> (raw)
In-Reply-To: <767a7ce6-e2f6-a770-bbe0-27576ced2976@gmail.com>


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

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
>___________________________________________________________________________________

[-- Attachment #1.2: Type: text/html, Size: 3440 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  8:20 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
2018-07-20  8:20   ` Lutz Haseloff [this message]
  -- 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=5174FB43-58BE-4C41-807D-14BCB7D0EFD8@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).