Re: [NTG-context] Split Table, don't repeat caption

2020-10-08 Thread Denis Maier
of times, but I couldn't find an answer. If this doesn't help you have to provide a example. [...] Ok: = \setupcaption[table]     [location=top] \starttext \startplacetable[location=split,title={Title\footnote{footnote}}]     \bTABLE[split=yes]     \bTABLEhead

Re: [NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Denis Maier
. If this doesn't help you have to provide a example. [...] Ok: = \setupcaption[table]     [location=top] \starttext \startplacetable[location=split,title={Title\footnote{footnote}}]     \bTABLE[split=yes]     \bTABLEhead     \bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR

Re: [NTG-context] Split Table, don't repeat caption

2020-10-07 Thread Wolfgang Schuster
. \starttext \bTABLE[split=yes]     \bTABLEhead     \bTR \bTD Header 1 \eTD \bTD Header 2 \eTD \eTR     \eTABLEhead     \bTABLEbody     \dorecurse{100}{\bTR \bTD Column 1 \eTD \bTD Column 2 \eTD \eTR}     \eTABLEbody \eTABLE \stoptext Wolfgang

Re: [NTG-context] pdf tagging for accesbility

2020-07-12 Thread Duncan Hothersall
get tagging in general and thought that natural tables would > work because of \bTABLEhead ... \eTABLEhead would do the job, but it > doesn't. > > I'd appreciate any feedback. > > David > > > Sent with ProtonMai

[NTG-context] pdf tagging for accesbility

2020-07-12 Thread David Eric Cox
Hello. Is there any way to pdf-tag table headers to assist screen readers and the like? I can get tagging in general and thought that natural tables would work because of \bTABLEhead ... \eTABLEhead would do the job, but it doesn't. I'd appreciate any feedback. David Sent with [ProtonMail

Re: [NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Hans Hagen
... l.114 \eTABLE My table is: \setupTABLE[header][each][background=color,backgroundcolor=white, width=broad] \bTABLE[split=repeat,option={stretch},  align={flushright}, frame=off]   \bTABLEhead[align=flushright]     \bTR    \bTH [offset=none, align={flushleft},

[NTG-context] Normal tables error: Dimension too large. Context version: 2019.04.29 08:52

2019-05-10 Thread Felipe de Jesús Molina Bravo
=color,backgroundcolor=white, width=broad] \bTABLE[split=repeat,option={stretch}, align={flushright}, frame=off] \bTABLEhead[align=flushright] \bTR \bTH [offset=none, align={flushleft}, nc=39] . \eTH ... \bTR[strut=no] \bTD[align={flushleft,lohi}

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-10 Thread Tomas Hala
I have got the following two minimal non-working examples (on TeXlive 2018): # > # >\starttext\setupTABLE[split=yes] # > \bTABLE # > \bTABLEhead\bTR\bTH head \eTH\eTR\eTABLEhead # > \bTABLEbody # > \dorecurse{100}{\bTR\bTD \currentTABLErow xxx \eTD\eTR} # > \eTA

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Wolfgang Schuster
] \bTABLE \bTABLEhead\bTR\bTH head \eTH\eTR\eTABLEhead \bTABLEbody \dorecurse{100}{\bTR\bTD \currentTABLErow xxx \eTD\eTR} \eTABLEbody \eTABLE \stoptext In this case, the head-line is alse counted which makes no sense and I do not know how to supress it. Even though

[NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Tomas Hala
Hi all, at https://wiki.contextgarden.net/Command/currentTABLEcolumn I learnt about \currentTABLErow etc. for counting lines in natural tables. I have got the following two minimal non-working examples (on TeXlive 2018): \starttext\setupTABLE[split=yes] \bTABLE \bTABLEhead\bTR\bTH head

Re: [NTG-context] Issue with ligatures before dashes

2018-10-30 Thread Wolfgang Schuster
\setupTABLE[c][1,3][align=left] \setupTABLE[c][2,4][loffset=1em,roffset=1em] \setupTABLE[r][each][offset=0pt] \bTABLE[frame=off] \bTABLEhead \bTR[align=center,bottomframe=on] \bTH[nc=2] Non-compound\eTH \bTH[nc=2] Compound\eTH \eTR

[NTG-context] Issue with ligatures before dashes

2018-10-30 Thread Rik Kabel
) it fails with bare %% hyphen and all shown compounds except |=|. \starttext \setupTABLE[c][1,3][align=left] \setupTABLE[c][2,4][loffset=1em,roffset=1em] \setupTABLE[r][each][offset=0pt] \bTABLE[frame=off] \bTABLEhead \bTR[align=center,bottomframe

[NTG-context] align is reversed inside a table

2018-09-29 Thread David Walther
=off,align=left] \setupTABLE[c][2][style=\tfx\it,align=left] \bTABLE \bTABLEhead \bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR \eTABLEhead \bTABLEnext \bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR \eTABLEnext \bTABLEbody \bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR

[NTG-context] table making ugly column sizes, how to fix?

2018-09-29 Thread David Walther
=off,rightframe=off,align=right] \setupTABLE[c][first][frame=off,align=left] \setupTABLE[c][2][style=\tfx\it,align=left] \bTABLE \bTABLEhead \bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR \eTABLEhead \bTABLEnext \bTR\bTH Col1 \eTH\bTH Col2 \eTH\bTH Col3 \eTH\eTR \eTABLEnext \bTABLEbody \bTR\bTC

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Wolfgang Schuster
m 07:59 Place the table as float and disable the caption, e.g. \startplacetable[location={split,force,none}] ... \stopplacetable Wolfgang Procházka Lukáš Ing. <mailto:l...@pontex.cz> 21. Juni 2018 um 11:10 Hello, thanks, it works: \startalignment[middle] \startplacetable[locatio

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Procházka Lukáš Ing .
Hello, thanks, it works: \startalignment[middle] \startplacetable[location={split,force,none}] \bTABLE[split=repeat] \bTABLEhead \bTR\bTH A\eTH\bTH B\eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{60}{ \bTR \bTD

Re: [NTG-context] Expansion help needed, getvariable and TABLE

2018-01-31 Thread Rik Kabel
SET}{b}}     \define\C{\getvariable{#SET}{c}}     \bTR   \expanded{\bTC\A\eTC}   \expanded{\bTC\B\eTC}   \expanded{\bTC\C\eTC}     \eTR \stoptexdefinition \starttext     \processcommacommand[\Sets]\doInlineText     \bTABLE[frame=off]   \bTAB

[NTG-context] Expansion help needed, getvariable and TABLE

2018-01-30 Thread Rik Kabel
  \bTC\B\eTC     \eTR \stoptexdefinition \starttext \starttext \expandafter\processcommalist\expandafter[\Sets]\doInlineText     \bTABLE[frame=off]   \bTABLEhead     \bTR[nc=2]   \bTH Direct\eTH     \eTR   \eTABLEhead

[NTG-context] Long and slender floating tables

2017-04-23 Thread Javier M Mora
Hi, I have several long and slenders tables like this: ---8<--- \starttext Some Text at start. % Point bA \placetable[split]{My long table}{ % Point bB \bTABLE[split=repeat] \bTABLEhead \bTR\bTD one \eTD\bTD two \eTD\bTD three \eTD\eTR \eTABLEhead \bTABLEbody \dorecurse{100}{\

Re: [NTG-context] Orphans and widows in Natural Tables

2016-06-09 Thread Wolfgang Schuster
=3.0in] \setupTABLE[c][2][width=0.5in, align=flushright] \setupTABLE[c][3][width=0.5in, align=flushright] \setupTABLE[c][4][width=2.5in] \bTABLE \bTABLEhead \bTR[topframe=on, bottomframe=on] \bTH {\bf Unit Description} \eTH \bTH {\bf Weight} \eTH \bTH {\bf Mark} \eTH \bTH \eTH \eTR \eTABLEhead \bTAB

Re: [NTG-context] Orphans and widows in Natural Tables

2016-06-09 Thread Aditya Mahajan
] \setupTABLE[c][2][width=0.5in, align=flushright] \setupTABLE[c][3][width=0.5in, align=flushright] \setupTABLE[c][4][width=2.5in] \bTABLE \bTABLEhead \bTR[topframe=on, bottomframe=on] \bTH {\bf Unit Description} \eTH \bTH {\bf Weight} \eTH \bTH {\bf Mark} \eTH \bTH

[NTG-context] Orphans and widows in Natural Tables

2016-06-09 Thread Pavneet Arora
n=flushright] \setupTABLE[c][3][width=0.5in, align=flushright] \setupTABLE[c][4][width=2.5in] \bTABLE \bTABLEhead \bTR[topframe=on, bottomframe=on] \bTH {\bf Unit Description} \eTH \bTH {\bf Weight} \eTH \bTH {\bf Mark} \eTH \bTH \eTH \eTR

[NTG-context] Floating split TABLE misaligned

2016-02-05 Thread Andreas Schneider
[column][last][width=broad] \setupTABLE[row][first][style=bold] \setupTABLE[offset=.2em] \setupwhitespace[medium] \setuptolerance[verytolerant] \starttext \dorecurse{2}{\input knuth\par} \placetable[here,split][]{Test}{ \bTABLE \bTABLEhead \bTR \bTD Col1 \eTD \bTD Col2 \eTD \eTR

[NTG-context] Fwd: \bTABLEheader used to work?

2015-10-18 Thread Henman
I found out that the command is \bTABLEhead and not \bTABLEheader, but I don't know why my saved example had ...header instead of head. Thanks. Forwarded Message Subject:\bTABLEheader used to work? Date: Sun, 18 Oct 2015 00:06:38 -0700 From: Henman <d

Re: [NTG-context] Splitting natural table fails with xtable in footer

2015-10-06 Thread Andreas Schneider
] \setupfooter[style=\tx] \setupfootertexts[\setups{s:footer}][][][\setups{s:footer}] \startchapter[title={Test}] \placetable[split]{Test}{ \bTABLE[split=repeat] \bTABLEhead \bTR \bTD Col1 \eTD \bTD Col2 \eTD \eTR \eTABLEhead \bTABLEbody \dorecurse{50}{\bTR \bTD Value1 \eTD \bTD

[NTG-context] Splitting natural table fails with xtable in footer

2015-10-01 Thread Andreas Schneider
[title={Test}] \placetable[split]{Test}{ \bTABLE[split=repeat] \bTABLEhead \bTR \bTD Col1 \eTD \bTD Col2 \eTD \eTR \eTABLEhead \bTABLEbody \dorecurse{50}{\bTR \bTD Value1 \eTD \bTD Value2 \eTD \eTR} \eTABLEbody \eTABLE} \stopchapter \stoptext

[NTG-context] formal multipage table

2015-04-07 Thread Csikos Bela
of the trials I made: \defineipsum[tf][alternative=lines,n=2] \starttext \setupTABLE[r][first][style=\tf] \bTABLE[split=repeat,option=stretch,frame=off,bottomframe=on] \bTABLEhead \bTR \bTH[nc=2] This is the first page header \eTH \eTR \bTR \bTH Column 1 \eTH \bTH Column 2 \eTH \eTR

[NTG-context] Multi-page centered natural TABLE

2014-08-25 Thread Christoph Reller
] \bTABLEhead \bTR\bTH Thing \eTH\bTH Desc \eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{40}{\bTR\bTD Foo \eTD\bTD Text. \eTD\eTR} \eTABLEbody \eTABLE \stopalignment \stoptext Thank you for any help. Christoph

Re: [NTG-context] Multi-page centered natural TABLE

2014-08-25 Thread Wolfgang Schuster
=no. \starttext \startalignment[middle]\dontleavehmode% \bTABLE[split=yes] \bTABLEhead \bTR\bTH Thing \eTH\bTH Desc \eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{40}{\bTR\bTD Foo \eTD\bTD Text. \eTD\eTR} \eTABLEbody \eTABLE \stopalignment \stoptext Thank

Re: [NTG-context] About natural tables

2013-10-30 Thread Wolfgang Schuster
=middle] \setupTABLE [header] [topframe=on,bottomframe=on] \setupTABLE [row] [first] [topframe=on] \setupTABLE [row] [last] [bottomframe=on] \stopsetups \starttext \bTABLE[setups=table:rules] \bTABLEhead \bTR \bTD Letters

Re: [NTG-context] About natural tables

2013-10-30 Thread Aditya Mahajan
] \setupTABLE [start] [frame=off,align=middle] \setupTABLE [header] [topframe=on,bottomframe=on] \setupTABLE [row] [first] [topframe=on] \setupTABLE [row] [last] [bottomframe=on] \stopsetups \starttext \bTABLE[setups=table:rules] \bTABLEhead \bTR

Re: [NTG-context] About natural tables

2013-10-30 Thread MANUEL GONZALEZ SUAREZ
[table:rules] \setupTABLE [start] [frame=off,align=middle] \setupTABLE [header] [topframe=on,bottomframe=on] \setupTABLE [row] [first] [topframe=on] \setupTABLE [row] [last] [bottomframe=on] \stopsetups \starttext \bTABLE[setups=table:rules] \bTABLEhead

[NTG-context] setuplayout with duplex - shifted textarea

2013-10-14 Thread Zenlima
tufte \par } \setuplayout[WithoutMarginnotes] \placetable[split][]{Big table object} { \setupTABLE[row][1][width=\textwidth] \bTABLE[split=repeat] \bTABLEhead \bTR \bTD XXX \eTD \eTR \eTABLEhead \bTABLEbody \dorecurse{20}{ \bTR \bTD XXX \eTD \eTR} \eTABLEbody \eTABLE } \setuplayout

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Xan
=on] \setupTABLE[column][last][rightframe=on] \stopsetups \placefigure[here]{Diverses mesures}{ \bTABLE[setups={table:header, table:frame, table:style}] \bTABLEhead \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Distància mitjana Terra-Lluna \eTD

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-22 Thread Xan
={table:header, table:frame, table:style}] \bTABLEhead \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Distància mitjana Terra-Lluna \eTD \bTD 150.000.000.000 \eTD \eTR \bTR \bTD Diàmetre mitjà terrestre \eTD \bTD 12 800.000 \eTD \eTR \bTR \bTD Distància Palma

