From: Pablo Rodriguez <oinos@gmx.es>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: setup according to total numbers
Date: Wed, 20 Nov 2019 18:55:48 +0100 [thread overview]
Message-ID: <be4792de-e213-33b3-b49f-e8d9a6b49fad@gmx.es> (raw)
Hi Hans,
this is related to a previous message
(https://mailman.ntg.nl/pipermail/ntg-context/2019/096253.html).
I don’t know how hard could to implement them, but it would be useful to
be able to setup xtables and lists based on the total number of columns,
rows and items.
Some cases would be:
- Set a different width in list if their total number of items is more
than 9 and another one if items are more than 19.
- List iwith alphabetic numbering when it contains fewer items than 5
and with digits in other case.
- Stretch xtable to width, if it contains more than 4 columns.
- Stretch xtable to height, if it contains more than 10 rows.
Sure, there may be plenty of other cases in which being able to setup
xtables and list based on the total number of their elements would be handy.
I wonder whether it would be possible to have commands that provide the
number of these elements to be used to set them up.
Many thanks for your help,
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
___________________________________________________________________________________
reply other threads:[~2019-11-20 17:55 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=be4792de-e213-33b3-b49f-e8d9a6b49fad@gmx.es \
--to=oinos@gmx.es \
--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).