ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* xtables regression with LMTX 2022-12-21
@ 2022-12-22 20:14 Rik Kabel via ntg-context
  2022-12-22 21:19 ` Pablo Rodriguez via ntg-context
  2022-12-22 21:30 ` Hans Hagen via ntg-context
  0 siblings, 2 replies; 4+ messages in thread
From: Rik Kabel via ntg-context @ 2022-12-22 20:14 UTC (permalink / raw)
  To: ntg-context; +Cc: Rik Kabel


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

With the latest (2022-12-21) LMTX I see a regression in xtables. The 
following code:

    \starttext
    \startxtable
       \startxrow
         \startxcell
               This is a line of text.
         \stopxcell
         \startxcell
               \contextversion
         \stopxcell
       \stopxrow
    \stopxtable
    \stoptext


produces this with 2022-12-09:

and this with 2022-12-21:

The problem appears to be LMTX-specific. (I did not save 2022-12-15 for 
testing, but did not see the problem with that version.)

-- 
Rik

[-- Attachment #1.2.1: Type: text/html, Size: 1201 bytes --]

[-- Attachment #1.2.2: Qkui0wewJB5cXk3l.png --]
[-- Type: image/png, Size: 7474 bytes --]

[-- Attachment #1.2.3: jLhcLH5SJ0DXmJF2.png --]
[-- Type: image/png, Size: 11197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

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

* Re: xtables regression with LMTX 2022-12-21
  2022-12-22 20:14 xtables regression with LMTX 2022-12-21 Rik Kabel via ntg-context
@ 2022-12-22 21:19 ` Pablo Rodriguez via ntg-context
  2022-12-22 21:31   ` Hans Hagen via ntg-context
  2022-12-22 21:30 ` Hans Hagen via ntg-context
  1 sibling, 1 reply; 4+ messages in thread
From: Pablo Rodriguez via ntg-context @ 2022-12-22 21:19 UTC (permalink / raw)
  To: Rik Kabel via ntg-context; +Cc: Pablo Rodriguez

On 12/22/22 21:14, Rik Kabel via ntg-context wrote:
> With the latest (2022-12-21) LMTX I see a regression in xtables. The
> following code:
> […]
> The problem appears to be LMTX-specific. (I did not save 2022-12-15 for
> testing, but did not see the problem with that version.)

Hi Rik,

I can confirm that the regression only arises in LMTX and in current
latest. With LMTX from 2022.12.15 18:12, the xtable is fine.

It seems to be related to the replacement of \newdimen and \newcount
with \newdimension and \newinteger (which Hans mentioned in
https://mailman.ntg.nl/pipermail/ntg-context/2022/107452.html).

Just in case it helps,

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

* Re: xtables regression with LMTX 2022-12-21
  2022-12-22 20:14 xtables regression with LMTX 2022-12-21 Rik Kabel via ntg-context
  2022-12-22 21:19 ` Pablo Rodriguez via ntg-context
@ 2022-12-22 21:30 ` Hans Hagen via ntg-context
  1 sibling, 0 replies; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-22 21:30 UTC (permalink / raw)
  To: Rik Kabel via ntg-context; +Cc: Hans Hagen

On 12/22/2022 9:14 PM, Rik Kabel via ntg-context wrote:
> With the latest (2022-12-21) LMTX I see a regression in xtables. The 
> following code:
> 
>     \starttext
>     \startxtable
>        \startxrow
>          \startxcell
>                This is a line of text.
>          \stopxcell
>          \startxcell
>                \contextversion
>          \stopxcell
>        \stopxrow
>     \stopxtable
>     \stoptext
> 
> 
> produces this with 2022-12-09:
> 
> and this with 2022-12-21:
> 
> The problem appears to be LMTX-specific. (I did not save 2022-12-15 for 
> testing, but did not see the problem with that version.)
thanks for noticing, i uploaded a new lmtx

as a reward i'll reveal a new mechanism:

\useMPlibrary[dum]

\definetextdisplay[steppedbystep][before={\blank[halfline]}]

\starttext \showmakeup[line]
   \dostepwiserecurse{10}{25}{1}{
       xxxxxxxxxxxxxxxx\par
       \starttextdisplay
         \externalfigure[dummydummy][height=#1mm,text=no]%
       \stoptextdisplay
       xxxxxxxxxxxxxxxx\par
       \starttextdisplay[before=\blank,after=\blank] % factor=.5
         \externalfigure[dummydummy][height=#1mm,text=no]%
       \stoptextdisplay
       xxxxxxxxxxxxxxxx\par
       \startsteppedbystep
         \externalfigure[dummydummy][height=#1mm,text=no]%
       \stopsteppedbystep
       xxxxxxxxxxxxxxxx\par
       \page
   }
\stoptext

this uses a new boxtype, compare

\ruledvbox{test\par test}

\ruledvtop{test\par test}

\ruleddbox{test\par test}

and guess what happens. Still in exploration mode.

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

* Re: xtables regression with LMTX 2022-12-21
  2022-12-22 21:19 ` Pablo Rodriguez via ntg-context
@ 2022-12-22 21:31   ` Hans Hagen via ntg-context
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen via ntg-context @ 2022-12-22 21:31 UTC (permalink / raw)
  To: Pablo Rodriguez via ntg-context; +Cc: Hans Hagen

On 12/22/2022 10:19 PM, Pablo Rodriguez via ntg-context wrote:
> On 12/22/22 21:14, Rik Kabel via ntg-context wrote:
>> With the latest (2022-12-21) LMTX I see a regression in xtables. The
>> following code:
>> […]
>> The problem appears to be LMTX-specific. (I did not save 2022-12-15 for
>> testing, but did not see the problem with that version.)
> 
> Hi Rik,
> 
> I can confirm that the regression only arises in LMTX and in current
> latest. With LMTX from 2022.12.15 18:12, the xtable is fine.
> 
> It seems to be related to the replacement of \newdimen and \newcount
> with \newdimension and \newinteger (which Hans mentioned in
> https://mailman.ntg.nl/pipermail/ntg-context/2022/107452.html).
Indeed, one has to be careful with aliasing them (frozen values). There 
might be a few more places that need a fix.

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

end of thread, other threads:[~2022-12-22 21:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-22 20:14 xtables regression with LMTX 2022-12-21 Rik Kabel via ntg-context
2022-12-22 21:19 ` Pablo Rodriguez via ntg-context
2022-12-22 21:31   ` Hans Hagen via ntg-context
2022-12-22 21:30 ` 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).