[NTG-context] Alignment table with comma, and long long space after

2013-09-21 Thread Xan
={table:header, table:frame, table:style}] \bTABLEhead \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Distància mitjana Terra-Lluna \eTD \bTD 150.000.000.000 \eTD \eTR \bTR \bTD Diàmetre mitjà terrestre \eTD \bTD 12 800.000 \eTD \eTR \bTR \bTD Distància Palma

Re: [NTG-context] Alignment table with comma, and long long space after

2013-09-21 Thread Wolfgang Schuster
=on] \stopsetups \placefigure[here]{Diverses mesures}{ \bTABLE[setups={table:header, table:frame, table:style}] \bTABLEhead \bTR \bTD Esdeveniment \eTD \bTD Mesura (m) \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD Distància mitjana Terra-Lluna \eTD \bTD 150.000.000.000 \eTD \eTR \bTR \bTD

Re: [NTG-context] Table cell spanning multiple columns in tabulate

2013-07-16 Thread Thomas Friedrich
=on] \bTABLEhead \bTR \bTD[nr=3] Trial \eTD \bTD[nr=3] Author \eTD \bTD[nr=3] Year \eTD \bTD[nc=4] Infected when\eTD \bTD[nr=3] {Absolute\\ latitute}\eTD \eTR \bTR \bTD[nc=2] vaccinated \eTD \bTD[nc=2] not vaccinated \eTD \eTR \bTR \bTD yes \eTD \bTD no \eTD \bTD yes \eTD \bTD

