On 02/28/2018 11:35 PM, Hans Hagen wrote:
page 26 of the xtable manual ... you define tagged settings and can use these tag for cells and rows

OK Hans, I see that, thanks a lot! But it still means I have to tag the cells/rows? As always, I'm playing with xml and Lua and am trying to write some universal code that allows me to try out different table mechanisms. Just to explain (don't spend time on this, I'm just playing around): I collect my table settings like this:

\startsetups section_table
\setupframedtablecolumn [1] [width=0.7cm,align=left]
\setupTABLE [column] [1] [width=0.7cm,align=left]
\stopsetups

In my Lua file, I start tables like this:

starttable()
startrow()
startcell() etc.

and can switch from one mechanism to another by having these aliases:

starttable = context.startframedtable
starttable = context.bTABLE
starttable  = context.startembeddedxtable

and commenting out the mechanisms that I don't need. But it looks like the xtable needs additional arguments to work...

Thanks, and all best

Thomas
___________________________________________________________________________________
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 via email to