ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: mf via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: mf <massifr@fastwebnet.it>
Subject: Re: undefined command in current latest
Date: Mon, 11 Oct 2021 11:33:33 +0200	[thread overview]
Message-ID: <8d333079-7dd1-cc94-b336-b5e1be47fdb7@fastwebnet.it> (raw)
In-Reply-To: <F90BDCCD-368C-4438-B157-AB1FBA71DAA5@gmail.com>

It looks like the argument of \getmarking is not expanded, since you get 
"\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

context version: 2021.10.10 23:43

Massi


Il 11/10/21 09:06, Alexandre Christe via ntg-context ha scritto:
> Indeed I can report similar issues with \getmarking after updating to 
> the latest version of Context. Did something change regarding its 
> definition / use recently?
> 
> context -version
> mtx-context     | ConTeXt Process Management 1.04
> mtx-context     |
> mtx-context     | main context file: 
> /Users/aleks/context-osx-64/tex/texmf-context/tex/context/base/mkiv/context.mkiv
> mtx-context     | current version: 2021.10.08 20:18
> mtx-context     | main context file: 
> /Users/aleks/context-osx-64/tex/texmf-context/tex/context/base/mkxl/context.mkxl
> mtx-context     | current version: 2021.10.08 20:18
> 
> Alex
> 
___________________________________________________________________________________
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-11  9:33 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-11  7:06 Alexandre Christe via ntg-context
2021-10-11  9:33 ` mf via ntg-context [this message]
2021-10-11 11:32   ` Hans Hagen via ntg-context
2021-10-13 10:47     ` Marcus Vinicius Mesquita via ntg-context
  -- strict thread matches above, loose matches on Subject: below --
2021-10-11  8:36 Alexandre Christe via ntg-context
2021-10-10 16:21 Pablo Rodriguez 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=8d333079-7dd1-cc94-b336-b5e1be47fdb7@fastwebnet.it \
    --to=ntg-context@ntg.nl \
    --cc=massifr@fastwebnet.it \
    /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).