[NTG-context] [***SPAM***] Shifting table header when using overlay

2013-07-14 Thread Dmitriy Tokarev
\defineoverlay[OL:thickBtm][\useMPgraphic{MP:thickBtm}] \starttext \bTABLE \setupTABLE[align=middle] \setupTABLE[header][background={foreground,OL:thickBtm}] % \bTABLEhead\bTR\dorecurse{3}{\bTH#1\eTH}\eTR\eTABLEhead \bTABLEbody\dorecurse{6}{\bTR\dorecurse{3}{\bTD#1-##1\eTD}\eTR

[NTG-context] split natural table

2013-05-21 Thread Stephens, Kenny
={center,lohi},style={\bfx}] \setupTABLE[r][1][align={hilo,center},style={\bfx}] \setupTABLE[c][2][width=20em,style={\tfx}] \bTABLEhead \bTR\bTH Row number \eTH\bTH Content \eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTC 1 \eTC\bTC \input{knuth} \eTC\eTR \bTR\bTC 2 \eTC\bTC \input{knuth

[NTG-context] \bTD\numexpr\currentTABLErow\minusone\relax\eTD

2013-04-19 Thread Alan BRASLAU
Hello, I naively tried using \bTD\numexpr\currentTABLErow\minusone\relax\dTD in a TABLE. As I do not master even simple calculations under TeX, I do not see what I am missing in order to label TABLE rows, starting from 0? (Row 1 is a heading, set off by \bTABLEhead\eTABLEhead, which

Re: [NTG-context] TABLE: header with a thick bottom line

2012-10-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
] % \bTABLEhead\bTR\dorecurse{3}{\bTH#1\eTH}\eTR\eTABLEhead \bTABLEbody\dorecurse{6}{\bTR\dorecurse{3}{\bTD#1-##1\eTD}\eTR}\eTABLEbody \eTABLE \stoptext Best regards, Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz

Re: [NTG-context] TABLE: header with a thick bottom line

2012-10-23 Thread Rogers, Michael K
},bottomrulethickness=1.5mm, boffset=.55mm] % \bTABLEhead\bTR\dorecurse{3}{\bTH#1\eTH}\eTR\eTABLEhead \bTABLEbody\dorecurse{6}{\bTR\dorecurse{3}{\bTD#1-##1\eTD}\eTR}\eTABLEbody \eTABLE \stoptext This e-mail message (including any attachments) is for the sole

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

2012-10-23 Thread Shane Peelar
][background={OL:thickBtm},bottomrulethickness=3mm,boffset=1.3mm] \setupTABLE[row][4][background={OL:thickBtm},bottomrulethickness=1.5mm, boffset=.55mm] % \bTABLEhead\bTR\dorecurse{3}{\bTH#1\eTH}\eTR\eTABLEhead \bTABLEbody\dorecurse{6}{\bTR\dorecurse{3}{\bTD#1-##1\eTD}\eTR}\eTABLEbody

[NTG-context] TABLE: header with a thick bottom line

2012-10-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, how to achieve the table header to have a thick bottom line? Here are my two attempts: \starttext \bTABLE \setupTABLE[width=broad] \setupTABLE[header][align=middle] \bTABLEhead \bTR[bottomframe=on,rulethickness=2mm]\bTH a\eTH\bTH b\eTH\eTR \eTABLEhead

Re: [NTG-context] TABLE: header with a thick bottom line

2012-10-22 Thread Aditya Mahajan
On Mon, 22 Oct 2012, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, how to achieve the table header to have a thick bottom line? Here are my two attempts: \starttext \bTABLE \setupTABLE[width=broad] \setupTABLE[header][align=middle] \bTABLEhead \bTR[bottomframe

[NTG-context] TABLE and row/column align settings

2012-10-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
] % Settings for ALL columns in the row 1 should be overwritten ... [2] \bTABLEhead \bTR \bTH a\eTH \bTH b\eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD a\eTD \bTD b\eTD \eTR \eTABLEbody \eTABLE } \starttext No column specification

