From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113094 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Marcus Vinicius Mesquita via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: undefined command in current latest Date: Wed, 13 Oct 2021 07:47:45 -0300 Message-ID: References: <8d333079-7dd1-cc94-b336-b5e1be47fdb7@fastwebnet.it> <40657f2a-c07e-76b9-1e1f-71e9b7ee7633@xs4all.nl> Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0796679279723677110==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="401"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Marcus Vinicius Mesquita To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Wed Oct 13 12:48:31 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 1maboF-000AT2-5T for gctc-ntg-context-518@m.gmane-mx.org; Wed, 13 Oct 2021 12:48:31 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 21A55288A3B; Wed, 13 Oct 2021 12:48:06 +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 MLKsNujILGrB; Wed, 13 Oct 2021 12:48:03 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id B6C10288A3D; Wed, 13 Oct 2021 12:48:03 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 18E28288A3B for ; Wed, 13 Oct 2021 12:48:02 +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 YLvn03dbHlaR for ; Wed, 13 Oct 2021 12:48:00 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.215.170; helo=mail-pg1-f170.google.com; envelope-from=marcusvinicius.mesquita@gmail.com; receiver= Original-Received: from mail-pg1-f170.google.com (mail-pg1-f170.google.com [209.85.215.170]) (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 8A696288A03 for ; Wed, 13 Oct 2021 12:48:00 +0200 (CEST) Original-Received: by mail-pg1-f170.google.com with SMTP id g184so1930914pgc.6 for ; Wed, 13 Oct 2021 03:48:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=WFoRtfGVM55tqXm1kqK67OT0NGQVTq/zkhEWt2BhTQc=; b=cmsucsWWe/Cv1HWW5c2r1VfFw9Sm0d8rZ2Yxgw0l1PoXe9qlviBBdwDOq5szvjjBkt 7X7L11cy266JrDrg0pwEzfOGDHQqzh36YgTrhy0gYcCmvNLOrH58QYF7EbKXRG8qro+9 CTRVMvxYCKdixfK3/+N0H41ChjRYnMsKHXCklAFk6bQ9HP1Rin90R/Pc6vczoZGaVSNN 1NE/oteqKCmjRKxz/DSvy31HYjsUfX3HnVVgFtZNBtklXCnYqq+9v7VniuhaYMQwu7ex eKe7dqlpb5E6rBw5iD+E5blQHYS27tUgfJL396BlAIYnjJPencTVtl0v3PKJhsyyaeNk yT+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=WFoRtfGVM55tqXm1kqK67OT0NGQVTq/zkhEWt2BhTQc=; b=Qd6iWwZmovS5XPFGbrDkJkl1xQI0dEPpHx9Z13H+PO3dixg8VBGaHj/KHM6hOndSVL 465m+8Q1p+lXqJzaj30n4uozRM40lWV6XALiHYhHo05I14Q/Bc1H0bvnwIJAp/gtg5DM mM9LROUSxlhWVDW67icybVSoY+H2WMmqgsuFoqfj+xIPbF1AHsL5LU+QfInfNDdRk+ES i5y8l+z5yhRVzMLn5uIc+uitaF2M/g+rvZ7cUFLfdEczK/PsK+gd58xMEklz7CpnnMHy APhYCS1xc5731Y2/tfs4Yf9kTMyc/an0G5VWk3qPb+jAQ+pu1LUuWrte1TWEheyCq/eB sN+g== X-Gm-Message-State: AOAM530xT+BSIUkVUjszCw1FcP1pDXpK2e+bxpZtGdR//OhCDLYaVB7S 7CtVfouwvaey2NUKnqzxZTeenbTymOD9yczM2lfwfEHnp08= X-Google-Smtp-Source: ABdhPJwm44b4xhu0+jtCkeUGF2dHtBD1cEOjJYeF8gEpwvig4IMYtPSxurcsG+k70UYnpAZLqIOqK6N6X5q/G2JS+nE= X-Received: by 2002:a63:91c3:: with SMTP id l186mr14349143pge.234.1634122077520; Wed, 13 Oct 2021 03:47:57 -0700 (PDT) In-Reply-To: <40657f2a-c07e-76b9-1e1f-71e9b7ee7633@xs4all.nl> 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:113094 Archived-At: --===============0796679279723677110== Content-Type: multipart/alternative; boundary="000000000000f345de05ce39b113" --000000000000f345de05ce39b113 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I noticed the same problem reported by Massi, since a lua function I use in a project as an argument of \getmarking does not get expanded anymore with the new marking code. Marcus Vinicius On Mon, Oct 11, 2021 at 8:33 AM Hans Hagen via ntg-context < ntg-context@ntg.nl> wrote: > On 10/11/2021 11:33 AM, mf via ntg-context wrote: > > It looks like the argument of \getmarking is not expanded, since you ge= t > > "\it knuth" instead of an italicized "knuth" in the headers of this MWE= : > > > > \definemarking[myheader] > > \setupheadertexts[{\getmarking[myheader][last]}] > > \starttext > > \dorecurse{10}{\samplefile{knuth}\marking[myheader]{\it knuth}\par} > > \stoptext > we switched to the new marking code; i'll sent you a file to test > > fyi: in mkii/mkiv we had to work around limitations of mark > synchronization and in mkiv that went even further; in lmtx we can use > some new engine features so the whole lot could be simplified, which > should also perfoem a little better; it means that mark content follows > a bit different route > > Hans > > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > > _________________________________________________________________________= __________ > 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 > > _________________________________________________________________________= __________ > --=20 Todas as coisas fatigam o corpo, salvo a m=C3=BAsica, que n=C3=A3o fatiga n= em o corpo nem seus membros, por ser descanso da alma, primavera do cora=C3=A7=C3=A3o,= distra=C3=A7=C3=A3o do aflito, entretenimento do solit=C3=A1rio, e vi=C3=A1tico do viajante. Kunn=C3=A2sh al-H=C3=A2'ik (Cancioneiro de al-H=C3=A2'ik) --000000000000f345de05ce39b113 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I noticed the same problem reported by Massi, since a lua = function I use in a project as an argument of \getmarking does not get expa= nded anymore with the new marking code.

Marcus Vinicius

On Mon, Oct 11, 2021 at 8:33 AM Hans Hagen via n= tg-context <ntg-context@ntg.nl= > wrote:
On 1= 0/11/2021 11:33 AM, mf via ntg-context wrote:
> It looks like the argument of \getmarking is not expanded, since you g= et
> "\it knuth" instead of an italicized "knuth" in th= e headers of this MWE:
>
> \definemarking[myheader]
> \setupheadertexts[{\getmarking[myheader][last]}]
> \starttext
>=C2=A0 =C2=A0 \dorecurse{10}{\samplefile{knuth}\marking[myheader]{\it k= nuth}\par}
> \stoptext
we switched to the new marking code; i'll sent you a file to test

fyi: in mkii/mkiv we had to work around limitations of mark
synchronization and in mkiv that went even further; in lmtx we can use
some new engine features so the whole lot could be simplified, which
should also perfoem a little better; it means that mark content follows a bit different route

Hans


-----------------------------------------------------------------
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0Hans Hagen | PRAGMA ADE
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Ridderstraat 27 | 80= 61 GH Hasselt | The Netherlands
=C2=A0 =C2=A0 =C2=A0 =C2=A0 tel: 038 477 53 69 | www.pragma-ade.nl | www.= pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________= ________
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
___________________________________________________________________________= ________


--
Todas as coisas fatigam o corpo, salvo a m=C3=BAsica, = que n=C3=A3o fatiga nem o corpo nem seus membros, por ser descanso da alma,= primavera do cora=C3=A7=C3=A3o, distra=C3=A7=C3=A3o do aflito, entretenime= nto do solit=C3=A1rio, e vi=C3=A1tico do viajante.

Kunn=C3=A2sh al-H=C3=A2'ik (Cancioneiro de al-H=C3=A2'ik)
--000000000000f345de05ce39b113-- --===============0796679279723677110== 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== --===============0796679279723677110==--