Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Wolfgang Schuster
of the table and or to use multiple columns (the new mixedcolumns environment can be also used in a box). BTW, how can I make that the first column are aligned to the right? \setupxtable[xcell][1][align=right] doesn't seem to work. Xtables don’t provide the same method as natural tables to set

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Pablo Rodríguez
are aligned to the right? \setupxtable[xcell][1][align=right] doesn't seem to work. Xtables don’t provide the same method as natural tables to set value for individual rows or columns, you have to apply the setting to each cell or cell group (can be a direct setting via key-val or a named

Re: [NTG-context] two questions for the simplest slides

2012-07-22 Thread Wolfgang Schuster
Am 22.07.2012 um 11:23 schrieb Pablo Rodríguez: BTW, how can I make that the first column are aligned to the right? \setupxtable[xcell][1][align=right] doesn't seem to work. Xtables don’t provide the same method as natural tables to set value for individual rows or columns, you have

Re: [NTG-context] xtable

2012-06-22 Thread Meer, H. van der
{% \doifinset{t}{#1}{#3[topframe=#2]}% \doifinset{b}{#1}{#3[bottomframe=#2]}% \doifinset{l}{#1}{#3[leftframe=#2]}% \doifinset{r}{#1}{#3[rightframe=#2]}% } ..#2 being \setupxtable or \setupframed, just as needed \doifnot{\xmlatt{#1}{frameon}}{\empty}% {#2[frame=off]\setframeparts{\xmlatt{#1}{frameon

Re: [NTG-context] xtable

2012-06-22 Thread Wolfgang Schuster
also thead tr td and so on. \def\setframeparts#1#2#3{% \doifinset{t}{#1}{#3[topframe=#2]}% \doifinset{b}{#1}{#3[bottomframe=#2]}% \doifinset{l}{#1}{#3[leftframe=#2]}% \doifinset{r}{#1}{#3[rightframe=#2]}% } ..#2 being \setupxtable or \setupframed, just as needed \doifnot{\xmlatt{#1

Re: [NTG-context] xtable

2012-06-22 Thread Meer, H. van der
On 22 jun. 2012, at 12:48, Wolfgang Schuster wrote: You should also know that each xtable cell is a framed (it uses the \framed code) like natural tables and \setupxtable accepts the same arguments as \setupframed. I knew already, which is what me did develop the macros. No need to give

[NTG-context] [***SPAM***] whitespace also before xtables

2012-04-07 Thread Pablo Rodríguez
Hi there, I'm trying to add a whitespace before an xtable (just to be spaced as any other paragraph). I wanted to do that in the \setupxtable, before=\whitespace or top=\whitespace don't seem to work. Sorry, but which is the right option to do that? Many thanks for your help, Pablo -- http

[NTG-context] xtable formatting issues

2012-01-18 Thread Brian Landy
Hi, I’ve been experimenting a bit with converting some natural tables into xtables and ran across two issues. The first has to do with nested xtables and settings. In particular, if you attempt to set a cell’s width on the internal table using \setupxtable the option is lost. In the below

[NTG-context] xtables

2011-11-17 Thread Hans Hagen
Hi, The xtables mechanism has been extended a bit (plus some fixes): \setupxtable[suffix][align=middle,foregroundcolor=red] \setupxtable[blabla][foregroundstyle=slanted] \setupxtable[crap] [foregroundcolor=blue] \setupxtable[bold] [crap][foregroundstyle=bold] \startxtable[frame=off

[NTG-context] Splitting (x)tables

2011-11-09 Thread Andreas Harder
Hi all, I think there is a bug with \placefloat and split option. \starttext \showframe[text] \setupxtable [split=yes,option=stretch, width=4cm,height=3cm, align={middle,middle}] \startbuffer \startxtable \dorecurse{15}{% \startxrow \dorecurse{5}{\startxcell cell: #1 x ##1

Re: [NTG-context] Splitting (x)tables

2011-11-09 Thread Wolfgang Schuster
Am 09.11.2011 um 16:55 schrieb Andreas Harder: Hi all, I think there is a bug with \placefloat and split option. \starttext \showframe[text] \setupxtable [split=yes,option=stretch, width=4cm,height=3cm, align={middle,middle}] \startbuffer \startxtable \dorecurse{15

Re: [NTG-context] Splitting (x)tables

2011-11-09 Thread Andreas Harder
On 09.11.2011, at 17:05, Wolfgang Schuster wrote: Am 09.11.2011 um 16:55 schrieb Andreas Harder: Hi all, I think there is a bug with \placefloat and split option. \starttext \showframe[text] \setupxtable [split=yes,option=stretch, width=4cm,height=3cm, align={middle,middle

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Patrick Gundlach
\setuppapersize [a5][a5] \starttext \setupxtable [width=.5\textwidth, split=yes, header=repeat, footer=repeat] \startxtable \startxtablehead \startxrow \startxcell Column A \stopxcell \startxcell Column B \stopxcell \stopxrow

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Hans Hagen
On 29-10-2011 12:41, Patrick Gundlach wrote: \setuppapersize [a5][a5] \starttext \setupxtable [width=.5\textwidth, split=yes, header=repeat, footer=repeat] \startxtable \startxtablehead \startxrow \startxcell Column A \stopxcell \startxcell Column B \stopxcell

[NTG-context] xtreme tables repeating header

2011-10-29 Thread Patrick Gundlach
Hi, I can't get the repeating header to work with the new extreme tables (the new column A should be on the second page). What is the error here? Thanks Patrick \setuppapersize [a5][a5] \starttext \setupxtable [width=.5\textwidth

<    1   2