Re: [NTG-context] TABLE and row/column align settings

2012-10-03 Thread Wolfgang Schuster
] % ... [1] \setupTABLE[row][1][align=middle] % Settings for ALL columns in the row 1 should be overwritten ... [2] \bTABLEhead \bTR \bTH a\eTH \bTH b\eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD a\eTD

Re: [NTG-context] TABLE and row/column align settings

2012-10-03 Thread Procházka Lukáš Ing . - Pontex s . r . o .
with a particular column settings to work: \starttext \bTABLE \setupTABLE[width=2cm] \setupTABLE[column][2][align=flushright] \setupTABLE[row][1][align=middle] % Settings for ALL columns in the row 1 should be overwritten; but are not (?!) \bTABLEhead[align=middle] \bTR

Re: [NTG-context] TABLE and row/column align settings

2012-10-03 Thread Wolfgang Schuster
in the row 1 should be overwritten; but are not (?!) \bTABLEhead[align=middle] \bTR \bTH[align=middle] a\eTH \bTH[align=middle] b\eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD a\eTD \bTD b\eTD \eTR \eTABLEbody \eTABLE

[NTG-context] Long table centered on every page

2012-09-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello how to center a table over several pages? Suppose the following code: \def\TAB{% \bTABLE[split=repeat] \bTABLEhead \bTR \bTH head1 \eTH \eTR \eTABLEhead % \bTABLEbody \dorecurse{40}{% \bTR \bTD body \eTD \eTR

Re: [NTG-context] Long table centered on every page

2012-09-20 Thread Wolfgang Schuster
Am 20.09.2012 um 09:26 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello how to center a table over several pages? Suppose the following code: \def\TAB{% \bTABLE[split=repeat] \bTABLEhead \bTR \bTH head1 \eTH \eTR \eTABLEhead

Re: [NTG-context] Long table centered on every page

2012-09-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Thu, 20 Sep 2012 15:51:23 +0200, Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Use \placetable[force]{}{…} and omit the caption with the “none” keyword when you don’t want it. WOlfgang did you mean this? \def\TAB{% \bTABLE[split=repeat] \bTABLEhead \bTR

Re: [NTG-context] Long table centered on every page

2012-09-20 Thread Wolfgang Schuster
it. WOlfgang did you mean this? \def\TAB{% \bTABLE[split=repeat] \bTABLEhead \bTR \bTH head1 \eTH \eTR \eTABLEhead % \bTABLEbody \dorecurse{40}{% \bTR \bTD body \eTD \eTR } \eTABLEbody \eTABLE } \starttext

Re: [NTG-context] Long table centered on every page

2012-09-20 Thread Procházka Lukáš Ing . - Pontex s . r . o .
You need also the “split” keyword for the float. \starttext \startplacetable[location={force,split,none}] \bTABLE[split=repeat] \bTABLEhead \bTR \bTH head1 \eTH \eTR \eTABLEhead % \bTABLEbody \dorecurse{40}{% \bTR \bTD body \eTD \eTR

[NTG-context] Luatex crash with x86-64 Linux binary

2012-09-10 Thread Brian R. Landy
]% \bTABLEhead% \bTR% \bTH[nc=23]{\setupinterlinespace\strut Freddie Mac Fixed 30yr 3.0\strut\par}\eTH% \eTR% \bTR% \bTH[]{\setupinterlinespace\strut \strut\par}\eTH% \bTH[]{\setupinterlinespace\strut \strut\par}\eTH% \bTH[]{\setupinterlinespace\strut \strut\par}\eTH% \bTH[nc=4]{\setupinterlinespace\strut

[NTG-context] TABLE lines (frame)

2012-06-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
=on] \bTABLEhead[bottomframe=on] \bTR\bTD Head \eTD\eTR \bTR\bTD Head \eTD\eTR \eTABLEhead \bTABLEbody \bTR\bTD 11\eTD\bTD 12\eTD\eTR \bTR\bTD 21\eTD\bTD 22\eTD\eTR \eTABLEbody \eTABLE \stoptext How to specify rules (frame) to get the desired look? TIA

Re: [NTG-context] TABLE lines (frame)

2012-06-12 Thread luigi scarso
: \starttext  \bTABLE[split=repeat,option=stretch,align=middle,frame=off,leftframe=on,rightframe=on]    \bTABLEhead[bottomframe=on]      \bTR\bTD Head \eTD\eTR      \bTR\bTD Head \eTD\eTR    \eTABLEhead    \bTABLEbody      \bTR\bTD 11\eTD\bTD 12\eTD\eTR      \bTR\bTD 21\eTD\bTD 22

Re: [NTG-context] TABLE lines (frame)

2012-06-12 Thread Wolfgang Schuster
: \starttext \bTABLE[split=repeat,option=stretch,align=middle,frame=off,leftframe=on,rightframe=on] \bTABLEhead[bottomframe=on] \bTR\bTD Head \eTD\eTR \bTR\bTD Head \eTD\eTR \eTABLEhead \bTABLEbody \bTR\bTD 11\eTD\bTD 12\eTD\eTR \bTR\bTD 21\eTD\bTD 22\eTD\eTR

Re: [NTG-context] TABLE lines (frame)

2012-06-12 Thread Procházka Lukáš Ing . - Pontex s . r . o .
=off,leftframe=on,rightframe=on] \setupTABLE[header][frame=on] \setupTABLE[row][first][topframe=on] \setupTABLE[row][last][bottomframe=on] \bTABLE[split=repeat,option=stretch] \bTABLEhead \bTR\bTD Head \eTD\bTD Head \eTD\eTR \eTABLEhead \bTABLEbody \bTR\bTD 11\eTD\bTD 12\eTD\eTR \bTR

[NTG-context] TABLE with split=repeat and headings

2012-03-22 Thread Andreas Schneider
\dorecurse{35}{some text some text some text some text some text\crlf} \subsubsubject{Some Table} \bTABLE[split=repeat] \bTABLEhead \bTR \bTD Col1 \eTD \bTD Col2 \eTD \bTD Col3 \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD foo \eTD \bTD bar \eTD \bTD \eTD \eTR \bTR \bTD test \eTD \bTD test \eTD \bTD

[NTG-context] Styling of naturaltable headings

2012-03-15 Thread Steffen Fritzsche
},bottomframe=on] % Styling 2 \starttext \placetable [here][tab:example] {A very simple example of a table.}{ \bTABLE \bTABLEhead \bTR \bTH col1 \eTH \bTH col2 \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTC this \eTC \bTC is \eTC \eTR \bTR \bTC a \eTC \bTC

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Wolfgang Schuster
]% Styling 1 \setupTABLE[r][first][style={\ss},bottomframe=on] % Styling 2 \starttext \placetable [here][tab:example] {A very simple example of a table.}{ \bTABLE \bTABLEhead \bTR \bTH col1 \eTH \bTH col2 \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTC this \eTC

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Wolfgang Schuster
this gives me a nice gray background, it still uses a serif font. Since the background is applied I guess it somehow drops anything which is defined as style. Any other ideas or is this a bug? Don’t use \bTH when you use put the header in a \bTABLEhead … \eTABLEhead block because the \bTH

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Steffen Fritzsche
Am 15.03.2012 um 15:36 schrieb Wolfgang Schuster: Don’t use \bTH when you use put the header in a \bTABLEhead … \eTABLEhead block because the \bTH command applies a format the the cells, when you use \bTD instead no formatting is applied and the \setupTABLE setting is used. Thanks Wolfgang

Re: [NTG-context] Styling of naturaltable headings

2012-03-15 Thread Wolfgang Schuster
Am 15.03.2012 um 15:59 schrieb Steffen Fritzsche: Am 15.03.2012 um 15:36 schrieb Wolfgang Schuster: Don’t use \bTH when you use put the header in a \bTABLEhead … \eTABLEhead block because the \bTH command applies a format the the cells, when you use \bTD instead no formatting is applied

[NTG-context] \placelist summary alternative solution

2011-12-14 Thread Felix Ingram
I've ended up delving into the dark art that is Lua for this solution: \define[0]\SummaryTable{% \placetable[force, none]{}{% \setupTABLE[frame=off] \bTABLE \bTABLEhead \bTR\bTH Reference\eTH\bTH Title\eTH\bTH Page\eTH\eTR \eTABLEhead \bTABLEbody \startluacode for k, v in ipairs

Re: [NTG-context] \placelist summary alternative solution

2011-12-14 Thread Hans Hagen
On 14-12-2011 17:50, Felix Ingram wrote: I've ended up delving into the dark art that is Lua for this solution: \define[0]\SummaryTable{% \placetable[force, none]{}{% \setupTABLE[frame=off] \bTABLE \bTABLEhead \bTR\bTH Reference\eTH\bTH Title\eTH\bTH Page\eTH\eTR \eTABLEhead \bTABLEbody

Re: [NTG-context] Splitting natural tables

2011-11-30 Thread Christian
] \starttext \startchapter[title=Chapter] \startsection[title=section] \dorecurse{2}{\input knuth } \startplacetable[title={My Table},location=split] \bTABLE[option=stretch] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead

Re: [NTG-context] Splitting natural tables

2011-11-30 Thread Christian
[table][location=top] \setuplabeltext[table={Tabelle ,:}] \starttext \startchapter[title=Chapter] \startsection[title=section] \dorecurse{2}{\input knuth } \startplacetable[title={My Table},location=split] \bTABLE[option=stretch] \bTABLEhead \bTR \bTH C1 \eTH

[NTG-context] Splitting natural tables

2011-11-29 Thread Christian
? Examle (table is not split, but could be): \starttext \dorecurse{2}{\input knuth } \startplacetable[title={My Table}] \bTABLE[option=stretch,split=repeat] \bTABLEhead \bTR \bTH C1 \eTH \bTH C2 \eTH \eTR \eTABLEhead \bTABLEbody

Re: [NTG-context] Table headers and section titles

2011-09-15 Thread Felix Ingram
}) ; \stopuniqueMPgraphic \defineoverlay[shaded][\useMPgraphic{LinearShade}] \setupTABLE[row][1][background={shaded},backgroundcolor=blue,foregroundcolor=white] \starttext \framed[background={shaded}, width=\textwidth, frame=off]{} \bTABLE \bTABLEhead \bTR \bTH 1 \eTH \bTH 1 \eTH \bTH 1 \eTH

