ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Rik Kabel via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Rik Kabel <ConTeXt@rik.users.panix.com>
Subject: Undefined control sequence \??markingfilter, with MWE to recreate
Date: Sat, 9 Oct 2021 15:53:11 -0400	[thread overview]
Message-ID: <a20909c0-eb31-ab95-692e-586a67961938@rik.users.panix.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2152 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 3195 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

             reply	other threads:[~2021-10-09 19:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-09 19:53 Rik Kabel via ntg-context [this message]
2021-10-09 19:57 ` Rik Kabel via ntg-context
2021-10-10 10:28 ` Hans Hagen via ntg-context

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a20909c0-eb31-ab95-692e-586a67961938@rik.users.panix.com \
    --to=ntg-context@ntg.nl \
    --cc=ConTeXt@rik.users.panix.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).