ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* extreme table and right frames with vertically spanned cells
@ 2020-01-04 18:00 Damien Thiriet
  2020-01-05 10:28 ` Pablo Rodriguez
  2020-01-09 14:05 ` Hans Hagen
  0 siblings, 2 replies; 3+ messages in thread
From: Damien Thiriet @ 2020-01-04 18:00 UTC (permalink / raw)
  To: ntg-context

Hi list,


It looks like switching off right frame is not taken into account when
spanning cell vertically.

Consider this example:

\starttext
\startxtable 
   \startxrow 
      \startxcell A
      \stopxcell
      \startxcell [ny=2,rightframe=off] B
      \stopxcell
   \stopxrow
   \startxrow 
      \startxcell C
      \stopxcell
   \stopxrow
\stopxtable
\stoptext

The output is

|A|B
|C| |

And I would expect
|A|B
|C|
Am I wrong somewhere?

Regards and happy new year,

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

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

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

* Re: extreme table and right frames with vertically spanned cells
  2020-01-04 18:00 extreme table and right frames with vertically spanned cells Damien Thiriet
@ 2020-01-05 10:28 ` Pablo Rodriguez
  2020-01-09 14:05 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Pablo Rodriguez @ 2020-01-05 10:28 UTC (permalink / raw)
  To: ntg-context

On 1/4/20 7:00 PM, Damien Thiriet wrote:
> Hi list,
>
> It looks like switching off right frame is not taken into account when
> spanning cell vertically.

Hi Damien,

this might be a bug, since other options work fine, such as in:

    \starttext
    \startTEXpage[offset=1em]
    \startxtable
       \startxrow
          \startxcell A
          \stopxcell
          \startxcell[ny=2, background=color,
            backgroundcolor=blue, rightframe=off,
            align=lohi, foregroundcolor=yellow] B
          \stopxcell
       \stopxrow
       \startxrow
          \startxcell C
          \stopxcell
       \stopxrow
       \startxrow
          \startxcell 1
          \stopxcell
          \startxcell 2
          \stopxcell
       \stopxrow
       \startxrow
          \startxcell[nx=2, background=color,
            backgroundcolor=orange, bottomframe=off,
            align=center, foregroundcolor=gray] 3
          \stopxcell
       \stopxrow
    \stopxtable
    \stopTEXpage
    \stoptext

Happy New Year 2020 to all,

Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

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

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

* Re: extreme table and right frames with vertically spanned cells
  2020-01-04 18:00 extreme table and right frames with vertically spanned cells Damien Thiriet
  2020-01-05 10:28 ` Pablo Rodriguez
@ 2020-01-09 14:05 ` Hans Hagen
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Hagen @ 2020-01-09 14:05 UTC (permalink / raw)
  To: mailing list for ConTeXt users, Damien Thiriet

On 1/4/2020 7:00 PM, Damien Thiriet wrote:
> Hi list,
> 
> 
> It looks like switching off right frame is not taken into account when
> spanning cell vertically.
> 
> Consider this example:
> 
> \starttext
> \startxtable
>     \startxrow
>        \startxcell A
>        \stopxcell
>        \startxcell [ny=2,rightframe=off] B
>        \stopxcell
>     \stopxrow
>     \startxrow
>        \startxcell C
>        \stopxcell
>     \stopxrow
> \stopxtable
> \stoptext

can you test (for side effects) with this in cont-new.mkiv:
  \unprotect

\unexpanded\def\dummyxcell
   {\begingroup
    \let\inheritedxtableframed\relax
    \tabl_x_start_cell_nop
    \tabl_x_stop_cell
    \endgroup}

\protect

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

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

end of thread, other threads:[~2020-01-09 14:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-01-04 18:00 extreme table and right frames with vertically spanned cells Damien Thiriet
2020-01-05 10:28 ` Pablo Rodriguez
2020-01-09 14:05 ` Hans Hagen

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