[NTG-context] table cell minimum heights -- help needed

Taco Hoekwater taco at elvenkind.com
Fri Dec 14 15:23:38 CET 2018

Hi all,

Offlist, Wolfgang sent me a patch for \framed (which \eTD inherits from) 
that adds a minheight key, and Hans promised to add that to the next beta :)

Best wishes,

> On 14 Dec 2018, at 15:18, Aditya Mahajan <adityam at umich.edu> wrote:
> On Thu, 13 Dec 2018, Taco Hoekwater wrote:
>> I am attempting to process html tables that are styled using css,
>> and I have problem with the ‘height’ property. CSS (or rather, the html browser) interprets ‘height’ as if it was a “minheight”, and
>> if the content does not fit, it will just enlarge the height until
>> it does fit.
>> Needless to say: I want that same functionality from the ConTeXt
>> table I am using to generate the PDF and not end up with text crossing row boundaries. And I cannot figure out how
>> to do it, as neither bTABLE’s \bTD nor xtable’s \startxcell
>> interpret a “minheight" parameter. And whatever I put in “height”
>> becomes the absolute value of the cell height. 
>> Did I miss something? I cannot imagine that this problem has not
>> come up before…
> AFAIK, there is no option to do this. The closest option is `autowidth=force` for `\framed` etc. which forces `width` to behaves as `maxwidth`. It will be nice to explicitly add both minwidth/minheight and maxwidth/maxheight options to framed, etc.
> Aditya___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at 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
> ___________________________________________________________________________________

Taco Hoekwater
Elvenkind BV

More information about the ntg-context mailing list