Re: [NTG-context] xtables regression with LMTX 2022-12-21

2022-12-22 Thread Hans Hagen via ntg-context

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
___


Re: [NTG-context] xtables regression with LMTX 2022-12-21

2022-12-22 Thread Hans Hagen via ntg-context

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}{
  \par
  \starttextdisplay
\externalfigure[dummydummy][height=#1mm,text=no]%
  \stoptextdisplay
  \par
  \starttextdisplay[before=\blank,after=\blank] % factor=.5
\externalfigure[dummydummy][height=#1mm,text=no]%
  \stoptextdisplay
  \par
  \startsteppedbystep
\externalfigure[dummydummy][height=#1mm,text=no]%
  \stopsteppedbystep
  \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
___


Re: [NTG-context] xtables regression with LMTX 2022-12-21

2022-12-22 Thread Pablo Rodriguez via ntg-context
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
___


[NTG-context] xtables regression with LMTX 2022-12-21

2022-12-22 Thread Rik Kabel via ntg-context
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
___
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
___