[NTG-context] Table headers and section titles

2011-09-13 Thread Felix Ingram
]{} \bTABLE \bTABLEhead \bTR \bTH 1 \eTH \bTH 1 \eTH \bTH 1 \eTH \bTH 1 \eTH \bTH Page \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD 1 \eTD \bTD 1 \eTD \bTD 1 \eTD \bTD 1 \eTD \bTD 1 \eTD \eTR \eTABLEbody \eTABLE \stoptext The output shows a framed element which is similar to what I want to achieve

Re: [NTG-context] Why is the \crlf needed to display the table correctly

2011-08-15 Thread Wolfgang Schuster
] \setupTABLE[c][1][align=right,width=.30\textwidth] \setupTABLE[c][2][width=.70\textwidth] \stopsetups \starttext \bTABLE[setups=mytable] \bTABLEhead \bTR \bTD[nx=2] The most important commands \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD \type{\completecontent} \eTD \bTD This generates a Table

Re: [NTG-context] Why is the \crlf needed to display the table correctly

2011-08-15 Thread Cecil Westerhof
] \setupTABLE[c][1][align=right,width=.30\textwidth] \setupTABLE[c][2][width=.70\textwidth] \stopsetups \starttext \bTABLE[setups=mytable] \bTABLEhead \bTR \bTD[nx=2] The most important commands \eTD \eTR \eTABLEhead \bTABLEbody \bTR \bTD \type{\completecontent} \eTD \bTD

