Re: [NTG-context] What is the best way to implement a table like this

2011-03-03 Thread Cecil Westerhof
2011/3/3 Wolfgang Schuster schuster.wolfg...@googlemail.com Am 02.03.2011 um 23:32 schrieb Cecil Westerhof: I want to implement a table like: http://www.hooversbiz.com/wp-content/uploads/2009/02/coveyquad.bmp What is the best way to do this? \starttext \setupTABLE[r][1][height=1cm

Re: [NTG-context] What is the best way to implement a table like this

2011-03-03 Thread Cecil Westerhof
2011/3/3 Wolfgang Schuster schuster.wolfg...@googlemail.com \starttext \setupTABLE[r][1][height=1cm,style=bold] \setupTABLE[c][1][width=1cm,style=normal,orientation=90] \bTABLE[align={middle,middle},width=4cm,height=4cm,style=\tfd] \bTR \bTD[frame=off] \eTD \bTD Urgent \eTD

Re: [NTG-context] What is the best way to implement a table like this

2011-03-03 Thread Wolfgang Schuster
Am 03.03.2011 um 13:34 schrieb Cecil Westerhof: There is also a placetable necessary. So it becomes: \setupTABLE[r][1][height=1cm,style=bold] \setupTABLE[c][1][width=1cm,style=bold,orientation=90] Put these setups in \placetable too, otherwise the affect the layout of other natural tables

Re: [NTG-context] What is the best way to implement a table like this

2011-03-03 Thread Cecil Westerhof
2011/3/3 Wolfgang Schuster schuster.wolfg...@googlemail.com There is also a placetable necessary. So it becomes: \setupTABLE[r][1][height=1cm,style=bold] \setupTABLE[c][1][width=1cm,style=bold,orientation=90] Put these setups in \placetable too, otherwise the affect the layout of other

Re: [NTG-context] What is the best way to implement a table like this

2011-03-02 Thread Wolfgang Schuster
Am 02.03.2011 um 23:32 schrieb Cecil Westerhof: I want to implement a table like: http://www.hooversbiz.com/wp-content/uploads/2009/02/coveyquad.bmp What is the best way to do this? \starttext \setupTABLE[r][1][height=1cm,style=bold] \setupTABLE[c][1][width=1cm,style=normal

[NTG-context] Too many column gaps in TABLE

2011-01-31 Thread Stefan Müller
Hi list, please consider the appended example. I get a gap in the first row after the first column because of the \setupTABLE command. However, I also get a gap after the second column, because in the second row the first cell just ended. Can this be considered a bug? (Mk IV) If it's

Re: [NTG-context] TABLE in a flow chart

2011-01-14 Thread Hans Hagen
On 14-1-2011 6:00, Aditya Mahajan wrote: Hi, I want to include a TABLE in a flow chart, but the table is shifted by an offset. Any ideas on how to get rid of the offset \usemodule[chart] \setupFLOWcharts[nx=1,ny=1,width=3cm,height=2cm] \setupTABLE[each][each][height=1cm] \startFLOWchart

Re: [NTG-context] TABLE in a flow chart

2011-01-14 Thread Aditya Mahajan
On Fri, 14 Jan 2011, Hans Hagen wrote: On 14-1-2011 6:00, Aditya Mahajan wrote: Hi, I want to include a TABLE in a flow chart, but the table is shifted by an offset. Any ideas on how to get rid of the offset \usemodule[chart] \setupFLOWcharts[nx=1,ny=1,width=3cm,height=2cm] \setupTABLE

[NTG-context] TABLE in a flow chart

