ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* setup according to total numbers
@ 2019-11-20 17:55 Pablo Rodriguez
  0 siblings, 0 replies; only message in thread
From: Pablo Rodriguez @ 2019-11-20 17:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-11-20 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-20 17:55 setup according to total numbers Pablo Rodriguez

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