ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen via ntg-context <ntg-context@ntg.nl>
To: Rik Kabel via ntg-context <ntg-context@ntg.nl>
Cc: Hans Hagen <j.hagen@freedom.nl>
Subject: Re: xtables regression with LMTX 2022-12-21
Date: Thu, 22 Dec 2022 22:30:17 +0100	[thread overview]
Message-ID: <35006376-62bc-d731-401d-52e57d71d65e@freedom.nl> (raw)
In-Reply-To: <c0bc3d9a-7e86-4f54-c8eb-710ad2723ad7@rik.users.panix.com>

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
___________________________________________________________________________________

      parent reply	other threads:[~2022-12-22 21:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-22 20:14 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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=35006376-62bc-d731-401d-52e57d71d65e@freedom.nl \
    --to=ntg-context@ntg.nl \
    --cc=j.hagen@freedom.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).