2011-01-13 Thread Aditya Mahajan
Hi, I want to include a TABLE in a flow chart, but the table is shifted by an offset. Any ideas on how to get rid of the offset \usemodule[chart] \setupFLOWcharts[nx=1,ny=1,width=3cm,height=2cm] \setupTABLE[each][each][height=1cm] \startFLOWchart[test] \startFLOWcell \name{test

[NTG-context] Cld-files

2010-12-22 Thread Willi Egger
Hi again, hm, I need to pass a \setupTABLE command ... context.setupTABLE({column}{each}{width=number.todimen(.041*tex.dimen.textwidth),align=flushright,offset=1pt}) However this does not work. How must this be done? KR Willi

Re: [NTG-context] Cld-files

2010-12-22 Thread luigi scarso
On Wed, Dec 22, 2010 at 2:59 PM, Willi Egger w.eg...@boede.nl wrote: Hi again, hm, I need to pass a \setupTABLE command ... context.setupTABLE({column}{each}{width=number.todimen(.041*tex.dimen.textwidth),align=flushright,offset=1pt}) Are you sure of this syntax ? -- luigi

Re: [NTG-context] Cld-files

2010-12-22 Thread Willi Egger
Hi Luigi, deducing from what is written in the cld-manual it is at least the direction of looking... Willi On 22 Dec 2010, at 15:03, luigi scarso wrote: On Wed, Dec 22, 2010 at 2:59 PM, Willi Egger w.eg...@boede.nl wrote: Hi again, hm, I need to pass a \setupTABLE command

[NTG-context] Fwd: ntg-context Digest, Vol 78, Issue 106

2010-12-22 Thread barney schwartz
-ascii Hi again, hm, I need to pass a \setupTABLE command ... context.setupTABLE({column}{each}{width=number.todimen(.041*tex.dimen.textwidth),align=flushright,offset=1pt}) However this does not work. How must this be done? KR Willi -- Message: 5 Date: Wed

[NTG-context] Centering graphics inside a table cell

2010-12-21 Thread Daniel Grycman
Hi list, is it possible to center a graphic inside a table cell? I tried every align-method I know (setupTABLE and startalignment)? Regards, Daniel ___ If your question is of interest to others as well, please add

Re: [NTG-context] Centering graphics inside a table cell

2010-12-21 Thread Daniel Grycman
Problem solved. Using ConTeXt can be very easy sometimes :-). I forgot \dontleavehmode. Daniel Am 21.12.2010 um 10:48 schrieb Daniel Grycman: Hi list, is it possible to center a graphic inside a table cell? I tried every align-method I know (setupTABLE and startalignment)? Regards

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-10 Thread Vedran Miletić
). just do \setuptables[textwidth=...] then (once) Why setuptables, why not just setuptable? Regards, Vedran Miletić ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-10 Thread Hans Hagen
document when I switch back to minimals). just do \setuptables[textwidth=...] then (once) Why setuptables, why not just setuptable? has always been the case .. you set them up all at once

Re: [NTG-context] Re; TABLE help

