ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Fatal error using \enabletrackers[paragraphs.passes=summary]
@ 2023-07-11  9:11 Keith McKay
  2023-07-11  9:37 ` Hans Hagen
  0 siblings, 1 reply; 3+ messages in thread
From: Keith McKay @ 2023-07-11  9:11 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi All

Using\enabletrackers[paragraphs.passes=summary] whilst doing some 
testing causes a fatal error after first run but pdf is produced. Here 
is the error message from the MWE:

lua error:

         run callback [6]: bad argument #2 to 'format' (number expected, 
got nil)
stack traceback:
         [C]: in function 'string.format'
         ?: in field '?'
...m64/tex/texmf-context/tex/context/base/mkxl/luat-log.lmt:184: in 
upvalue 'report'
...m64/tex/texmf-context/tex/context/base/mkxl/luat-log.lmt:397: in 
upvalue 'report'
...m64/tex/texmf-context/tex/context/base/mkxl/spac-pas.lmt:156: in 
field '?'
...m64/tex/texmf-context/tex/context/base/mkxl/luat-log.lmt:747: in 
field 'finalactions'
...m64/tex/texmf-context/tex/context/base/mkxl/luat-run.lmt:60: in 
function <...m64/tex/texmf-context/tex/context/base/mkxl/luat-run.lmt:56>

mtx-context     | fatal error: return code: 1

%%%%%%%%%%%%%%%%%%%%

Here is the MWE:

\enabletrackers[paragraphs.passes=summary]

\setupalignpass[optional1]

\starttext

\dorecurse{10}{

\input ward

\input knuth

\input darwin

}

\stoptext

%%%%%%%%%%%%%%%%%%%

Using the latest version:

ConTeXt ver: 2023.07.09 19:38 LMTX fmt: 2023.7.10 int: english/english

Best Wishes

Keith


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

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: Fatal error using \enabletrackers[paragraphs.passes=summary]
  2023-07-11  9:11 Fatal error using \enabletrackers[paragraphs.passes=summary] Keith McKay
@ 2023-07-11  9:37 ` Hans Hagen
  2023-07-11 10:09   ` Keith McKay
  0 siblings, 1 reply; 3+ messages in thread
From: Hans Hagen @ 2023-07-11  9:37 UTC (permalink / raw)
  To: Keith McKay, mailing list for ConTeXt users

On 7/11/2023 11:11 AM, Keith McKay wrote:
> Hi All
> 
> Using\enabletrackers[paragraphs.passes=summary] whilst doing some 
> testing causes a fatal error after first run but pdf is produced. Here 
> is the error message from the MWE:
in spac-pas.lmt in lines 156 and 158 you can change

classes into t.classes

and remake the format after that

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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________


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

* Re: Fatal error using \enabletrackers[paragraphs.passes=summary]
  2023-07-11  9:37 ` Hans Hagen
@ 2023-07-11 10:09   ` Keith McKay
  0 siblings, 0 replies; 3+ messages in thread
From: Keith McKay @ 2023-07-11 10:09 UTC (permalink / raw)
  To: Hans Hagen, mailing list for ConTeXt users

Thanks Hans, that works now.

Best Wishes

Keith

On 11/07/2023 10:37, Hans Hagen wrote:
> On 7/11/2023 11:11 AM, Keith McKay wrote:
>> Hi All
>>
>> Using\enabletrackers[paragraphs.passes=summary] whilst doing some 
>> testing causes a fatal error after first run but pdf is produced. 
>> Here is the error message from the MWE:
> in spac-pas.lmt in lines 156 and 158 you can change
>
> classes into t.classes
>
> and remake the format after that
>
> 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://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-07-11 10:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-11  9:11 Fatal error using \enabletrackers[paragraphs.passes=summary] Keith McKay
2023-07-11  9:37 ` Hans Hagen
2023-07-11 10:09   ` Keith McKay

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