From: Henning Hraban Ramm via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Henning Hraban Ramm <texml@fiee.net>
Subject: natural table oddities
Date: Tue, 14 Mar 2023 17:50:15 +0100 [thread overview]
Message-ID: <11921f9d-04f6-9903-e0b5-62908566a787@fiee.net> (raw)
Working on the documentation for “natural tables” I stumbled upon a few
oddities/problems.
I’d like to know if there are misunderstandings on my part or if the
behavior is intentional.
BTW enattab.pdf is missing in the LMTX distribution.
## Options
* before/after/inbetween values don’t appear anywhere.
* spaceinbetween should insert between rows, but nothing happens.
* splitoffset doesn’t seem to change anything.
* What’s samepage for?
## Addressing cells
* It’s not possible to address single cells with \setupTABLE, or is it?
* There’s \setupTABLE[header], but not "footer" (or "section"); since we
have TABLEhead and TABLEfoot, IMO "head" and "foot" would make sense.
* Row 1 is the first row of TABLEbody. I couldn’t find how to address
the first line of TABLEbody.
* Is it possible, and how, to use odd/even only for the body?
* If I format a column, e.g. \setupTABLE[c][-1][color=red], body and
foot are formatted, but not the same column in header. (I found out, if
I use TD instead of TH in the header, it works.)
* I don’t understand the addressing options "start" and "one".
## Formatting
* maxwidth doesn’t seem to have an effect, neither on the whole table
nor on a column.
* textwidth works only for the whole table.
* width gets stretched if option=stretch; i.e. you can’t fix the width
of single cells or columns.
## Page breaking
* What’s the difference between [split=repeat] and
[split=yes,header=repeat], i.e. which sense makes the header option)?
* Is there an option to repeat the footer (as the last line of each
page)? (I’d imagine to use it in an invoice or similar calculation for a
subtotal – that would imply some more magic…)
Hraban
___________________________________________________________________________________
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
___________________________________________________________________________________
next reply other threads:[~2023-03-14 16:50 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-14 16:50 Henning Hraban Ramm via ntg-context [this message]
[not found] <37e3e6b3-7e8a-3673-8708-7cad3ef4cbb9@fiee.net>
2023-03-27 14:03 ` Henning Hraban Ramm via ntg-context
2023-03-28 0:19 ` Bruce Horrocks via ntg-context
2023-04-01 19:05 ` Henning Hraban Ramm via ntg-context
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=11921f9d-04f6-9903-e0b5-62908566a787@fiee.net \
--to=ntg-context@ntg.nl \
--cc=texml@fiee.net \
/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).