From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/103606 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Context NTG Newsgroups: gmane.comp.tex.context Subject: Meptapost Drawing not showing-up in Context Letter Style Date: Sun, 10 Mar 2019 15:59:53 +0000 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1895458719705919272==" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="168233"; mail-complaints-to="usenet@blaine.gmane.org" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Mar 10 16:58:56 2019 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 esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1h30ql-000hZq-LW for gctc-ntg-context-518@m.gmane.org; Sun, 10 Mar 2019 16:58:55 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 07E2EF9C77; Sun, 10 Mar 2019 16:58:36 +0100 (CET) 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 DIJ8UNIU5D6F; Sun, 10 Mar 2019 16:58:34 +0100 (CET) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id A0353F9C6F; Sun, 10 Mar 2019 16:58:34 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 295EEF9C6D for ; Sun, 10 Mar 2019 16:58:33 +0100 (CET) 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 0eO3n8MghFHf for ; Sun, 10 Mar 2019 16:58:32 +0100 (CET) Original-Received: from mail-qt1-f172.google.com (mail-qt1-f172.google.com [209.85.160.172]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 7C61BF9C69 for ; Sun, 10 Mar 2019 16:58:32 +0100 (CET) Original-Received: by mail-qt1-f172.google.com with SMTP id s1so2475869qte.5 for ; Sun, 10 Mar 2019 08:58:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wLKgENJkHg5AUaaRME0d7JrElDV1KT2vuk3V7Hk7cL4=; b=hMQCyEiqlcOJDZ32jr9m0ezq6ikeuliy7yF0aHUsn5wpuonkR/dJgaDiPFohDqsOPm nBb8Nklq49jIyP/gmcsZlWZbvYR2u/DneT94QPGxddzAC/YV7ezZbbEr+xhL/w3mppro 27AeIbZxVFnkbwOe/bF/kCi0DluD8hrse7vx0B/+xZjMG6i/rWzQzWNMXgA0FzwpZHCU 2lb+KY8/718zARAXz8u2CHfAP2Q3tCMtq6z5E4CxX5ATEIoJSGyeMC2KQHo3/TRlXFVZ YzTEFmaXBTwApGZlrWJ2JKBoNQFf391UOYOE1dxQMBNXpi/DOeix7yqpIdxvvQay3Sdt VZOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wLKgENJkHg5AUaaRME0d7JrElDV1KT2vuk3V7Hk7cL4=; b=hGvhC8f353lWfsYq/HTAyJrgh7/XfbX1T/QVjKrBdCjvfIzEAV6GcoaLJZR8lh0Bg+ nNkQZ3Rv/PnivCYUdJvO4RAOn0E591IIt+zXiL7vaXLr9+yBgtUAW8/L04iPYxLvMazf eMIXkJkwOboyPgplO8hSMEMPaDZu89YhudPpFml/Wg62U6nqW9T7oqu/SizPy8mD8iBW LpxQBg9SV8QzAk788UJeLh3gBaglo/T8AwpXj5lcnkhhavd7GPyaBbW6OZrapq2H5/I5 ElFENfUpsOibka4rBfsy0Nru0vWRzLf6sz/9X2gM3qCSnOiAuI4rlEQWr7AerCJXvIM0 fv6g== X-Gm-Message-State: APjAAAWB8n+5Cz21w710AR1NTEMr+Q2OgLfVOrGlE21o9TfafMz0rVl5 XJUElSftEp3bFlL//kSL9+h1uULj0mZbUQOImZy4yYa90LiVmg== X-Google-Smtp-Source: APXvYqxpYvmc057cV1iTDwGAzKj1nCer0KVKv3FTRxX+FVE0oCWIOc1/nkZhiKIKEvnGbCGpCu/k5LqyoR1YMDO+W1g= X-Received: by 2002:ac8:6b92:: with SMTP id z18mr3131437qts.361.1552233510606; Sun, 10 Mar 2019 08:58:30 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 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:103606 Archived-At: --===============1895458719705919272== Content-Type: multipart/alternative; boundary="000000000000021e010583bf8765" --000000000000021e010583bf8765 Content-Type: text/plain; charset="UTF-8" I am trying to get a metapost drawing as logo added to right upper corner of a DIN B style letterhead, but it does not show up, just the letter itself. Is there anything to change to the layers for the MP toe reveal itself? Thanks, Jeroen % BEGIN MP LOGO SETUP \startuseMPgraphic{mpglogo} path p; p := (0,0)--(100,0)--(100,100)--(0,100)--cycle; path q; q := p cornered 30pt; draw q withcolor black withpen pencircle scaled 7pt; \stopuseMPgraphic \definelayer [logo] [repeat=no] \setlayer [logo] [hoffset=160mm,voffset=17mm] {\scale[width=25mm,height=25mm]{\useMPgraphic{mpglogo}}} \setupbackgrounds[page][background=logo] % END MP LOGO SETUP, BEGIN LETTER SETUP \usemodule[letter][style=dinb] \setupletterlayer [reference] [list={name,phone,email,date}] \setupletterlayer [address] [y=55mm] \setupletterdescription [enclosure] [location=top, leftmargin=0.5em, symbol=#1,] \usesymbols[mvs] \definesymbol[1][{\symbol[martinvogel 2][PointingHand]}] \setupletter [toname={John Doe}, toaddress={201, Main Street\\23124 London\\United Kingdom}, fromname={Jansen NV}, fromaddress={Waalhaven 2200\\2842 KL Rotterdam}, name={Piet jansen}, phone={+31(010)4234 4232}, email={peter.jansen@gmail.com}, date={\currentdate}, signature={\externalfigure[autograph][height=4\lineheight]\\\correspondenceparameter{name}},] % END LETTER SETUP, START LETTER \startletter [subject={Outstanding Invoices}, opening={Dear Sir,}, closing={Kind Regards,}, enclosure={list:Commercial Invoice,Accounts Statement},] \dorecurse{3}{\input knuth \par} \stopletter --000000000000021e010583bf8765 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I am trying to get a metapost drawin= g as logo=C2=A0added to right upper corner of=C2=A0a DIN B style letterhead= , but it does not show up, just the letter itself. Is there anything to cha= nge to the layers for the MP toe reveal itself?

