ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: mf <massifr@fastwebnet.it>
To: ntg-context@ntg.nl
Subject: extreme tables cell spanning interference: a bug?
Date: Sat, 25 Nov 2017 16:36:51 +0100	[thread overview]
Message-ID: <1511624211.1160.2.camel@fastwebnet.it> (raw)

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
___________________________________________________________________________________

                 reply	other threads:[~2017-11-25 15:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1511624211.1160.2.camel@fastwebnet.it \
    --to=massifr@fastwebnet.it \
    --cc=ntg-context@ntg.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).