Re: [NTG-context] two problems with natural tables

2011-04-11 Thread Wolfgang Schuster
Am 10.04.2011 um 18:40 schrieb Florian Wobbe: 2) How do I get a small and bold header? This does not work: \bTABLE \setupTABLE[style=\tfx] \setupTABLE[row][1][style=\bfx] % redundant w/ line 5 \bTABLEhead \bTR[style=\bfx] \bTH Header \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD hello

Re: [NTG-context] two problems with natural tables

2011-04-11 Thread Florian Wobbe
2) How do I get a small and bold header? This does not work: \bTABLE \setupTABLE[style=\tfx] \setupTABLE[row][1][style=\bfx] % redundant w/ line 5 \bTABLEhead \bTR[style=\bfx] \bTH Header \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD hello \eTD \eTR \bTR \bTD world \eTD \eTR \eTABLEbody

[NTG-context] three more table questions

2011-04-11 Thread Florian Wobbe
Hi, 1) how can I auto-stretch a natural table to a defined width? The default seems to be the line width, which I don't want. Setting width=... will change the per column width, which I don't like either. I'd like to set the per table width. \bTABLE[option=stretch,width=80mm] \bTABLEhead \bTR

Re: [NTG-context] three more table questions

2011-04-11 Thread Wolfgang Schuster
. \bTABLE[option=stretch,width=80mm] \bTABLEhead \bTR \bTD Col1 \eTD \bTD Col2 \eTD \bTD Col3 \eTD \bTD Col4 \eTD \eTR \eTABLEhead \bTABLEbody \dorecurse{5}{\bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD 4 \eTD \eTR} \eTABLEbody \eTABLE Or is there maybe the possibility to enforce