Th= anks, Jeroen

% BEGIN MP LOGO SETUP
\star= tuseMPgraphic{mpglogo}
=C2=A0 path p;
=C2=A0 p :=3D (0,0)--(100,0)--(= 100,100)--(0,100)--cycle;
=C2=A0
=C2=A0 path q;
=C2=A0 q :=3D p c= ornered 30pt;
=C2=A0 draw q withcolor black withpen pencircle scaled 7pt= ;
\stopuseMPgraphic
\definelayer
=C2=A0 [logo]
=C2=A0 [r= epeat=3Dno]
\setlayer
=C2=A0 [logo]
=C2=A0 [hoffset=3D160mm= ,voffset=3D17mm]
=C2=A0 {\scale[width=3D25mm,height=3D25mm]{\useMPgraphi= c{mpglogo}}}
=C2=A0
\setupbackgrounds[page][background=3Dlogo]
=
% END MP LOGO SETUP, BEGIN LETTER SETUP
\usemodule[letter][s= tyle=3Ddinb]
\setupletterlayer
=C2=A0 [reference]
=C2=A0 [l= ist=3D{name,phone,email,date}]
=C2=A0
\setupletterlayer
=C2=A0 [a= ddress]
=C2=A0 [y=3D55mm]
=C2=A0
\setupletterdescription
=C2= =A0 [enclosure]
=C2=A0 [location=3Dtop,
=C2=A0 leftmargin=3D0.5em, =
=C2=A0 symbol=3D#1,]
\usesymbols[mvs]
\definesymbol[1][{\s= ymbol[martinvogel 2][PointingHand]}]
\setupletter
=C2=A0 [tona= me=3D{John Doe},
=C2=A0 toaddress=3D{201, Main Street\\23124 London\\Uni= ted Kingdom},
=C2=A0 fromname=3D{Jansen NV},
=C2=A0 fromaddress=3D{Wa= alhaven 2200\\2842 KL Rotterdam},
=C2=A0 name=3D{Piet jansen},
=C2=A0= phone=3D{+31(010)4234 4232},
=C2=A0 email=3D{peter.jansen@gmail.com},
=C2=A0 date=3D{\currentdate= },
=C2=A0 signature=3D{\externalfigure[autograph][height=3D4\lineheight]= \\\correspondenceparameter{name}},]
% END LETTER SETUP, START LET= TER
=C2=A0
\startletter
=C2=A0 [subject=3D{Outstanding Invoices},=
=C2=A0 opening=3D{Dear Sir,},
=C2=A0 closing=3D{Kind Regards,},
= =C2=A0 enclosure=3D{list:Commercial Invoice,Accounts Statement},]
\dorecurse{3}{\input knuth \par}
\stopletter
--000000000000021e010583bf8765-- --===============1895458719705919272== 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 X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============1895458719705919272==--