ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* [NTG-context] \show treated as a fatal error with MkIV
@ 2025-07-02  4:11 Max Chernoff via ntg-context
  2025-07-02  7:32 ` [NTG-context] " Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Max Chernoff via ntg-context @ 2025-07-02  4:11 UTC (permalink / raw)
  To: ntg-context; +Cc: Max Chernoff

Hi Hans,

If you use "\show" anywhere in a document with MkIV, ConTeXt treats it
as a fatal error and immediately exits. The following document produces
the expected output with MkXL, but exits with "mtx-context | fatal
error" with MkIV:

    \show\show
    \showtokens{\showtokens}

    \starttext
        Hello, world!
    \stoptext

Thanks,
-- Max
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

* [NTG-context] Re: \show treated as a fatal error with MkIV
  2025-07-02  4:11 [NTG-context] \show treated as a fatal error with MkIV Max Chernoff via ntg-context
@ 2025-07-02  7:32 ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2025-07-02  7:32 UTC (permalink / raw)
  To: Max Chernoff via ntg-context; +Cc: Hans Hagen

On 7/2/2025 6:11 AM, Max Chernoff via ntg-context wrote:
> Hi Hans,
> 
> If you use "\show" anywhere in a document with MkIV, ConTeXt treats it
> as a fatal error and immediately exits. The following document produces
> the expected output with MkXL, but exits with "mtx-context | fatal
> error" with MkIV:

\disabledirectives[system.quitonerror]

>      \show\show
>      \showtokens{\showtokens}
> 
>      \starttext
>          Hello, world!
>      \stoptext

lmtx is a bit more granular indeed and carries on but doing that in mkiv 
would demand more code and be unreliable anyway; it's not like many 
users use \show and then go on anyway

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 / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2025-07-02  7:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-07-02  4:11 [NTG-context] \show treated as a fatal error with MkIV Max Chernoff via ntg-context
2025-07-02  7:32 ` [NTG-context] " Hans Hagen 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).