From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/113028 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Rik Kabel via ntg-context Newsgroups: gmane.comp.tex.context Subject: Undefined control sequence \??markingfilter, with MWE to recreate Date: Sat, 9 Oct 2021 15:53:11 -0400 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1040132866860525140==" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28771"; 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: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Oct 09 21:53:50 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 1mZIPl-0007Lr-Oc for gctc-ntg-context-518@m.gmane-mx.org; Sat, 09 Oct 2021 21:53:49 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 82FCA287D60; Sat, 9 Oct 2021 21:53:20 +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 VQfLvNmptE2a; Sat, 9 Oct 2021 21:53:18 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 99A1328898D; Sat, 9 Oct 2021 21:53:18 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 0D02F288989 for ; Sat, 9 Oct 2021 21:53:17 +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 jmjawZTU2wm7 for ; Sat, 9 Oct 2021 21:53:16 +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 DA5EF287D60 for ; Sat, 9 Oct 2021 21:53:15 +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 4HRbMY4VVcz4Dx4 for ; Sat, 9 Oct 2021 15:53:13 -0400 (EDT) Content-Language: en-US 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:113028 Archived-At: This is a multi-part message in MIME format. --===============1040132866860525140== Content-Type: multipart/alternative; boundary="------------zmG03MrYOG18fYEF4GMsKKSh" Content-Language: en-US This is a multi-part message in MIME format. --------------zmG03MrYOG18fYEF4GMsKKSh Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 --------------zmG03MrYOG18fYEF4GMsKKSh Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

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

--------------zmG03MrYOG18fYEF4GMsKKSh-- --===============1040132866860525140== 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== --===============1040132866860525140==--