From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/112147 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: Re: reusableMPgraphic Date: Thu, 15 Jul 2021 16:10:44 -0500 Message-ID: References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4399180230029042132==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40339"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Jul 15 23:11:23 2021 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m48de-000AIE-CH for gctc-ntg-context-518@m.gmane-mx.org; Thu, 15 Jul 2021 23:11:22 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D3E3A285C45; Thu, 15 Jul 2021 23:11:01 +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 2DJghojbck8z; Thu, 15 Jul 2021 23:11:00 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 69057285C4A; Thu, 15 Jul 2021 23:11:00 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 48AF2285C45 for ; Thu, 15 Jul 2021 23:10:58 +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 M4XsdMTc0YKf for ; Thu, 15 Jul 2021 23:10:56 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.43; helo=mail-wr1-f43.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 94045285C36 for ; Thu, 15 Jul 2021 23:10:56 +0200 (CEST) Original-Received: by mail-wr1-f43.google.com with SMTP id d12so9484239wre.13 for ; Thu, 15 Jul 2021 14:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=nxu+hfbp6mKUDdF3YDeMHlW2Ez4jvg3OqLr9M0N1qqI=; b=SA+aq5DEUTAh1dYYsyD3dgmZvYFMLroWFUQbxdw2HIkWzmOHP4+jHZNdZkXCQkpsez RCRNG61sYSYf5fxL6wtZTpzbp+43WOUk1v7bMb1rlaoGgDITqhGc3/onRymv7w9CcaNH SufvMBfzz4sypQm2k07Cfb0kJCQbZ/f5H0sstLRYskpWaqyRHrY1EDXCfx6HWMBAG/3e GVl/TQ/7kUJvmFJnBUumM8cFotaWZUndjuWPURNrhArQ6s82vrmFVJ94XXC+0PHjS7CY 9zttspusgXassUicqLZmOfcmR2ew3vGE6zRC2Ghw3aLYMtJ8IPVWVx3/4zKFd9Zabcfy 5VOw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=nxu+hfbp6mKUDdF3YDeMHlW2Ez4jvg3OqLr9M0N1qqI=; b=lp5Ubckb9hTPC/JqKoO/n3yBapr3PRqPA3dKg7eLyOE3RT4z7k/LL5dH705Yq/padB 0qDTXKqb/nIbkFz0vIfozoUWU4bFq/WsW2EEXmx/2IblFqs5CQfuOlBdD//gggHWkZJa 5OuomOax5yfzfYSqI2KbD0eV8DGDOZx8b1BENGeElcV5ZTzB+jd44uT0SC/9Y6kQ4GQY 2yxXBqR9bbjkZOrFP/cOFqPDbC+iLDrpfMCgu6DdTaLnZ59/kZHVIrBwsTySn6a/BZmq H4fR6eCxOwwKvX/WIUVkBF0cw05EYa/IM2gDoGnn9iz/nbdwdQlZBe0J7UABYheJZ6F4 Cpow== X-Gm-Message-State: AOAM530ys0aUAFqz9G7QyrTLrwNvDpIKgRE3KgD/OsYIfJuHHjILKu04 OgGXwjpN/6WQZOLD+ADrMMZYXEujj1E/Z15KQ4k+qUoL X-Google-Smtp-Source: ABdhPJy74/rPBMULQZ35wiqqMbD9LOSerbPklkCe0H8Iposw+RDS2BJPGNoNQuFekAekjgJfssIhgKz8uL7xlpL/Lgg= X-Received: by 2002:adf:e488:: with SMTP id i8mr8061886wrm.285.1626383456159; Thu, 15 Jul 2021 14:10:56 -0700 (PDT) In-Reply-To: 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.io gmane.comp.tex.context:112147 Archived-At: --===============4399180230029042132== Content-Type: multipart/alternative; boundary="0000000000002c4b8b05c72fe842" --0000000000002c4b8b05c72fe842 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, list! Is this already fixed in a new upload? I'm compiling old documents and having the same problem as Thomas, although Wolfgang's comment fixes it nicely. Cordially, Jairo El lun, 12 de jul. de 2021 a la(s) 11:18, Wolfgang Schuster ( wolfgang.schuster.lists@gmail.com) escribi=C3=B3: > Thomas A. Schmitz schrieb am 12.07.2021 um 18:02: > > Hi all, > > > > I don=E2=80=99t know if I=E2=80=99m overlooking something really basic = or if this is a > bug. The following MWE compiles with mkiv, but not with lmtx: > > > > \startreusableMPgraphic{fold} > > fill unitsquare xyscaled (1mm,1mm) withcolor blue ; > > \stopreusableMPgraphic > > > > \definelayer[foldingmarkslayer][width=3D\paperwidth,height=3D\paperheig= ht] > > \setlayer[foldingmarkslayer][y=3D101mm,x=3D11mm]{\reuseMPgraphic{fold}} > > > > \setupbackgrounds [page][background=3Dfoldingmarkslayer] > > > > \starttext > > > > Test > > > > \stoptext > > > > The error I get: > > > > tex error on line 6 in file ./test.tex: Use of \meta_usempgraphic_nop > doesn't match its definition > > > > Any pointers? Thanks > > meta-ini.mkxl > > -\def\meta_usempgraphic_nop#=3D#*#=3D% > +\tolerant\def\meta_usempgraphic_nop#=3D#*#=3D% > {\meta_begin_graphic_group{#1}% > ... > \meta_end_graphic_group} > > Wolfgang > > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --0000000000002c4b8b05c72fe842 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi, list! Is this already fixed in a new upload?= I'm compiling old documents and having the same problem as Thomas, alt= hough Wolfgang's comment fixes it nicely.

