From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/101291 Path: news.gmane.org!.POSTED!not-for-mail From: Lutz Haseloff Newsgroups: gmane.comp.tex.context Subject: Re: Problems with letter module Date: Fri, 20 Jul 2018 10:20:12 +0200 Message-ID: <5174FB43-58BE-4C41-807D-14BCB7D0EFD8@toppkieker.info> References: <767a7ce6-e2f6-a770-bbe0-27576ced2976@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8091633950382234441==" X-Trace: blaine.gmane.org 1532074718 29369 195.159.176.226 (20 Jul 2018 08:18:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 20 Jul 2018 08:18:38 +0000 (UTC) User-Agent: K-9 Mail for Android To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 20 10:18:34 2018 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fgQcU-0007Wu-HU for gctc-ntg-context-518@m.gmane.org; Fri, 20 Jul 2018 10:18:34 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0193E451B0; Fri, 20 Jul 2018 10:20:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RBfbEczhDmry; Fri, 20 Jul 2018 10:20:23 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 223E2451B1; Fri, 20 Jul 2018 10:20:23 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 6DA81451B1 for ; Fri, 20 Jul 2018 10:20:21 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id laGc_MS7b1dt for ; Fri, 20 Jul 2018 10:20:20 +0200 (CEST) Original-Received: from mo4-p00-ob.smtp.rzone.de (mo4-p00-ob.smtp.rzone.de [85.215.255.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 998D2451B0 for ; Fri, 20 Jul 2018 10:20:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1532074810; s=strato-dkim-0002; d=toppkieker.info; h=Message-ID:From:To:Subject:References:In-Reply-To:Date: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=Cfw4Oc9/zMEkmOHRM/oMvHDj9Z4pt8JdMgHYnhuBGEY=; b=Ke7p+JfrE+POLF6jUOdWhcsBfT2WxjEnV0Kau0jilo176cyIukUG7HKNGi7xEHHL/2 iuE866Wilq1Jw00NEvBcLYu9XR1zp6hS+z9Abc9FPByb7d+JH5OE4aYbrP0bIaEaadDW JMV508pCpXkG47VBHMm2xKttKAfBhJFYLrk5H/BQKT4/2nOq7en800SB53QvBTo9fHAt xX/Dwpao4usRNczAf2nL0c6RylyuEuqKyvA3aSomHj1wm26Yk57lY80qctB38dD9oSx5 DeeLsy8wtcJ1exH+J+IPU1iBmPQOukCWanrPyD9TH+/t2j3dxeywx354bHm64z9tIdqv nc7g== X-RZG-AUTH: ":IHkQbw6geuzPHokbjwREyaVCwUnRg4l4M61DnCKQiup5oU3VJYnTARnVQHs13o8YCQG2Xdax2D10whzwFE6d4FVKz88zLEROgjwP4+8vng==" X-RZG-CLASS-ID: mo00 Original-Received: from [IPv6:2a01:598:a080:8286:1:2:d5f6:da41] by smtp.strato.de (RZmta 43.13 AUTH) with ESMTPSA id 605af7u6K8K9oez (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp384r1 with 384 ECDH bits, eq. 7680 bits RSA)) (Client did not present a certificate) for ; Fri, 20 Jul 2018 10:20:09 +0200 (CEST) In-Reply-To: <767a7ce6-e2f6-a770-bbe0-27576ced2976@gmail.com> X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:101291 Archived-At: --===============8091633950382234441== Content-Type: multipart/alternative; boundary="----OYFLF5LOUR0WQ9PPO9I9LRP0SFH35O" Content-Transfer-Encoding: 7bit ------OYFLF5LOUR0WQ9PPO9I9LRP0SFH35O Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 w= ay to use them in my letter=2E Am 20=2E Juli 2018 09:17:23 MESZ schrieb Henri Menke : > > >On 20/07/18 17:17, Lutz Haseloff wrote: >> Hi Wolfgang, hi all, >>=20 >> I would like to use the letter module=2E >>=20 >> With my minimal letter i don't get pagenumbering and background >working=2E >> They don't appear in the pdf=2E >>=20 >> ------ >> \setupbodyfont[cambria] >> \usemodule[letter] >> \useletterstyle[dinb] >> \mainlanguage[de] >> \starttext >> \setupletter >> [signature=3D{Unterschrift}, >> fromname=3D{Absender}, >> fromaddress=3D{Stra=C3=9Fe\\Ort}, >> toname=3D{An}, >> toaddress=3D{Adresse}] >> % correspondence=2Epdf, p=2E 73 >> \startsetups letter:head >> \rightaligned{Seite \correspagenumber\ von \numberofcorrespages} >> \stopsetups >> % correspondence=2Epdf, p=2E 71 >> \startuseMPgraphic{dactylus} >> draw unitsquare xyscaled (OverlayWidth-2cm,OverlayHeight-2cm) >> smoothed 1cm withpen pencircle scaled 2 ; >> fill fullcircle scaled 1=2E5cm shifted (1cm,1cm) >> withcolor \MPcolor{orange} ; >> \stopuseMPgraphic >> \setupletterstyle[background=3D\useMPgraphic{dactylus}] > >\setupletteroptions[background=3D\useMPgraphic{dactylus}] > >Some things have changed internally but the documentation hasn't been=20 >updated=2E > >>=20 >> \startletter >> [opening=3D{Anrede}, >> subject=3D{Betreff}, >> closing=3D{Gru=C3=9F}] >> \input tufte >>=20 >> \input knuth >>=20 >> \input ward >> \stopletter >> \stoptext >> ------ >>=20 >> Recent context beta, luatex 1=2E08 6731 >>=20 >>=20 >> Greetings Lutz >>=20 >>=20 >> >_________________________________________________________________________= __________ >> If your question is of interest to others as well, please add an >entry to the Wiki! >>=20 >> maillist : ntg-context@ntg=2Enl / >http://www=2Entg=2Enl/mailman/listinfo/ntg-context >> webpage : http://www=2Epragma-ade=2Enl / http://context=2Eaanhet=2Enet >> archive : https://bitbucket=2Eorg/phg/context-mirror/commits/ >> wiki : http://contextgarden=2Enet >> >_________________________________________________________________________= __________ >>=20 >_________________________________________________________________________= __________ >If your question is of interest to others as well, please add an entry >to the Wiki! > >maillist : ntg-context@ntg=2Enl / >http://www=2Entg=2Enl/mailman/listinfo/ntg-context >webpage : http://www=2Epragma-ade=2Enl / http://context=2Eaanhet=2Enet >archive : https://bitbucket=2Eorg/phg/context-mirror/commits/ >wiki : http://contextgarden=2Enet >_________________________________________________________________________= __________ ------OYFLF5LOUR0WQ9PPO9I9LRP0SFH35O Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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=2E