2010-12-10 Thread barney schwartz
. \placetable[here,split][tab:five]{Descriptive Statistics for Salaried Men \ Women} {%\setupTABLE[split=repeat] \bTABLE \bTABLEhead \bTR \bTH Group \eTH \bTH N \eTH \bTH MEAN \eTH\bTH STD \eTH \bTH MIN \eTH\bTH MAX \eTH \bTH Gini \eTH \bTH 80/20 \eTH \eTR \eTABLEhead \bTABLEbody \bTR

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-10 Thread Vedran Miletić
Dana 10. prosinca 2010. 12:28 Hans Hagen pra...@wxs.nl je napisao/la: On 8-12-2010 1:00, Vedran Miletić wrote: Why setuptables, why not just setuptable? has always been the case .. you set them up all at once Oh, I see it's also mentioned in reference. Thanks. Vedran Miletić

Re: [NTG-context] table background color in first row

2010-11-12 Thread Wolfgang Schuster
for the old table macros because it’s easier to set small tables (alignment in the preamble versus many \setupTABLE settings), you can set different spacing between rows which is not part of tabulate and you can span cells (also not supported in tabulate). To make the environment more attractive you

Re: [NTG-context] table background color in first row

2010-11-12 Thread Aditya Mahajan
is probably easier). There is still a use for the old table macros because it’s easier to set small tables (alignment in the preamble versus many \setupTABLE settings), you can set different spacing between rows which is not part of tabulate and you can span cells (also not supported in tabulate

[NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
documentation about \setupTABLE which on the one hand I did not fully understand how to use and on the other hand I'm not quite sure how far this is the way it is done nowadays. -- Thanks, Manfred ___ If your

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
to have a light gray background for the heading row. I found documentation about \setupTABLE which on the one hand I did not fully understand how to use and on the other hand I'm not quite sure how far this is the way it is done nowadays. The \setupTABLE command for the natural tables environment

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
\HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext and like to have a light gray background for the heading row. I found documentation about \setupTABLE which on the one hand I did not fully understand how to use and on the other

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:13, schrieb Wolfgang Schuster: The \setupTABLE command for the natural tables environment, you can find a overview of the different environments on the wiki. Here is a example for a natural table: \starttext \setupTABLE[header][style=bold,background=color

Re: [NTG-context] table background color in first row

2010-11-11 Thread Hans Hagen
On 11-11-2010 8:42, Herbert Voss wrote: Am 11.11.2010 20:13, schrieb Wolfgang Schuster: The \setupTABLE command for the natural tables environment, you can find a overview of the different environments on the wiki. Here is a example for a natural table: \starttext \setupTABLE[header][style

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:45, schrieb Hans Hagen: On 11-11-2010 8:42, Herbert Voss wrote: Am 11.11.2010 20:13, schrieb Wolfgang Schuster: The \setupTABLE command for the natural tables environment, you can find a overview of the different environments on the wiki. Here is a example for a natural

Re: [NTG-context] table background color in first row

2010-11-11 Thread Herbert Voss
Am 11.11.2010 20:40, schrieb Manfred Lotz: \starttext \setupTABLE[header][style=bold,background=color,backgroundcolor=gray] \bTABLE \bTABLEhead \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \eTBALEhead \bTABLEbody \bTR \bTD cell 11 \eTD

Re: [NTG-context] table background color in first row

2010-11-11 Thread Wolfgang Schuster
to me that \setupTABLE creates a shading for the header for all tables in a document?! That is ok. However, I'd like to know what would be the variant to have it only for a single table? \startsetups table:mystyle \setupTABLE[frame=off] \setupTABLE[row][first][style=bold

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
to have. Any way to get rid of them? You can disable the border rules with „frame=off“. Yep. Just found that I get back the first horizontal line by: \setupTABLE[row][first][bottomframe=on] 2. It seems to me that \setupTABLE creates a shading for the header for all tables

Re: [NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
it: \setupTABLE[row][first][bottomframe=on] -- Manfred ___ 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

[NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
\stopELine} \getbuffer \setupTABLE[column][1][width=1cm,frame=off,offset=0pt,,align={right}] \setupTABLE[column][2][width=6cm,frame=off,align={normal}] \setupTABLE[column][3][width=1cm,frame=off,align={left,low}] \def\MyLine#1#2#3% {\bTABLE \bTR\bTD \bf #2 \eTD\bTD #3 \eTD\bTD #1 \eTD \eTR

Re: [NTG-context] problems with vertical spacing and boxes

2010-11-09 Thread Thomas A. Schmitz
\stopELine} \getbuffer \setupTABLE[column][1][width=1cm,frame=off,offset=0pt,,align={right}] \setupTABLE[column][2][width=6cm,frame=off,align={normal}] \setupTABLE[column][3][width=1cm,frame=off,align={left,low}] \def\MyLine#1#2#3% {\bTABLE \bTR\bTD \bf #2 \eTD\bTD #3 \eTD\bTD

Re: [NTG-context] XML ConTeXt

2010-11-02 Thread Daniel Grycman
Hi Wolfgang and list, I already used this multipage table. But the result showed a header for every entry of the xml-source. Is there an option which I missed? \startxmlsetups xml:personen:person % associate setups with elements \bTABLE[split=yes,width=11em] \setupTABLE[row][*][width

Re: [NTG-context] XML ConTeXt

2010-11-02 Thread Aditya Mahajan
A side remark: Try to indent your context code so that it is easier to read (just like you indent xml). For example (adding | so that the email client does not reformt it) | \startxmlsetups xml:personen:person % associate setups with elements | \bTABLE[split=yes,width=11em] | \setupTABLE

Re: [NTG-context] XML ConTeXt

2010-11-02 Thread Jano Kula
it in the parent element of multiple person elements, here personal. \startxmlsetups xml:personen:personal \title{Personalverzeichnis} \placelist[chapter] \page % open table \bTABLE[split=yes,width=11em] \setupTABLE[row][*][width=\textwidth] \bTABLEhead \bTR \bTH Name \eTH \bTH Vorname \eTH \bTH

Re: [NTG-context] print many cards (pages) on one A4 paper

2010-10-31 Thread Mojca Miklavec
,height=20cm] \setuppagenumbering [location=] \def\b#1{\bTD\externalfigure[badges.pdf][page=#1]\eTD} \starttext \setupTABLE[strut=no,offset=0pt,split=yes] \setupTABLE[c][each][width=8.5cm,height=5cm] \bTABLE \bTR\b{1}\b{2}\b{3}\eTR \bTR\b{4}\b{5}\b{6}\eTR \bTR\b{7}\b

Re: [NTG-context] wrong itemize indenting

2010-10-07 Thread Andreas Harder
} \item \dorecurse{20}{drei } \stopitemize \stopbuffer \defineoverlay [items] [{\framed[width=broad,offset=overlay,align=normal]{\getbuffer}}] \getbuffer % - correct indenting % \bTABLE \bTR\bTD \getbuffer \eTD\eTR \eTABLE \bTABLE[width=broad,height=9\lineheight] \setupTABLE[last

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Patrick Gundlach wrote: 2) how do I get a left rule only in a TABLE cell? I've tried: \bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD \eTR Hello Patrick, \setupTABLE[frame=off] \starttext \bTABLE \bTR \bTD[leftframe=on,rulethickness=2pt] 2 \eTD \eTR \eTABLE \stoptext

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Wolfgang Schuster
ward \eTD \bTD \input montgomery \eTD \eTR \eTABLE \page \start \setupTABLE[offset=0pt,loffset=5mm,roffset=5mm] \setupTABLE[c][first][loffset=0pt,roffset=5mm] \setupTABLE[c][last] [loffset=5mm,roffset=0pt] \bTABLE \bTR \bTD \input zapf

Re: [NTG-context] Problems with TABLE

2010-09-30 Thread Peter Münster
\textwidth] \eTD 2 options: - The cow gets smaller: \externalfigure[cow][width=\localhsize] (does not work, I don't know why...) - The table cells get bigger. You have to define the width. If you want to span the cow 50%/50%, then \setupTABLE[c][2,3][width=0.1\textwidth] I wonder, why

Re: [NTG-context] colsep / left rule in TABLE

2010-09-30 Thread Peter Münster
On Thu, Sep 30 2010, Patrick Gundlach wrote: 1) how do I define colsep in a TABLE table? To clarify my wish: I would like to get a distance between two columns, see the attached image. \setupTABLE[c][1][distance=2cm] \starttext \framed[offset=0pt, strut=no]{% \bTABLE \bTR \bTD 1 \eTD

Re: [NTG-context] Problems with TABLE

2010-09-30 Thread Patrick Gundlach
want to span the cow 50%/50%, then \setupTABLE[c][2,3][width=0.1\textwidth] I hope that this is a bug and not a feature Thanks! Patrick ___ If your question is of interest to others as well, please add

Re: [NTG-context] Problems with TABLE

2010-09-30 Thread Hans Hagen
the localhsize can be different and as a result the final result somewhat unexpected - The table cells get bigger. You have to define the width. If you want to span the cow 50%/50%, then \setupTABLE[c][2,3][width=0.1\textwidth] I hope that this is a bug and not a feature some day soon

Re: [NTG-context] scancsv.lua

2010-09-26 Thread Jaroslav Hajtmar
breaks. eg: \def\bfilehook{\setupTABLE[split=yes]\bTABLE} Will now compile properly. I hope that everything will be OK ... To Your address I am sending corrected files (as attachment) ..., to conference I am sending only plain text... Rejoice in my library, I hope they will serve well

Re: [NTG-context] scancsv.lua

2010-09-26 Thread Daniel Grycman
interpreting more columns ...) 3. I modified the code so that the tables, the tables are split at page breaks. eg: \def\bfilehook{\setupTABLE[split=yes]\bTABLE} Will now compile properly. I hope that everything will be OK ... To Your address I am sending corrected files (as attachment

Re: [NTG-context] TABLE border width for row

2010-09-03 Thread Wolfgang Schuster
[row:left] [\uniqueMPgraphic{row:left}] \defineoverlay[row:middle][\uniqueMPgraphic{row:middle}] \defineoverlay[row:right] [\uniqueMPgraphic{row:right}] \starttext \setupTABLE[row] [2][background=row:middle] \setupTABLE[first][2][background=row:left] \setupTABLE[last] [2][background=row:right

[NTG-context] TABLE border width for row

2010-09-02 Thread Jan Pohanka
? \setupTABLE[r][2][rulethickness=2pt] \bTABLE \bTR \bTD \eTD \bTD \eTD \bTD \eTD \eTR \bTR \bTD \eTD \bTD \eTD \bTD \eTD \eTR \bTR \bTD \eTD \bTD \eTD \bTD \eTD \eTR \eTABLE best regards Jan -- Tato zpráva byla vytvořena převratným poštovním klientem Opery: http://www.opera.com

Re: [NTG-context] align header in table

2010-08-27 Thread Jerónimo Alaminos Prats
El 26/08/2010, a las 20:29, Jerónimo Alaminos Prats escribió: Hi all, I've been following the examples in the garden to write the following table \chardef\characteralignmentmode=1 \startTABLE \setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE

[NTG-context] align header in table

2010-08-26 Thread Jerónimo Alaminos Prats
Hi all, I've been following the examples in the garden to write the following table \chardef\characteralignmentmode=1 \startTABLE \setupTABLE[column][alignmentcharacter={,},aligncharacter=yes,align=middle] \setupTABLE[frame=off] \setupTABLE[row][first][bottomframe=on] \NC \alpha \NC \beta \NC

Re: [NTG-context] table row span question

2010-08-26 Thread Martin Althoff
://wiki.contextgarden.net/TABLE and the docs referenced on that page. Martin \setupTABLE[column][width=4cm] \setupTABLE[column][1][width=1cm] \setupTABLE[row][align={middle,lohi},height=6ex] \bTABLE \bTR \bTD Std \eTD \bTD Montag \eTD \bTD Dienstag \eTD \bTD Mittwoch \eTD \bTD Donnerstag \eTD \bTD Freitag \eTD

Re: [NTG-context] Troubles with backgrounds in bTABLE

2010-08-04 Thread Peter Rolf
}] \defineoverlay[Diagonal][\useMPgraphic{Diagonal}] \starttext \bTABLE \setupTABLE[r][1][background=Topline] \bTR \bTD Test\ \eTD \eTR \bTR \bTD Test\ \eTD \eTR \eTABLE \blank \framed[background=Topline,framecolor=red]{test} \blank \bTABLE \setupTABLE[r][1][background=Diagonal

Re: [NTG-context] imbalanced columns

2010-07-15 Thread Aditya Mahajan
a high level interface of \setupTABLE (although I do not know if natural tables support equal column widths) Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread Idris Samawi Hamid ادريس سماوي حامد
to have one good way to do things than burdening folks with too much info... and you have a high level interface of \setupTABLE (although I do not know if natural tables support equal column widths) I guess we'll find out soon enough... ;-) Best wishes Idris -- Professor Idris Samawi Hamid

Re: [NTG-context] Tables for newbies [WAS Re: imbalanced columns]

2010-07-15 Thread Hans Hagen
purposes. Mainly a pedagogical/practical question: better to have one good way to do things than burdening folks with too much info... and you have a high level interface of \setupTABLE (although I do not know if natural tables support equal column widths) I guess we'll find out soon enough

[NTG-context] alignment in TABLE

2010-06-15 Thread Peter Münster
Hello, Here is an alignment problem due to the rulethickness. Is there a cleaner and more elegant solution? \starttext \section{First line shifted to the right by a bit less than 2pt} \setupTABLE[offset=0pt, frame=off] \setupTABLE[r][1][bottomframe=on, rulethickness=2pt] \bTABLE \bTR\bTD bla

Re: [NTG-context] How to place a (right) brace in a TABLE?

2010-05-20 Thread Wolfgang Schuster
]{\useMPgraphic{accolade}}}] \defineoverlay[rightbrace][\rightaligned{\mirror{\scale[height=\overlayheight]{\useMPgraphic{accolade] \starttext \framedtext[frame=off,loffset=1em,roffset=1em,background={leftbrace,rightbrace}]{\input knuth\par} \setupTABLE[frame=off,offset=1ex] \setupTABLE[row

Re: [NTG-context] How to place a (right) brace in a TABLE?

2010-05-20 Thread Vladimir Lomov
={leftbrace,rightbrace}]{\input knuth\par} \setupTABLE[frame=off,offset=1ex] \setupTABLE[row][each][align={middle,lohi}] \bTABLE \bTR \bTD[nr=3,background=leftbrace] drei \eTD \bTD[nr=2,background=leftbrace] zwei \eTD \bTD f \eTD \bTD o \eTD \bTD u \eTD \bTD r \eTD

[NTG-context] table, setuptable, TWO

2010-04-20 Thread R. Bastian
Hello, in the following example (context iv): 1. \setuptable[rulethickness=0.04em] does not work 2. i wish that \NC 1 \NC \NC WOULD be something like \NC \TWO \center{1} \NC ? - \enableregime[utf

Re: [NTG-context] table, setuptable, TWO

2010-04-20 Thread Wolfgang Schuster
Am 20.04.10 11:39, schrieb R. Bastian: Hello, in the following example (context iv): 1. \setuptable[rulethickness=0.04em] does not work \setuptables[...] 2. i wish that \NC 1 \NC \NC WOULD be something like \NC \TWO \center{1} \NC \NC \TWO \ReFormat[c]{1} \NC ? \enableregime[utf

Re: [NTG-context] table, setuptable, TWO

2010-04-20 Thread R. Bastian
On Tue, 20 Apr 2010 15:37:06 +0200 Wolfgang Schuster schuster.wolfg...@googlemail.com scribit: Am 20.04.10 11:39, schrieb R. Bastian: Hello, in the following example (context iv): 1. \setuptable[rulethickness=0.04em] does not work \setuptables[...] ok, but i am using 'table

Re: [NTG-context] table, setuptable, TWO

2010-04-20 Thread Wolfgang Schuster
Am 20.04.10 17:16, schrieb R. Bastian: 2. i wish that \NC 1 \NC \NC WOULD be something like \NC \TWO \center{1} \NC \NC \TWO \ReFormat[c]{1} \NC ? ok, which is the max ? EIGHT does not work ... The names are limited from \ONE to \SIX but with the \use command there is no

[NTG-context] problem with TABLE in TABLE

2010-03-18 Thread Peter Münster
Hello, How can I do the setups for the inner TABLE? Example: \startsetups outer-table \setupTABLE[c][last][width=5cm] \stopsetups \startsetups inner-table \setupTABLE[c][last][width=2cm] \stopsetups \starttext \bTABLE[setups=outer-table] \bTR\bTD bla \eTD\bTD { \bTABLE[setups=inner-table

Re: [NTG-context] problem with TABLE in TABLE

2010-03-18 Thread Wolfgang Schuster
\setupTABLE[c][last][width=5cm] \stopsetups \startsetups inner-table \globalpushmacro\TBLlevel \doglobal\decrement\TBLlevel\relax \setupTABLE[c][last][width=2cm] \globalpopmacro\TBLlevel \stopsetups \starttext \bTABLE[setups=outer-table] \bTR \bTD bla \eTD \bTD { %\setupTABLE[c][last][width=2cm

Re: [NTG-context] colored column

2010-03-13 Thread Wolfgang Schuster
Am 13.03.10 18:51, schrieb Wolfgang Werners-Lucchini: So, how can I do the job? Natural tables? \setupTABLE[offset=0pt,loffset=0.25ex,roffset=0.25ex] % l|roffset requires MKIV \setupTABLE[frame=off,leftframe=on,rightframe=on] \starttext \startTABLE[color=red] \NC red \NC\NR \stopTABLE

[NTG-context] unwanted space in front of table

2010-03-09 Thread zs
Hi, I found a space between character and table. Is it intended behavior or bug? Zdenek Sample code: \starttext \setupTABLE[background=color,backgroundcolor=yellow] This is OK: a% \setupTABLE[column][1][width=20mm]% \setupTABLE[column][2][width=20mm]% \setupTABLE[column][3][width=20mm

[NTG-context] unwanted space in front of table

2010-03-09 Thread zs
Hi, I found a space between character and table. Is it intended behavior or bug? Zdenek Sample code: \starttext \setupTABLE[background=color,backgroundcolor=yellow] This is OK: a% \setupTABLE[column][1][width=20mm]% \setupTABLE[column][2][width=20mm]% \setupTABLE[column][3][width=20mm

Re: [NTG-context] unwanted space in front of table

2010-03-09 Thread Wolfgang Schuster
!right,\v!broad,\v!high},#1]% \doprocesslocalsetups{\csname\@@tbl\@@tbl\c!setups\endcsname}% \hsize\tbltbltextwidth ... You can make your setups in the preamble with \startsetups setups:table \setupTABLE[...] \stopsetups and use them in your document with \bTABLE[setups=setups:table

Re: [NTG-context] unwanted space in front of table

2010-03-09 Thread zs
Thanks, this looks good. Zdenek On Tue, 09 Mar 2010 17:49:36 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: You can make your setups in the preamble with \startsetups setups:table \setupTABLE[...] \stopsetups and use them in your document with \bTABLE[setups

[NTG-context] wrong heights in TABLE

2010-03-09 Thread Peter Münster
Hello, I don't know, what I'm doing wrong here. The number of rows in each column is only correct, when adding a seventh column: \startbuffer \setupTABLE[r][2,3,4,5,6,7][height=6ex] \bTABLE[width=0.125\textwidth] \bTR \bTH 1. col\eTH \bTH 2. col\eTH \bTH 3. col\eTH \bTH 4. col\eTH \bTH 5. col

Re: [NTG-context] wrong heights in TABLE

2010-03-09 Thread Peter Münster
Hello, Here a better minimal example-test-file: \startbuffer \setupTABLE[c][1,2,3][height=4ex] \bTABLE[width=0.2\textwidth] \bTR \bTH 1. col\eTH \bTH 2. col\eTH \doifmode{wa2}{\bTH 3. col\eTH} \eTR \bTR \bTD 1 row in 1. col\eTD \bTD[nr=2] 2 rows in 2. col\eTD \doifmode{wa2}{\bTD\eTD} \eTR \bTR

Re: [NTG-context] Balancing vertical placement of table

2010-01-31 Thread Wolfgang Schuster
[the header text] \setupfootertexts[a pretty long left footer text][something right] \setupbottomtexts[a not so long bottom text][another right thing] \setuptexttexts [margin][something marginal][indeed] \startpagelayout[leftpage] \setupTABLE[offset=overlay] \setupTABLE[c][1][width=\leftmarginwidth

Re: [NTG-context] ntg-context Digest, Vol 67, Issue 63

2010-01-26 Thread Vyatcheslav Yatskovsky
Hello, Thanks for the hint. Actually, I rather use it inline as \bTR[background=color,backgroundcolor=blue] Regards, Vaytcheslav referring to is the first row, you could add before \bTABLE: \setupTABLE[row][1][background=color,backgroundcolor=blue

Re: [NTG-context] natural table row color

2010-01-25 Thread Curiouslearn
Do you mean background color or do you just want the text highlighted? If you mean the background color, and assuming that the row you referring to is the first row, you could add before \bTABLE: \setupTABLE[row][1][background=color,backgroundcolor=blue] On Mon, Jan 25, 2010 at 4:16 PM

Re: [NTG-context] [tex-live] difference texlive 2008, 2009

2010-01-09 Thread Lubos Kolouch
Hello, (sorry for posting to wrong group first). \setupoutput [pdftex] \enableregime[utf] \usetypescript [modern][ec] \setupbodyfont [ss,10pt] \mainlanguage[en] \setuppapersize [A4][A4] \setupcolors [state=start] \setuppagenumber [state=stop] \starttext \setupTABLE

Re: [NTG-context] Natural Tables Cell Borders

2010-01-06 Thread Wolfgang Schuster
to have borders of different thickness for the same cell through simple options. A TeX based solution won't be possible without Hans but you can set the values in TeX (\framed, \setupTABLE) and use them in MetaPost. The following example show you what can be done. \unprotect \startuseMPgraphic

Re: [NTG-context] Natural Tables Cell Borders

2010-01-06 Thread Curiouslearn
but you can set the values in TeX (\framed, \setupTABLE) and use them in MetaPost. The following example show you what can be done. \unprotect \startuseMPgraphic{tableborder} %linecap := butt ; numeric FrameOffset, LeftRuleThickness, RightRuleThickness, TopRuleThickness

Re: [NTG-context] Natural Tables Cell Borders

2010-01-04 Thread Wolfgang Schuster
Am 31.12.2009 um 23:04 schrieb Curiouslearn: Help needed! The fifth \setupTABLE command below reduces the rulethickness of the bottomframe in cells (2,5) and (3,5). Is there a way to avoid that? I just want the rightframe to be thin in these cells, but the bottomframe to be thick. You can

Re: [NTG-context] Natural Tables Cell Borders

2010-01-04 Thread Curiouslearn
cell through simple options. Thanks. On Mon, Jan 4, 2010 at 11:55 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 31.12.2009 um 23:04 schrieb Curiouslearn: Help needed! The fifth \setupTABLE command below reduces the rulethickness of the bottomframe in cells (2,5) and (3,5

[NTG-context] Natural Tables Cell Borders

2009-12-31 Thread Curiouslearn
Help needed! The fifth \setupTABLE command below reduces the rulethickness of the bottomframe in cells (2,5) and (3,5). Is there a way to avoid that? I just want the rightframe to be thin in these cells, but the bottomframe to be thick. Thanks a ton! \starttext \start \setupTABLE[frame=off

Re: [NTG-context] local footnote (Tables) problem

2009-11-18 Thread Wolfgang Schuster
itself when you set either \setuptable[split=yes] or \placetable[split]. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] local footnote (Tables) problem

2009-11-18 Thread Bowen Alan C.
\stoptables rather than \starttable\stoptable. No, what you need is \placetable[split,...]{...}{...}. You don't need starttables/stoptables because the table environment goes into the split mode itself when you set either \setuptable[split=yes] or \placetable[split]. Wolfgang

[NTG-context] Changing the formatting of Natural Tables

2009-11-12 Thread Curiouslearn
Hello, I am using natural tables to make tables in my document. Can someone please tell me how I can prevent context from applying features I choose for an earlier table to a table that appears later in the document. Following is an example of two tables. Even though I choose \setupTABLE[frame

Re: [NTG-context] Changing the formatting of Natural Tables

2009-11-12 Thread Willi Egger
someone please tell me how I can prevent context from applying features I choose for an earlier table to a table that appears later in the document. Following is an example of two tables. Even though I choose \setupTABLE[frame=off] for the second table, there is a frame created based on what

Re: [NTG-context] Changing the formatting of Natural Tables

2009-11-12 Thread Wolfgang Schuster
of two tables. Even though I choose \setupTABLE[frame=off] for the second table, there is a frame created based on what I define for an earlier table. I am using MKII (since I want to use Tikz). I would really appreciate any help. \start \setupTABLE[..,..=..,..] \bTABLE ... \eTABLE

Re: [NTG-context] Dashed and dotted lines

2009-10-30 Thread Wolfgang Schuster
[solidline:bottomright][\uniqueMPgraphic {solidline:bottomright}] \setupTABLE[frame=off] \setupTABLE[1][1][background=dottedline:top] \setupTABLE[2][1][background=dashedline:bottom] \setupTABLE[1][2][background=dashedline:left] \setupTABLE[2][2][background=solidline:bottomright] \starttext \bTABLE \bTR\bTD

Re: [NTG-context] framedtext in naturaltables

2009-10-02 Thread Xan
[alternative=b] % Start the text \starttext %\startcolumns[n=2] \startalignment[middle] {\scb Roques i Minerals} \stopalignment \smallskip \placefigure [here,none] [fig:taula-roques-i-minerals] {Característiques de roques i minerals} {\bTABLE[frame=off,align={middle}] %\setupTABLE[1,2][1

[NTG-context] framedtext in naturaltables

2009-09-30 Thread Xan
-minerals] {Característiques de roques i minerals} {\bTABLE[frame=off,align=middle] \setupTABLE[1,2][1][leftframe=off,rightframe=off] \setupTABLE[r][2][topframe=on,bottomframe=on] \setupTABLE[c][1][rightframe=on] \setupTABLE[c][2][leftframe=on] \bTR[align=middle] \bTD[align=middle] {\sc {\blue

Re: [NTG-context] framing in TABLEs

2009-09-07 Thread Steffen Wolfrum
, the result is not satisfactory because I want the horizontal lines stretching into the second column also. In the result this is the case only for the first rows. Like this? \enableregime [il1] \mainlanguage [de] \starttext \setupTABLE[row][each][align=lohi,height=0.08\textheight

Re: [NTG-context] framing in TABLEs

2009-09-06 Thread Steffen Wolfrum
: \enableregime [il1] \mainlanguage [de] \starttext \setupTABLE[row][each][align=lohi,height=0.08\textheight] \bTABLE \setupTABLE[textwidth=\textwidth]% \setupTABLE[column][1][width=0.77\textwidth]% \setupTABLE[column][2][width=0.23\textwidth]% \switchtobodyfont[small]% \bTR \bTD Schmerzliche

[NTG-context] framing in TABLEs

2009-09-05 Thread Gerhard Kugler
Hi, I'm updating a book of 2007 with many tables with empty, but framed cells. But if I see the new results, part of the cells are not framed as in the following example: \enableregime [il1] \mainlanguage [de] \starttext \setupTABLE[row][each][align=lohi,height=0.08\textheight] \bTABLE

[NTG-context] natural tables: when I say nc=2, I really mean it

2009-09-03 Thread Zed Lopez
Hi folks, When I compile this table: \starttext \setupTABLE[c][1][width=12pt,rightframe=off] \setupTABLE[c][2][width=108pt,leftframe=off] \setupTABLE[c][each][width=60pt] \bTABLE \bTR \bTD x \eTD \bTD y \eTD \bTD z \eTD \eTR \bTR \bTD[nc=2] thisisaverylongwordishthing \eTD \bTD word \eTD \eTR

Re: [NTG-context] natural tables: when I say nc=2, I really mean it

2009-09-03 Thread luigi scarso
On Thu, Sep 3, 2009 at 11:06 PM, Zed Lopezzed.lo...@gmail.com wrote: Hi folks, When I compile this table: \starttext \setupTABLE[c][1][width=12pt,rightframe=off] \setupTABLE[c][2][width=108pt,leftframe=off] \setupTABLE[c][each][width=60pt] \bTABLE \bTR \bTD x \eTD \bTD y \eTD \bTD z \eTD

[NTG-context] Alignment in tables

2009-08-14 Thread Curiouslearn
Can someone please tell me why the following does not center the text in the first row? Thanks in advance. \setupTABLE[row][1][align={middle}] \setupTABLE[column][1][width=2.5in,align={lohi}] \setupTABLE[column][2][width=3in,align={lohi}] \bTABLE \bTR \bTD {\bf Concept} \eTD

Re: [NTG-context] Alignment in tables

2009-08-14 Thread Wolfgang Schuster
Am 14.08.2009 um 14:55 schrieb Curiouslearn: Can someone please tell me why the following does not center the text in the first row? Thanks in advance. \setupTABLE[row][1][align={middle}] \setupTABLE[column][1][width=2.5in,align={lohi}] This setup overwrites the previous one, write them

Re: [NTG-context] Alignment in tables

2009-08-14 Thread Curiouslearn
Can someone please tell me why the following does not center the text in the first row? Thanks in advance. \setupTABLE[row][1][align={middle}] \setupTABLE[column][1][width=2.5in,align={lohi}] This setup overwrites the previous one, write them in reverse order and it will work

Re: [NTG-context] Alignment in tables

2009-08-14 Thread Wolfgang Schuster
Am 14.08.2009 um 15:04 schrieb Curiouslearn: I tried \setupTABLE[column][1][width=2.5in,align={lohi}] \setupTABLE[column][2][width=3in,align={lohi}] \setupTABLE[row][1][align={middle}] But that does not work either. weird but this works \setupTABLE[row][first][align=middle,style=bold

Re: [NTG-context] Alignment in tables

2009-08-14 Thread Curiouslearn
...@googlemail.com wrote: Am 14.08.2009 um 15:04 schrieb Curiouslearn: I tried \setupTABLE[column][1][width=2.5in,align={lohi}] \setupTABLE[column][2][width=3in,align={lohi}] \setupTABLE[row][1][align={middle}] But that does not work either. weird but this works \setupTABLE[row

Re: [NTG-context] re-posting example of header at page bottom

2009-05-20 Thread Jos van Gisbergen
] \setuptables[rulethickness=0.1mm,rulecolor=LightBlack,background=color,backgroundcolor=red] % Experimental (splitting does not work in combination with placeTABLE) \setupTABLE[split=yes] \setupTABLE[row][each][background=none,frame=off] \setupTABLE[column][each][frame=on,bottomframe=off,topframe=off

Re: [NTG-context] header at page bottom example

2009-05-19 Thread Jos van Gisbergen
not work in combination with placeTABLE) \setupTABLE[split=yes] \setupTABLE[row][each][background=none,frame=off] \setupTABLE[column][each][frame=on,bottomframe=off,topframe=off] \setupTABLE[column][first][leftframe=off] \setupTABLE[column][last][rightframe=off] \setupTABLE[row][first][bottomframe

<    1   2   3   4   5   6   7   8   9   10   >