ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* New tabulate features broken under new maths release
@ 2022-07-09 16:45 Bruce Horrocks via ntg-context
  2022-07-09 17:43 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Bruce Horrocks via ntg-context @ 2022-07-09 16:45 UTC (permalink / raw)
  To: ntg-context; +Cc: Bruce Horrocks

Hi Hans,

A few months back you announced some new tabulate features and gave some examples, from which I have taken the following MWE:

\starttext
\starttabulate[|lG{}|lG{}|]
\NC \showglyphs \setalignmentcharacter{=}111=111 \NC \setalignmentcharacter{=}111=111 \NC\NR
\stoptabulate
\stoptext


This works under "ConTeXt  ver: 2022.01.10 08:36 LMTX  fmt: 2022.1.13  int: english/english" but fails to compile under "ConTeXt  ver: 2022.07.06 21:42 LMTX  fmt: 2022.7.9  int: english/english" with the Lua error:

	callback error: ...-64/tex/texmf-context/tex/context/base/mkxl/node-ali.lmt:366: attempt to index a nil value (field '?')
stack traceback:
	...-64/tex/texmf-context/tex/context/base/mkxl/node-ali.lmt:366: in upvalue 'openup'
	...-64/tex/texmf-context/tex/context/base/mkxl/node-ali.lmt:596: in upvalue 'third_pass'
	...-64/tex/texmf-context/tex/context/base/mkxl/node-ali.lmt:613: in upvalue 'nodes_handlers_fixmathalign'
	[string "local tonut  = nodes.tonut..."]:17: in function <[string "local tonut  = nodes.tonut..."]:8>
	(...tail calls...)
	...-64/tex/texmf-context/tex/context/base/mkxl/node-pro.lmt:148: in function <...-64/tex/texmf-context/tex/context/base/mkxl/node-pro.lmt:146>	

Narrowing it down a bit, it seems to be the use of G{} as the MWE works with a plain \starttabulate[|l|l|] on the latest ConTeXt.

—
Bruce Horrocks
Hampshire, UK

___________________________________________________________________________________
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] 2+ messages in thread

* Re: New tabulate features broken under new maths release
  2022-07-09 16:45 New tabulate features broken under new maths release Bruce Horrocks via ntg-context
@ 2022-07-09 17:43 ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen via ntg-context @ 2022-07-09 17:43 UTC (permalink / raw)
  To: Bruce Horrocks via ntg-context; +Cc: Hans Hagen

On 7/9/2022 6:45 PM, Bruce Horrocks via ntg-context wrote:
> \starttext
> \starttabulate[|lG{}|lG{}|]
> \NC \showglyphs \setalignmentcharacter{=}111=111 \NC \setalignmentcharacter{=}111=111 \NC\NR
> \stoptabulate
> \stoptext

in node-ali.lmt around 615 add this if test

             if signal then
                 -- maybe also signal
                 third_pass(head,attr,preamble)
             end


-- 

-----------------------------------------------------------------
                                           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] 2+ messages in thread

end of thread, other threads:[~2022-07-09 17:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-09 16:45 New tabulate features broken under new maths release Bruce Horrocks via ntg-context
2022-07-09 17:43 ` 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).