Am 20=2E Juli 2018 09:17:23 MESZ schrie= b Henri Menke <henrimenke@gmail=2Ecom>:


On 20/07/18 17:17, Lutz Haseloff wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin: 0pt 0pt 1ex 0=2E8ex; bord= er-left: 1px solid #729fcf; padding-left: 1ex;"> Hi Wolfgang, hi all,
<= br> I would like to use the letter module=2E

With my minimal lette= r i don't get pagenumbering and background working=2E
They don't appear= in the pdf=2E

------
\setupbodyfont[cambria]
\usemodule[l= etter]
\useletterstyle[dinb]
\mainlanguage[de]
\starttext
\= setupletter
[signature=3D{Unterschrift},
fromname=3D{Absender},
= fromaddress=3D{Stra=C3=9Fe\\Ort},
toname=3D{An},
toaddress=3D{Adre= sse}]
% correspondence=2Epdf, p=2E 73
\startsetups letter:head
= \rightaligned{Seite \correspagenumber\ von \numberofcorrespages}
\stops= etups
% correspondence=2Epdf, p=2E 71
\startuseMPgraphic{dactylus}<= br> draw unitsquare xyscaled (OverlayWidth-2cm,OverlayHeight-2cm)
smoot= hed 1cm withpen pencircle scaled 2 ;
fill fullcircle scaled 1=2E5cm shi= fted (1cm,1cm)
withcolor \MPcolor{orange} ;
\stopuseMPgraphic
\= setupletterstyle[background=3D\useMPgraphic{dactylus}]

= \setupletteroptions[background=3D\useMPgraphic{dactylus}]

Some thing= s have changed internally but the documentation hasn't been
updated=2E<= br>

\startletter<= br> [opening=3D{Anrede},
subject=3D{Betreff},
closing=3D{Gru=C3=9F}= ]
\input tufte

\input knuth

\input ward
\stoplett= er
\stoptext
------

Recent context beta, luatex 1=2E08 673= 1


Greetings Lutz




If your question is of= interest to others as well, please add an entry to the Wiki!

mail= list : ntg-context@ntg=2Enl / http://www=2Entg=2Enl/mailman/listinfo/ntg-context webpage : http://www=2Epragma-a= de=2Enl / http://context=2Eaa= nhet=2Enet
archive : https://bitbucket=2Eorg/phg/context-mirror/commits/<= br> wiki : http://contextgarden= =2Enet





If your question is of inte= rest to others as well, please add an entry to the Wiki!

maillist : = ntg-context@ntg=2Enl / http://www=2Entg=2Enl/mailman/listinfo/ntg-context
webpag= e : http://www=2Epragma-ade=2Enl<= /a> / http://context=2Eaanhet=2En= et
archive : https://bitbucket=2Eorg/phg/context-mirror/commits/
wiki = : http://contextgarden=2Enet<= br>
------OYFLF5LOUR0WQ9PPO9I9LRP0SFH35O-- --===============8091633950382234441== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f --===============8091633950382234441==--