ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* undefined command in current latest
@ 2021-10-11  7:06 Alexandre Christe via ntg-context
  2021-10-11  9:33 ` mf via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Alexandre Christe via ntg-context @ 2021-10-11  7:06 UTC (permalink / raw)
  To: ntg-context; +Cc: Alexandre Christe


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

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

[-- Attachment #1.2: Type: text/html, Size: 2522 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: undefined command in current latest
  2021-10-11  7:06 undefined command in current latest Alexandre Christe via ntg-context
@ 2021-10-11  9:33 ` mf via ntg-context
  2021-10-11 11:32   ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: mf via ntg-context @ 2021-10-11  9:33 UTC (permalink / raw)
  To: ntg-context; +Cc: mf

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: undefined command in current latest
  2021-10-11  9:33 ` mf via ntg-context
@ 2021-10-11 11:32   ` Hans Hagen via ntg-context
  2021-10-13 10:47     ` Marcus Vinicius Mesquita via ntg-context
  0 siblings, 1 reply; 6+ messages in thread
From: Hans Hagen via ntg-context @ 2021-10-11 11:32 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Hans Hagen

On 10/11/2021 11:33 AM, mf via ntg-context wrote:
> 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
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: undefined command in current latest
  2021-10-11 11:32   ` Hans Hagen via ntg-context
@ 2021-10-13 10:47     ` Marcus Vinicius Mesquita via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Marcus Vinicius Mesquita via ntg-context @ 2021-10-13 10:47 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Marcus Vinicius Mesquita


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

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


-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)

[-- Attachment #1.2: Type: text/html, Size: 3497 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* undefined command in current latest
@ 2021-10-11  8:36 Alexandre Christe via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Alexandre Christe via ntg-context @ 2021-10-11  8:36 UTC (permalink / raw)
  To: ntg-context; +Cc: Alexandre Christe

Update: after updating Context again today the issue is gone.
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

* undefined command in current latest
@ 2021-10-10 16:21 Pablo Rodriguez via ntg-context
  0 siblings, 0 replies; 6+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2021-10-10 16:21 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Pablo Rodriguez

Dear list,

I have the following sample:

  \setupheadertexts[{\getmarking[chapter]}]
  \starttext
  \chapter{Chapter}
  \stoptext

It compiles perfectly fine with MkIV from 2021.10.08 20:18, but its LMTX
version triggers the following error message:

  Undefined control sequence \??markingfilter

Previous LMTX version compiled just fine.

I think it might be a bug.

Many thanks for your help,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-10-13 10:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-11  7:06 undefined command in current latest Alexandre Christe via ntg-context
2021-10-11  9:33 ` mf via ntg-context
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

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).