From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113029 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rik Kabel via ntg-context Newsgroups: gmane.comp.tex.context Subject: Re: Undefined control sequence \??markingfilter, with MWE to recreate Date: Sat, 9 Oct 2021 15:57:48 -0400 Message-ID: <9a366e40-53a8-dfac-006e-e43f2a39c642@rik.users.panix.com> References: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1922811087757080528==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8431"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Firefox/91.0 Thunderbird/91.1.2 Cc: Rik Kabel To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 09 21:58:11 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 1mZITy-0001zf-Nq for gctc-ntg-context-518@m.gmane-mx.org; Sat, 09 Oct 2021 21:58:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id D731D288984; Sat, 9 Oct 2021 21:57:54 +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 diaGg2zEmOcq; Sat, 9 Oct 2021 21:57:53 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 9938128898E; Sat, 9 Oct 2021 21:57:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CEF54288984 for ; Sat, 9 Oct 2021 21:57:51 +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 RD2JruZ_MSiu for ; Sat, 9 Oct 2021 21:57:50 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=166.84.1.89; helo=mailbackend.panix.com; envelope-from=context@rik.users.panix.com; receiver= Original-Received: from mailbackend.panix.com (mailbackend.panix.com [166.84.1.89]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 6E534287D60 for ; Sat, 9 Oct 2021 21:57:50 +0200 (CEST) Original-Received: from [192.168.1.106] (cpe-69-204-136-231.nycap.res.rr.com [69.204.136.231]) by mailbackend.panix.com (Postfix) with ESMTPSA id 4HRbSs247Cz4F4d for ; Sat, 9 Oct 2021 15:57:49 -0400 (EDT) Content-Language: en-US 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:113029 Archived-At: This is a multi-part message in MIME format. --===============1922811087757080528== Content-Type: multipart/alternative; boundary="------------5olfaNYfaanyjqifwRZysGuZ" Content-Language: en-US This is a multi-part message in MIME format. --------------5olfaNYfaanyjqifwRZysGuZ Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Note, this is not a problem in MkIV, just LMTX On 10/9/2021 15:53, Rik Kabel via ntg-context wrote: > > Error with 20211008 ConTeXt: > > ConTeXt  ver: 2021.10.08 20:18 LMTX fmt: 2021.10.9  int: > english/english > > ... > > tex error       > tex error on line 1 in file ./mmm.tex: Undefined > control sequence \??markingfilter > > > > >     \csname \??markingfilter >     \v!default \endcsname {chapter} > \sectionheadmarkingtitle >     #1#2->\clf_markingtitle {#1}{#2 >     } > \strc_markings_get_yes >     ...rking \begincsname \??markingclass #1\endcsname > {#2}{#3}}\fi \orelse \ifparameter #2\or \markingcommand > {#1}{\csname \??markingfilter #2\endcsname {#1}}\else > \markingcommand {#1}{\csname \??markingfilter \v!default > \endcsname {#1}} >     \fi \endgroup ... > > >     \fi > \page_layouts_process_element_indeed >     ...andcolor #1#2\begincsname \??layouttextstrut > \layoutelementparameter \c!strut \endcsname \ignorecrlf \edef > \p_width {\layoutelementparameter #3}\ifempty \p_width \else > \expandafter \page_layouts_process_element_limited \fi \p_text >     \endgroup > \currentlayoutelement >     ...kern -\makeupwidth \fi \letfromlayoutelementparameter > \p_text \c!righttext \ifempty \p_text \kern \makeupwidth \else > \hbox to \makeupwidth \bgroup \hss > \page_layouts_process_element_indeed \c!rightstyle \c!rightcolor > \c!rightwidth >     \egroup \fi >  ... > > >     \stoptext > >  1 >> >  2     %\setupheadertexts [][][{\it\getmarking[chapter]}][] % fails >  3     \setupheadertexts [][][{\getmarking[chapter]}][] % fails >  4     %\setupheadertexts [][][\getmarking[chapter]][] % succeeds > > MWE to create. Note that the \it is not necessary to trigger the > error, just the braces. > > %\setupheadertexts [][][{\it\getmarking[chapter]}][]  % fails > \setupheadertexts [][][{\getmarking[chapter]}][]     % fails > %\setupheadertexts [][][\getmarking[chapter]][]       % succeeds > > \starttext > > \chapter{abc} > abc > \chapter{def} > def > \stoptext > > -- > Rik > > > ___________________________________________________________________________________ > 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 > ___________________________________________________________________________________ --------------5olfaNYfaanyjqifwRZysGuZ Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

Note, this is not a problem in MkIV, just LMTX

On 10/9/2021 15:53, Rik Kabel via ntg-context wrote:

Error with 20211008 ConTeXt:

ConTeXt  ver: 2021.10.08 20:18 LMTX  fmt: 2021.10.9  int: english/english

...

tex error       > tex error on line 1 in file ./mmm.tex: Undefined control sequence \??markingfilter



<argument>
    \csname \??markingfilter
    \v!default \endcsname {chapter}
<macro> \sectionheadmarkingtitle
    #1#2->\clf_markingtitle {#1}{#2
    }
<macro> \strc_markings_get_yes
    ...rking \begincsname \??markingclass #1\endcsname {#2}{#3}}\fi \orelse \ifparameter #2\or \markingcommand {#1}{\csname \??markingfilter #2\endcsname {#1}}\else \markingcommand {#1}{\csname \??markingfilter \v!default \endcsname {#1}}
    \fi \endgroup ...
<to be read again>
    
    \fi
<macro> \page_layouts_process_element_indeed
    ...andcolor #1#2\begincsname \??layouttextstrut \layoutelementparameter \c!strut \endcsname \ignorecrlf \edef \p_width {\layoutelementparameter #3}\ifempty \p_width \else \expandafter \page_layouts_process_element_limited \fi \p_text
    \endgroup
<macro> \currentlayoutelement
    ...kern -\makeupwidth \fi \letfromlayoutelementparameter \p_text \c!righttext \ifempty \p_text \kern \makeupwidth \else \hbox to \makeupwidth \bgroup \hss \page_layouts_process_element_indeed \c!rightstyle \c!rightcolor \c!rightwidth
    \egroup \fi
 ...

<line 3.12>
    \stoptext

 1 >>  
 2     %\setupheadertexts [][][{\it\getmarking[chapter]}][]  % fails
 3     \setupheadertexts [][][{\getmarking[chapter]}][]     % fails
 4     %\setupheadertexts [][][\getmarking[chapter]][]       % succeeds

MWE to create. Note that the \it is not necessary to trigger the error, just the braces.

%\setupheadertexts [][][{\it\getmarking[chapter]}][]  % fails
\setupheadertexts [][][{\getmarking[chapter]}][]     % fails
%\setupheadertexts [][][\getmarking[chapter]][]       % succeeds

\starttext

\chapter{abc}
abc
\chapter{def}
def
\stoptext

--
Rik


___________________________________________________________________________________
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
___________________________________________________________________________________
--------------5olfaNYfaanyjqifwRZysGuZ-- --===============1922811087757080528== 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== --===============1922811087757080528==--