Cordially,
Jairo

El lun, 12 de jul. de 2021 a la(s) 11:18, Wolfgang Schuste= r (wolfgang.schuster.l= ists@gmail.com) escribi=C3=B3:
Thomas A. Schmitz schrieb am 12.07.2021 um 18:02:
> Hi all,
>
> I don=E2=80=99t know if I=E2=80=99m overlooking something really basic= or if this is a bug. The following MWE compiles with mkiv, but not with lm= tx:
>
> \startreusableMPgraphic{fold}
>=C2=A0 =C2=A0 =C2=A0fill unitsquare xyscaled (1mm,1mm) withcolor blue ;=
> \stopreusableMPgraphic
>
> \definelayer[foldingmarkslayer][width=3D\paperwidth,height=3D\paperhei= ght]
> \setlayer[foldingmarkslayer][y=3D101mm,x=3D11mm]{\reuseMPgraphic{fold}= }
>
> \setupbackgrounds [page][background=3Dfoldingmarkslayer]
>
> \starttext
>
> Test
>
> \stoptext
>
> The error I get:
>
> tex error on line 6 in file ./test.tex: Use of \meta_usempgraphic_nop = doesn't match its definition
>
> Any pointers? Thanks

meta-ini.mkxl

-\def\meta_usempgraphic_nop#=3D#*#=3D%
+\tolerant\def\meta_usempgraphic_nop#=3D#*#=3D%
=C2=A0=C2=A0 {\meta_begin_graphic_group{#1}%
=C2=A0=C2=A0=C2=A0 ...
=C2=A0=C2=A0=C2=A0 \meta_end_graphic_group}

Wolfgang

___________________________________________________________________________= ________
If your question is of interest to others as well, please add an entry to t= he Wiki!

maillist : ntg-cont= ext@ntg.nl / http://www.ntg.nl/mailman/listinfo/nt= g-context
webpage=C2=A0 : http://www.pragma-ade.nl / http://context.aanhet.net=
archive=C2=A0 : https://bitbucket.org/phg/context-m= irror/commits/
wiki=C2=A0 =C2=A0 =C2=A0: http://contextgarden.net
___________________________________________________________________________= ________
--0000000000002c4b8b05c72fe842-- --===============4399180230029042132== 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== --===============4399180230029042132==--