ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* extreme tables cell spanning interference: a bug?
@ 2017-11-25 15:36 mf
  0 siblings, 0 replies; only message in thread
From: mf @ 2017-11-25 15:36 UTC (permalink / raw)
  To: ntg-context

Dear list,
i've found that a cell spanning across multiple rows in extreme tables
interferes with a cell spanning across multiple columns on a common
row. Ok, if that is not so clear, try this:

----------------------------

\starttext

The first cell spans across 3 rows. The cell in the last row should
span
across 2 columns, but it's actually one column large.

\startxtable[align={middle,lohi}]
  \startxrow
    \startxcell[ny=3] 3x1 \stopxcell
    \startxcell       1x1 \stopxcell
    \startxcell       1x1 \stopxcell
  \stopxrow
  \startxrow
    \startxcell       1x1 \stopxcell
    \startxcell       1x1 \stopxcell
  \stopxrow
  \startxrow
    \startxcell[nx=2] 1x2 (why 1x1?) \stopxcell
  \stopxrow
\stopxtable

Now the first cell spans across 2 rows, and the first cell of the last
row
spans across 2 columns as expected.

\startxtable[align={middle,lohi}]
  \startxrow
    \startxcell[ny=2] 2x1 \stopxcell
    \startxcell       1x1 \stopxcell
    \startxcell       1x1 \stopxcell
  \stopxrow
  \startxrow
    \startxcell       1x1 \stopxcell
    \startxcell       1x1 \stopxcell
  \stopxrow
  \startxrow
    \startxcell[nx=2] 1x2 (ok!) \stopxcell
  \stopxrow
\stopxtable

\stoptext

----------------------------

Best wishes,
Massi
___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2017-11-25 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-25 15:36 extreme tables cell spanning interference: a bug? mf

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