Re: [NTG-context] three more table questions

2011-04-11 Thread Florian Wobbe
3) Consider this example: \bTABLE[option=stretch] \setupTABLE[frame=off,offset=0pt] \bTABLEhead \bTR[bottomframe=on] \bTD Col1 \eTD \bTD Col2 \eTD \bTD Col3 \eTD \bTD Col4 \eTD \eTR \eTABLEhead \bTABLEbody \dorecurse{5}{\bTR \bTD 1 \eTD \bTD 2 \eTD \bTD 3 \eTD \bTD this is a long

[NTG-context] two problems with natural tables

2011-04-10 Thread Florian Wobbe
still works in 2010.12.21 10:50. Anyone got an idea which setups might cause this issue? 2) How do I get a small and bold header? This does not work: \bTABLE \setupTABLE[style=\tfx] \setupTABLE[row][1][style=\bfx] % redundant w/ line 5 \bTABLEhead \bTR[style=\bfx] \bTH Header \eTH \eTR \eTABLEhead

Re: [NTG-context] Re;Help TABLE

2010-12-10 Thread barney schwartz
Hans, guess I didn't explain wel enough. Using Wolfgang's TABLE module \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 \bTC[nc=8] 1980 \eTC \eTR . .. . lots and lots

Re: [NTG-context] Re;Help TABLE

2010-12-10 Thread Philipp Gesang
Hi Barney, On 2010-12-10 15:30:04, barney schwartz wrote: Hans, guess I didn't explain wel enough. Using Wolfgang's TABLE module \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

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

[NTG-context] bug in TABLE when there is a complex head

2010-12-06 Thread Nigel King
appears to be [nr=2] in the head. I am using This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009) (format=cont-en 2010.4.14) 6 DEC 2010 08:32 I do apologise if this is fixed in a later version. Thanks for a great program. \bTABLE[split=repeat] \bTABLEhead \bTR \bTH[nr=2] head l\eTH \bTH

Re: [NTG-context] bug in TABLE when there is a complex head

2010-12-06 Thread Hans Hagen
] \bTABLEhead \bTR \bTH[nr=2] head l\eTH \bTH head r\eTH \eTR \bTR \bTH head r\eTH \eTR \eTABLEhead \bTABLEbody \bTR\bTD first l\eTD\bTD first r\eTD\eTR \dorecurse{50}{\bTR\bTD subsequent l\eTD\bTD subsequent r\eTD\eTR} \eTABLEbody \eTABLE put this in cont-new.tex: \unprotect \def\endtblrow

Re: [NTG-context] bug in TABLE when there is a complex head

2010-12-06 Thread Nigel King
. \bTABLE[split=repeat] \bTABLEhead \bTR \bTH[nr=2] head l\eTH \bTH head r\eTH \eTR \bTR \bTH head r\eTH \eTR \eTABLEhead \bTABLEbody \bTR\bTD first l\eTD\bTD first r\eTD\eTR \dorecurse{50}{\bTR\bTD subsequent l\eTD\bTD subsequent r\eTD\eTR} \eTABLEbody \eTABLE put this in cont

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

2010-11-11 Thread Wolfgang Schuster
, 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,backgroundcolor=gray] \bTABLE \bTABLEhead \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR

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

2010-11-11 Thread Manfred Lotz
,background=color,backgroundcolor=gray] \bTABLE \bTABLEhead \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \eTBALEhead \bTABLEbody \bTR \bTD cell 11 \eTD \bTD cell 12 \eTD \eTR \bTR \bTD cell 21 \eTD \bTD cell 22 \eTD

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

2010-11-11 Thread Herbert Voss
,backgroundcolor=gray] \bTABLE \bTABLEhead \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \eTBALEhead with current minimal mkiv I get: (/opt/context/tex/texmf-context/tex/context/base/bxml-apa.mkiv) systems : begin file latex5.tex at line 3 ) Runaway argument

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

2010-11-11 Thread Hans Hagen
=bold,background=color,backgroundcolor=gray] \bTABLE \bTABLEhead \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \eTBALEhead with current minimal mkiv I get: (/opt/context/tex/texmf-context/tex/context/base/bxml-apa.mkiv) systems : begin file latex5.tex

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

2010-11-11 Thread Herbert Voss
table: \starttext \setupTABLE[header][style=bold,background=color,backgroundcolor=gray] \bTABLE \bTABLEhead \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \eTBALEhead Runaway argument? \bTR \bTD Colheader 1 \eTD \bTD Colheader 2 \eTD \eTR \eTBALEhead

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] XML ConTeXt

2010-11-02 Thread Daniel Grycman
=\textwidth] \bTABLEhead \bTR \bTH Name \eTH \bTH Vorname \eTH \bTH Email-Adresse \eTH \bTH Raum \eTH \bTH Telefon \eTH \eTR \eTABLEhead \bTABLEbody \bTR \bTD \xmltext{#1}{/Titel} \xmltext{#1}{/Name} \eTD \bTD \xmltext{#1}{/Vorname} \eTD \bTD \xmltext{#1}{/Mail} \eTD \bTD \xmltext{#1}{/Raum} \eTD \bTD

Re: [NTG-context] XML ConTeXt

2010-11-02 Thread Aditya Mahajan
[row][*][width=\textwidth] | \bTABLEhead | \bTR | \bTH Name \eTH | \bTH Vorname \eTH | \bTH Email-Adresse \eTH | \bTH Raum \eTH | \bTH Telefon \eTH | \eTR | \eTABLEhead | \bTABLEbody | \bTR

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] natural tables -- split 'n grid

2010-09-12 Thread Hans Hagen
\dorecurse{4}{\input knuth\par} \startlinecorrection% fine without line correction \bTABLE[split=yes] % fine with split=no \bTABLEhead \bTR\bTH p\eTH\bTH q\eTH\bTH p or q\eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTC False\eTC\bTC False\eTC\bTC False\eTC\eTR \bTR\bTC True\eTC\bTC False\eTC\bTC True\eTC

[NTG-context] natural tables -- split 'n grid

2010-09-11 Thread Philipp Gesang
% fine without line correction \bTABLE[split=yes] % fine with split=no \bTABLEhead \bTR\bTH p\eTH\bTH q\eTH\bTH p or q\eTH\eTR \eTABLEhead \bTABLEbody \bTR\bTC False\eTC\bTC False\eTC\bTC False\eTC\eTR \bTR\bTC True\eTC\bTC False\eTC\bTC True\eTC\eTR \bTR\bTC False\eTC\bTC True\eTC\bTC True

[NTG-context] Split Table Numbering

2010-01-29 Thread Tad Ashlock
] \starttext \chapter{Chapter Name} \dorecurse{3}{\input knuth\par} \placetable[split]{Table Caption}% { \bTABLE[split=repeat]% \bTABLEhead \bTR\bTH Table Header \eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{10}{\bTR\bTD table row \eTD\eTR} \eTABLEbody \eTABLE} \stoptext

[NTG-context] Natural tables with \placetable

2009-04-17 Thread Design Department
, textwidth=3in] \bTABLEhead[rulethickness=1pt] \bTR \bTH[align={middle}] head \eTH \eTR \eTABLEhead \bTABLEbody \dorecurse{6}{ \bTR \bTD {\input knuth \par} \eTD \eTR } \eTABLEbody \bTABLEfoot \bTR \bTH footer

  1   2   >