Re: [NTG-context] new structure code

2009-04-24 Thread Kevin D. Robbins
plish this? \starttext \placetable {Foo. \nolist{Bar, Baz}} {\starttable [s1|l|r|r|r|r|] \HL[5] \NC A \NC \Use4[c]{B} \AR \NC \NC C \NC D \NC E \NC F \NC \AR \HL[5] \NC G \NC 3 \NC 1 \NC 0 \NC 2 \NC \AR \NC H \NC 3 \NC 2 \NC 0.5 \NC 0.5 \NC \AR \NC I \NC 1 \NC 2 \NC 3 \NC 0 \NC \

Re: [NTG-context] new beta

2009-04-18 Thread Wei-Wei Guo
;s tutorial too.} \placetable {Complex Table\footnote{An test table.}} {\startlocalfootnotes \placelegend {\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use{2}[c]{First Half} \NC \Use{2}[c]{Second Half} \NC \FR \DC\DL[4] \DR \NC

Re: [NTG-context] new beta

2009-04-18 Thread Wei-Wei Guo
Hans Hagen 写道: Wei-Wei Guo wrote: 1 13 Example: \starttext \completelistoftables \placetable[here][example-table]{\LaTeX} \starttable[|l|l|] \NC longtable \NC LONG TABLE \NC \AR \NC booktabs

Re: [NTG-context] new beta

2009-04-18 Thread Hans Hagen
Wei-Wei Guo wrote: 1 13 Example: \starttext \completelistoftables \placetable[here][example-table]{\LaTeX} \starttable[|l|l|] \NC longtable \NC LONG TABLE \NC \AR \NC booktabs \NC BOOKTABS \NC

Re: [NTG-context] new beta

2009-04-18 Thread Hans Hagen
e title of Yanrui Li's tutorial.} is painful. \input knuth \section{Second} But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.} \input knuth \startlocalfootnotes \placetable{Complex Table\footnote{An test table.}} \placelegend{ \starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
s tutorial.} is painful. \input knuth \section{Second} But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.} \input knuth \startlocalfootnotes \placetable{Complex Table\footnote{An test table.}} \placelegend{ \starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use{2

Re: [NTG-context] new beta

2009-04-17 Thread Yanrui Li
; >            \completelistoftables > >            \placetable[here][example-table]{\LaTeX} >            \starttable[|l|l|] >              \NC longtable      \NC LONG TABLE \NC \AR >              \NC booktabs       \NC BOOKTABS \NC \AR >            \stoptable > &

Re: [NTG-context] new beta

2009-04-17 Thread Wei-Wei Guo
-table]{\LaTeX} \starttable[|l|l|] \NC longtable \NC LONG TABLE \NC \AR \NC booktabs \NC BOOKTABS \NC \AR \stoptable \stoptext 2. \writebetweenlist has no effect. Example: \starttext

Re: [NTG-context] Table macro alternatives

2009-04-14 Thread Wolfgang Schuster
comprehensive. Did you read Adityas table article? \starttable[|cm|n5.4 |] \NC \REF[c]{Pi expression} \NC \REF[c]{Value}\NC\AR \NC \pi\NC 3.1416\NC\AR \NC \pi^{\pi} \NC 36.46 \NC\AR \NC (\pi^{\pi})^{\pi} \NC 80,662.7 \NC\AR

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-08 Thread Wolfgang Schuster
--- I tried \starttabulate, \starttable, \setupTABLE, and \definedescription with \underline{} and \startunderline. - Tabulate will get error. - Table do not show underline. - Natural table displays the underline with only half length as the text line's. An

Re: [NTG-context] How to get the number of lines of a paragraph?

2009-04-08 Thread Wei-Wei Guo
\starttabulate, \starttable, \setupTABLE, and \definedescription with \underline{} and \startunderline. - Tabulate will get error. - Table do not show underline. - Natural table displays the underline with only half length as the text line's. And the vertical positions are also not

Re: [NTG-context] Group together figure and table

2009-04-06 Thread Michael Bynum
tfloatcombination[2*1] > \placefigure{A dutch cow}{\externalfigure[cow]} > \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC\AR 1 \NC > 100 \NC\AR\stoptable} > \stopfloatcombination} > > \stoptext > > Wolfgang > > ___

Re: [NTG-context] Group together figure and table

2009-04-06 Thread Wolfgang Schuster
xt \input knuth \placefigure {none} {\setupcombinations[distance=2em] \startfloatcombination[2*1] \placefigure{A dutch cow}{\externalfigure[cow]} \placetable {Cow data}{\starttable[|l|l|]\NC Age \NC Weight \NC \AR 1 \NC 100 \NC\AR\stoptable} \stopfloatcombination} \stoptext

Re: [NTG-context] \restoreglobalbodyfont messes up superscripts

2009-04-03 Thread Wolfgang Schuster
Can anyone give me any help with this issue? \starttext Sample Text\high{TEST} \placetable[here] {none} {\setuptables[bodyfont=xx] \starttable{|c|f{\ss}c|} \HL \NC test \NC test \NC\AR \NC test \NC test \NC\AR \HL \stoptable} {\txx Sample Text\high{TEST}} Sample Text\h

[NTG-context] \restoreglobalbodyfont messes up superscripts

2009-04-03 Thread Michael Bynum
ample Text\high{TEST} \tfxx \placetable[here]{} \starttable{|c|c|} \HL \NC test \NC test \NC\FR \NC test \NC test \NC\LR \HL \stoptable \par Sample Text\high{TEST} \restoreglobalbodyfont \par Sample Text\

Re: [NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Bowen Alan C.
26.03.2009 um 18:51 schrieb Bowen Alan C.: This sample will show the crowding within a cell and between rows. Alan \starttext \setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|] You could use this for the time being but I hope myself Hans can fix the spacing. \starttable[|l|b

Re: [NTG-context] Tables query (MKII, latest beta)

2009-03-26 Thread Wolfgang Schuster
Am 26.03.2009 um 18:51 schrieb Bowen Alan C.: This sample will show the crowding within a cell and between rows. Alan \starttext \setuptables[bodyfont=9pt] \starttables[|l|p(15pc)|] You could use this for the time being but I hope myself Hans can fix the spacing. \starttable[|l|b

Re: [NTG-context] Simplified input for natural tables

2009-03-12 Thread Wolfgang Schuster
function commands.wiki_to_table(str) -- wrong namespace str = string.gsub(str,"%^ *[\n\r]","\\NC\\NR\n") str = string.gsub(str,"%^","\\NC ") str = string.gsub(str,"| *[\n\r]","\\NC\\NR\n") str = string.gsub(str,"|",

Re: [NTG-context] Columnspan in table no possible

2009-03-08 Thread Hans Hagen
Wolfgang Schuster wrote: Hi, the last beta gives a error message for columnspans in tables. \starttext \starttable[|l|l|] \NC one \NC two \NC\AR \NC \TWO three \NC\AR \stoptable \stoptext Runaway argument? ah ... i cleaned up to much so now we run into the span omit parsing problem

[NTG-context] Columnspan in table no possible

2009-03-08 Thread Wolfgang Schuster
Hi, the last beta gives a error message for columnspans in tables. \starttext \starttable[|l|l|] \NC one \NC two \NC\AR \NC \TWO three \NC\AR \stoptable \stoptext Runaway argument? \ifnum \mscount >\plusone ! Forbidden control sequence found while scanning use of \!thL

Re: [NTG-context] Simplified input for natural tables

2009-03-08 Thread Wolfgang Schuster
ntax requires sometimes a lot of typing for small content >>> and >>> takes to many lines of code in the document. > > less code and more efficient too ... can you test this? > > \def\startTABLE >  {\dosingleempty\dostartTABLE} > > \def\dostartTABLE[#1]% >

Re: [NTG-context] Simplified input for natural tables

2009-03-08 Thread John Devereux
gt; str = string.gsub(str,"%^","\\NC ") > str = string.gsub(str,"| *[\n\r]","\\NC\\NR\n") > str = string.gsub(str,"|","\\NC ") > tex.sprint(tex.ctxcatcodes,"\\startTABLE") > tex.sprint(tex.ctxcatcod

Re: [NTG-context] Simplified input for natural tables

2009-03-08 Thread Hans Hagen
ce str = string.gsub(str,"%^ *[\n\r]","\\NC\\NR\n") str = string.gsub(str,"%^","\\NC ") str = string.gsub(str,"| *[\n\r]","\\NC\\NR\n") str = string.gsub(str,"|","\\NC ") tex.sprint(tex.ctxcatcodes,"

Re: [NTG-context] Simplified input for natural tables

2009-03-08 Thread Hans Hagen
efficient too ... can you test this? \def\startTABLE {\dosingleempty\dostartTABLE} \def\dostartTABLE[#1]% {\bgroup \bTABLE[#1]% \let\NC\doTABLENC \let\NR\doTABLENR \let\bTR\relax \let\bTD\relax \let\bTH\relax \let\bTN\relax} \def\stopTABLE {\eTABLE \egroup

Re: [NTG-context] Simplified input for natural tables

2009-03-08 Thread Aditya Mahajan
%D %D and now with my new macros: %D %D \starttyping %D \startTABLE %D \NC Text 1 \NC Text 2 \NC\NR %D \NC Text 3 \NC Text 4 \NC\NR %D \stopTABLE %D \stoptyping \def\startTABLE {\dosingleempty\dostartTABLE} \def\dostartTABLE[#1]% {\bgroup \def\NC{\parseNC} \bTABLE[#1]} \def\stopTABLE {\eTABLE \e

[NTG-context] Simplified input for natural tables

2009-03-08 Thread Wolfgang Schuster
\eTD %D \bTD Text 2 \eTD %D \eTR %D \bTR %D \bTD Text 3 \eTD %D \bTD Text 4 \eTD %D \eTR %D \eTABLE %D \stoptyping %D %D and now with my new macros: %D %D \starttyping %D \startTABLE %D \NC Text 1 \NC Text 2 \NC\NR %D \NC Text 3 \NC Text 4 \NC\NR %D \stopTABLE %D \stoptyping

Re: [NTG-context] Up the contents of table

2009-03-04 Thread Wolfgang Schuster
dentifica una funció mitjançant la seva representació gràfica?} {\starttable ... \stoptable} Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-c

[NTG-context] Up the contents of table

2009-03-04 Thread Xan
re,none] [taula] { } { \starttable[|l|xw(4.5cm)p(4.5cm)|l] \HL \NC % Una relació que no és funció 1 \starttikzpicture[scale=0.8] \draw[very thin,color=gray] (-0.1,-1.1) grid (3.9,3.9); \draw[->] (-0.2,0) -- (4.2,0) node[right] {$x$}; \draw[->] (0,-1.2) -- (0,4.2) node[above] {$y$}; \path

Re: [NTG-context] Questions about tables

2009-01-22 Thread Bart C. Wise
On Wednesday 21 January 2009 06:16:36 pm Cecil Westerhof wrote: > I have the following table: > \starttable[|cp(.12\textwidth)|cp(.12\textwidth)|cp(.18\textwidth)|cp(.18\t >extwidth)|cp(.12\textwidth)|cp(.12\textwidth)|cp(.12\textwidth)|] \HL > \CL[darkyellow]\SR > \VL Verwerkt \

Re: [NTG-context] Questions about tables

2009-01-22 Thread Willi Egger
table environment: \bTABLE \bTR \bTD ... \eTD \eTR \eTABLE This environment has more possibilities than \starttable. Herein \dorecurse does work. Moreover support for colouring is more advanced. Look for details in the enattab.pdf I suggest you to use buffers for

[NTG-context] Questions about tables

2009-01-21 Thread Cecil Westerhof
I have the following table: \starttable[|cp(.12\textwidth)|cp(.12\textwidth)|cp(.18\textwidth)|cp(.18\textwidth)|cp(.12\textwidth)|cp(.12\textwidth)|cp(.12\textwidth)|] \HL \CL[darkyellow]\SR \VL Verwerkt \VL Datum \VL Km-stand \VL Kilometers \VL c/l \VL Liter \VL Prijs \VL \SR \HL \VL

Re: [NTG-context] colored column

2009-01-20 Thread Wolfgang Schuster
Am 18.01.2009 um 17:09 schrieb Wolfgang Werners-Lucchini: This doesn't work! Try \letvalue{!tk<\string C>}=\undefined \NewFormatKey C#1% {\ReadFormatKeys b{\localstartcolor[#1]\bgroup} a{\egroup \localstopcolor}} \starttable[o1|C{red}|c|] \VL red \VL should be black \VL\SR

Re: [NTG-context] colored column

2009-01-18 Thread Wolfgang Werners-Lucchini
the\!taDataColumnTemplate}}% \ReadFormatKeys} --- in thrd-tab.tex > > \starttable[o1|C{red}|] > \VL red \VL\SR > \stoptable This doesn't work! Try \starttable[o1|C{red}|c|] \VL red \VL s

Re: [NTG-context] colored column

2009-01-18 Thread Wolfgang Werners-Lucchini
Hallo Wolf[gang], > > \setupcolors[state=start] > > \starttext > > \starttable[ o1 | \{C{red} |] > > \VL red \VL\SR > > \stoptable > > \stoptext > > > > This was an older example which worked some years ago (see: > > http://www.ntg.nl

Re: [NTG-context] colored column

2009-01-18 Thread Hans Hagen
Wolfgang Werners-Lucchini wrote: Hallo! \setupcolors[state=start] \starttext \starttable[ o1 | \{C{red} |] \VL red \VL\SR \stoptable \stoptext This was an older example which worked some years ago (see: http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but is not working anymore

Re: [NTG-context] colored column

2009-01-18 Thread Wolfgang Schuster
Am 18.01.2009 um 00:59 schrieb Wolfgang Werners-Lucchini: Hallo! \setupcolors[state=start] \starttext \starttable[ o1 | \{C{red} |] \VL red \VL\SR \stoptable \stoptext This was an older example which worked some years ago (see: http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but

[NTG-context] colored column

2009-01-17 Thread Wolfgang Werners-Lucchini
Hallo! \setupcolors[state=start] \starttext \starttable[ o1 | \{C{red} |] \VL red \VL\SR \stoptable \stoptext This was an older example which worked some years ago (see: http://www.ntg.nl/pipermail/ntg-context/2006/020803.html), but is not working anymore. What is the problem here? Wolfgang

Re: [NTG-context] Undefined control sequence: \_

2009-01-13 Thread Hans Hagen
Peter Münster wrote: Hello, With the following test file, I get an "undefined control sequence" error: \starttext cc\_KNX \starttable[|c|] \NC cc\_KNX \NC\AR % here is the error \stoptable \stoptext But only with MKIV, no problem with MKII. ok, i fixe

[NTG-context] Undefined control sequence: \_

2009-01-13 Thread Peter Münster
Hello, With the following test file, I get an "undefined control sequence" error: \starttext cc\_KNX \starttable[|c|] \NC cc\_KNX \NC\AR % here is the error \stoptable \stoptext But only with MKIV, no problem with MKII. Cheers, Peter -- http://pmrb.free.

Re: [NTG-context] \bTABLE and \chemical

2008-09-09 Thread Alan BRASLAU
On Tuesday 09 September 2008 08:33:19 Wolfgang Schuster wrote: > \dontleavehmode\startchemical Thank you. This works, of course. I suppose that it is a subtlety why this is necessary with \bTable but not with \starttable... Should this perhaps be included in \startchemical or would that wr

Re: [NTG-context] Columnspan in tabulate

2008-09-08 Thread Wolfgang Schuster
e. >>> >>> \def\tabulateuse#1% >>> {\dorecurse{\numexpr2*#1-1\relax}{\span}} >>> >>> \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands] >>> >>> \starttext >>> >>> \starttable[|l|l|l|l|] >>> \NC a \NC b

Re: [NTG-context] \bTABLE and \chemical

2008-09-08 Thread Wolfgang Schuster
something? > > Thanks. > > Alan > > \starttext > \usemodule[chemic] > \setupchemical[size=small,scale=200,width=fit,frame=off] > > \starttable[|c|] >\HL >\VL chemical formula \VL\AR >\HL >\VL >\startche

[NTG-context] \bTABLE and \chemical

2008-09-08 Thread Alan BRASLAU
,frame=off] \starttable[|c|] \HL \VL chemical formula \VL\AR \HL \VL \startchemical \chemical[SIX,B,C,R,RZ][R,R,R,R,R,R] \stopchemical \VL\LR \HL \stoptable \blank[line] \setupTABLE[c][1][align

Re: [NTG-context] Columnspan in tabulate

2008-09-08 Thread Wolfgang Schuster
t;> >> \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands] >> >> \starttext >> >> \starttable[|l|l|l|l|] >> \NC a \NC b \NC c \NC d \AR >> \NC 1 \NC \TWO 2 \NC 4 \AR >> \stoptable >> >> \starttabulate[|l|Bl|l|l|] >> \NC a \NC b \NC

Re: [NTG-context] Columnspan in tabulate

2008-09-08 Thread Hans Hagen
Wolfgang Schuster wrote: > Hi, > > is it possible to support columnspan in tabulate. > > \def\tabulateuse#1% > {\dorecurse{\numexpr2*#1-1\relax}{\span}} > > \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands] > > \starttext > > \starttable[

[NTG-context] Columnspan in tabulate

2008-09-08 Thread Wolfgang Schuster
Hi, is it possible to support columnspan in tabulate. \def\tabulateuse#1% {\dorecurse{\numexpr2*#1-1\relax}{\span}} \setuptabulate[inner=\let\use\tabulateuse\defineTABLEshorthands] \starttext \starttable[|l|l|l|l|] \NC a \NC b \NC c \NC d \AR \NC 1 \NC \TWO 2 \NC 4 \AR \stoptable

Re: [NTG-context] Tables, colors, and mkiv

2008-04-25 Thread Hans Hagen
Aditya Mahajan wrote: > Hi, > > Background colors do not work inside tables with mkiv. For example > > \setupcolors[state=start] > \starttext >\starttable[|mc|mc|mc|mc|mc|mc|] > \HL[2] > \BL[6] \AR > \NC x_1 \NC x_2 \NC x_3 \

[NTG-context] Tables, colors, and mkiv

2008-04-25 Thread Aditya Mahajan
Hi, Background colors do not work inside tables with mkiv. For example \setupcolors[state=start] \starttext \starttable[|mc|mc|mc|mc|mc|mc|] \HL[2] \BL[6] \AR \NC x_1 \NC x_2 \NC x_3 \NC z_1 \NC z_2 \NC z_3 \NC \AR \HL[2] \NC 0 \NC 0 \NC 0

Re: [NTG-context] Command \NN in table?

2008-03-23 Thread Morgan Brassel
On Sun, 23 Mar 2008, Aditya Mahajan wrote: > On Sun, 23 Mar 2008, Morgan Brassel wrote: > >> >>> Does this do what you want? >>> >>> %\TracingFormats=1 >>> \starttable[|b{\digits}r|] >>> \NC 1.@@ \NC \AR >>> \NC 1.1@ \N

Re: [NTG-context] Command \NN in table?

2008-03-23 Thread Aditya Mahajan
On Sun, 23 Mar 2008, Morgan Brassel wrote: > >> Does this do what you want? >> >> %\TracingFormats=1 >> \starttable[|b{\digits}r|] >> \NC 1.@@ \NC \AR >> \NC 1.1@ \NC \AR >> \NC 1.11 \NC \AR >> \NC 11.11 \NC \AR >> \stoptable >&

Re: [NTG-context] Command \NN in table?

2008-03-23 Thread Morgan Brassel
> Does this do what you want? > > %\TracingFormats=1 > \starttable[|b{\digits}r|] > \NC 1.@@ \NC \AR > \NC 1.1@ \NC \AR > \NC 1.11 \NC \AR > \NC 11.11 \NC \AR > \stoptable > > Aditya Hi Aditya, Thank you for this solution. I saw it on the wiki befo

Re: [NTG-context] Command \NN in table?

2008-03-23 Thread Aditya Mahajan
example) without rewriting anything. Does this do what you want? %\TracingFormats=1 \starttable[|b{\digits}r|] \NC 1.@@ \NC \AR \NC 1.1@ \NC \AR \NC 1.11 \NC \AR \NC 11.11 \NC \AR \stoptable Aditya ___ If your

Re: [NTG-context] parbox equivalent?

2008-03-12 Thread Wolfgang Schuster
anager}% > \end{minipage}% >\end{minipage}% > } > > or this: > \begin{tabular}{p{3in} p{3in} } > \signatureblock1 & \signatureblock2 \\ > \notaryblock1 & \notaryblock2 \\ > \stop{tabular} \starttable[|p(3in)|p(3in)|] \NC \signatur

Re: [NTG-context] bug in typeset table in Chinese

2008-02-26 Thread Zhichu Chen
Hi, Yue, It's all about the mechanism how ConTeXt handle Chinese glyphs, it analyzes the around to check whether to insert spaces which I think is not a good idea. Try to put those Chinese characters in a box, like === \placetable[here][]{算通中的通風模式} \start

[NTG-context] bug in typeset table in Chinese

2008-02-26 Thread Yue Wang
Hi, I find that ConTeXt fails to typeset Chinese table right. Here is the TeX source: \enableregime[utf] \usemodule[units] \usemodule[chinese] \starttext \placetable[here][]{通風模式} \starttable[|c|c|c|] \NC 時間 \NC 通風模式 \NC 室內源 \NC\SR \HL \NC 0:00-8:00 \NC 自然通風 $a=0.5 \Per\Hour$ \NC 無 \NC\FR \NC 8

Re: [NTG-context] Bug: Messy results when using "table" in head and multi-page "tables" in text

2008-01-23 Thread Carsten Fechtmann
setups[pagehead]}] [] [{\setups[pagehead]}] [] > > \startsetups[pagehead] > \vbox\bgroup > \starttablehead\stoptablehead > \starttabletail\stoptabletail > \setuptables[rulecolor=blue]% > \SetTableToWidth\makeupwidth > \starttable[|p(40mm)|p(60mm)|p(40mm)|] > % \TA

Re: [NTG-context] Bug: Messy results when using "table" in head and multi-page "tables" in text

2008-01-21 Thread Peter Rolf
enumbering[location=] \setupheadertexts[{\setups[pagehead]}] [] [{\setups[pagehead]}] [] \startsetups[pagehead] \vbox\bgroup \starttablehead\stoptablehead \starttabletail\stoptabletail \setuptables[rulecolor=blue]% \SetTableToWidth\makeupwidth \starttable[|p(40mm)|p(60mm)|p(40mm)|] % \TA

Re: [NTG-context] Bug: Messy results when using "table" in head and multi-page "tables" in text

2008-01-21 Thread Peter Rolf
he effect(s) > > \setuppagenumbering[location=] > \setupheadertexts[\setups{pagehead}][][\setups{pagehead}][] > \startsetups[pagehead] > \SetTableToWidth{\makeupwidth} > \starttable[|p(40mm)|p(60mm)|p(40mm)|] > \HL > \VL \leftaligned{left} \VL \midaligned{middle}

Re: [NTG-context] Bug: Messy results when using "table" in head and multi-page "tables" in text

2008-01-20 Thread Carsten Fechtmann
end of the tablebody, but >> then >> no \HL will be put on top of the foot for any intermediate pages of >> the table, which is certainly not what one would usually want in this >> case. > > I have no solution for this. > >> Anyway, here a simple version of thi

Re: [NTG-context] Bug: Messy results when using "table" in head and multi-page "tables" in text

2008-01-20 Thread Wolfgang Schuster
y intermediate pages of > the table, which is certainly not what one would usually want in this > case. I have no solution for this. > Anyway, here a simple version of this to demonstrate the effect(s) > > \setuppagenumbering[location=] > \setupheadertexts[\setups{pagehead}][

[NTG-context] Bug: Messy results when using "table" in head and multi-page "tables" in text

2008-01-20 Thread Carsten Fechtmann
head}][][\setups{pagehead}][] \startsetups[pagehead] \SetTableToWidth{\makeupwidth} \starttable[|p(40mm)|p(60mm)|p(40mm)|] \HL \VL \leftaligned{left} \VL \midaligned{middle} \VL \rightaligned{right} \VL\SR \HL \stoptable \stopsetups \starttext \start \SetTableToWidth{\makeupwidth} \setuptables[split=repeat

Re: [NTG-context] Tables and misplaced \noalign

2008-01-10 Thread Wolfgang Schuster
\fi \finishTABLE > \egroup \... > l.148 \stoptables > > --- > > On the mailing list archives, I already found some code posted by Hans > Hagen that solves the issue in case of the "\starttable ... \stoptable" > command. I had to insert the following code in

[NTG-context] Tables and misplaced \noalign

2008-01-10 Thread Jürgen Strass
solves the issue in case of the "\starttable ... \stoptable" command. I had to insert the following code in my cont-new.tex file: \def\stoptable {\chuckTABLEautorow % before the tail \insertTABLEtail \TABLEnoalign{\globalletempty\@@TABLEhead}% \TABLEnoalign{\globalletempty\@@T

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
p \stopstandardmakeup \startsymbolset[name] \stopsymbolset \startsynchronization \stopsynchronization \starttable[text|name] \stoptable \starttables[text|name] \stoptables \starttabulate[text][settings] \stoptabulate # \startTEXpage \stopTEXpage # \starttext \stoptext # \starttextbackground \stoptext

Re: [NTG-context] nested tables?

2008-01-02 Thread Aditya Mahajan
On Wed, 2 Jan 2008, Yvon Henel wrote: > Hello again, > > I would like to nest a table inside a table, something like this: > > \starttable[|c|c|] > \NC {\bf ATout Choeur} \NC > {\starttable[|c|] > \NC Number 2008--1\FR > \NC january 2008\LR > \stoptable}\MR

Re: [NTG-context] nested tables?

2008-01-02 Thread Wolfgang Schuster
On Wed, 2 Jan 2008 16:22:26 +0100 Yvon Henel <[EMAIL PROTECTED]> wrote: > Hello again, > > I would like to nest a table inside a table, something like this: > > \starttable[|c|c|] > \NC {\bf ATout Choeur} \NC > {\starttable[|c|] >\NC Number 2008--1\FR >

[NTG-context] nested tables?

2008-01-02 Thread Yvon Henel
Hello again, I would like to nest a table inside a table, something like this: \starttable[|c|c|] \NC {\bf ATout Choeur} \NC {\starttable[|c|] \NC Number 2008--1\FR \NC january 2008\LR \stoptable}\MR \NC {\tfa Something} \NC \LR \stoptable but 1/ I would like the top of the first cell

Re: [NTG-context] new context still hangs on this

2007-12-17 Thread Hans Hagen
zs wrote: > Hi all. > > Context/luatex hangs on my linux box during compilation of this: > > \starttext > > \starttable[|c|c|] > \NC \NC \NC\AR > \DC\DL\DR > \NC \NC \NC\AR > \stoptable > > \stoptext > > > Versions: > &

Re: [NTG-context] new context still hangs on this

2007-12-14 Thread Peter Münster
On Fri, Dec 14, 2007 at 01:18:57PM +0100, zs wrote: > > Context/luatex hangs on my linux box during compilation of this: > > \starttext > > \starttable[|c|c|] > \NC \NC \NC\AR > \DC\DL\DR > \NC \NC \NC\AR > \stoptable > > \stoptext You

[NTG-context] new context still hangs on this

2007-12-14 Thread zs
Hi all. Context/luatex hangs on my linux box during compilation of this: \starttext \starttable[|c|c|] \NC \NC \NC\AR \DC\DL\DR \NC \NC \NC\AR \stoptable \stoptext Versions: This is LuaTeX, Version snapshot-0.20.1-2007120800 (Web2C 7.5.6) ConTeXt ver: 2007.12.14 08:57

[NTG-context] bug in new context/luatex?

2007-12-07 Thread zs
Hi all. This simple code causes context/luatex to freeze on my linux box. Could anyone reproduce it to make sure the problem is not on my side. \starttext \starttable[|c|c|] \NC \NC \NC\AR \DC\DL\DR \NC \NC \NC\AR \stoptable \stoptext This is LuaTeX, Version snapshot

[NTG-context] \BL and \CL with MKIV

2007-12-04 Thread Peter Münster
{AR} \NC automatic row\NC\SR Here the test file: % engine=luatex \setupcolors[state=start] \starttext \starttable[|l|l|] \HL \BL[1]\SR \NC Command \NC Meaning \NC\SR \HL \NC \tex{NC}\NC next column \NC\FR \NC \tex{NR}\NC next row\NC\LR \HL %\CL[green]\SR \NC \tex{AR}\NC

Re: [NTG-context] table layout

2007-11-07 Thread Peter Rolf
HL > \NC Head 1 \NC Head 2 \NC\AR > \HL > \stoptablehead > > \starttabletail > \HL > \stoptabletail > > \starttable[|||] > \NC Text \NC Text \NC\AR > \NC Text \NC Text \NC\AR > \NC Text \NC Text \NC\AR > \NC Text \NC Text \NC\AR > \stoptable > \stopbuffer > &

Re: [NTG-context] table layout

2007-11-07 Thread Wolfgang Schuster
t; > Peter Hi Peter, your solution would be really a option but I hope the real bugs will be fixed, the big space above the footer line did only appear with the repeat option for split. \starttext \startbuffer \starttablehead \HL \NC Head 1 \NC Head 2 \NC\AR \HL \stoptablehead \starttabletai

Re: [NTG-context] table layout

2007-11-06 Thread Peter Rolf
e[A7,landscape][A7,landscape] > \setuplayout[lines=5] > > \starttext > > \tracetablestrue > \setuptables[split=repeat] > > \starttablehead > \HL > \NC Row 1 \NC Row 2 \NC Row 3 \NC\AR > \HL > \stoptablehead > > \starttabletail > \HL > \stoptabletail

[NTG-context] table layout

2007-11-06 Thread Wolfgang Schuster
into account. What it tried so far is the following code: \setuppapersize[A7,landscape][A7,landscape] \setuplayout[lines=5] \starttext \tracetablestrue \setuptables[split=repeat] \starttablehead \HL \NC Row 1 \NC Row 2 \NC Row 3 \NC\AR \HL \stoptablehead \starttabletail \HL \stoptabletail

Re: [NTG-context] Repeat (*) key in TaBlE

2007-10-24 Thread Aditya Mahajan
On Wed, 24 Oct 2007, Aditya Mahajan wrote: > Restarting an old thread ... > > On Wed, 6 Jun 2007, Aditya Mahajan wrote: > >> What is the correct way of using * key with TaBlE? The following does not >> work >> >> \starttext >> >> \starttable[|*{2

Re: [NTG-context] Repeat (*) key in TaBlE

2007-10-24 Thread Aditya Mahajan
Restarting an old thread ... On Wed, 6 Jun 2007, Aditya Mahajan wrote: > What is the correct way of using * key with TaBlE? The following does not work > > \starttext > > \starttable[|*{2}l|] This should be [*{2}{l|}] but even then it does not work. > \HL > \NC A

Re: [NTG-context] starttabulate vs starttable

2007-10-04 Thread Aditya Mahajan
tablestrue \starttext \starttable[s(1em)o0|l|l|l|] % And I thought that regex were hard to read :) \NC MidE \NC early ModE \NC ModE \NC \AR \HL \NC ge:s \NC gi:s \NC geese \NC \AR \NC na:m \NC ne:minimal \NC name \NC \AR \NC mi:s \NC mays \NC mic

Re: [NTG-context] starttabulate vs starttable

2007-10-04 Thread Aditya Mahajan
On Fri, 5 Oct 2007, Arthur Reutenauer wrote: >> the tabulate example is basicly the same without >> the vertical lines, which it seems like it can't do, >> i get an ! Undefined control sequence. > > I really don't know much about tabular material in ConTeXt, but from > the very first line of http

Re: [NTG-context] starttabulate vs starttable

2007-10-04 Thread Aditya Mahajan
On Fri, 5 Oct 2007, frantisek holop wrote: > hi there, > > please consider the following minimal examples: > > \starttext > \starttable[|l|l|l|] > \NC MidE \VL early ModE \VL ModE \NC \SR \HL > \NC ge:s \VL gi:s \VL geese \NC \FR > \NC na:m \VL ne:mini

Re: [NTG-context] starttabulate vs starttable

2007-10-04 Thread Arthur Reutenauer
> the tabulate example is basicly the same without > the vertical lines, which it seems like it can't do, > i get an ! Undefined control sequence. I really don't know much about tabular material in ConTeXt, but from the very first line of http://wiki.contextgarden.net/Tabulate I would assume tha

[NTG-context] starttabulate vs starttable

2007-10-04 Thread frantisek holop
hi there, please consider the following minimal examples: \starttext \starttable[|l|l|l|] \NC MidE \VL early ModE \VL ModE \NC \SR \HL \NC ge:s \VL gi:s \VL geese \NC \FR \NC na:m \VL ne:minimal \VL name \NC \MR \NC mi:s \VL mays \VL mice \NC \LR \stoptable \starttabulate[|l|l|l

Re: [NTG-context] starttabulate questions

2007-09-24 Thread Aditya Mahajan
On Tue, 25 Sep 2007, frantisek holop wrote: > good evening, > > all the examples in the manual use \NC before \NR > is this a necessity? Yes. > what is the logics behind this? > is it more like an ending to the previous \NC ? It is for historic reason. Originally, there was

Re: [NTG-context] Problem with \starttable \stoptable and some math

2007-08-30 Thread Aditya Mahajan
On Fri, 31 Aug 2007, WN wrote: > >> Compiles fine here, using the "old" >> > I know it compiles, that is not the problem. But look closely at the output, > in the starttable/stoptable the \oiint is ''ignored but in the > startformula/stopformula i

Re: [NTG-context] Problem with \starttable \stoptable and some math

2007-08-30 Thread WN
> Compiles fine here, using the "old" > I know it compiles, that is not the problem. But look closely at the output, in the starttable/stoptable the \oiint is ''ignored but in the startformula/stopformula it is shown. So the starttable/stoptable is doing something

Re: [NTG-context] Problem with \starttable \stoptable and some math

2007-08-30 Thread Aditya Mahajan
On Fri, 31 Aug 2007, WN wrote: > Hi, > > After recompiling a 1-year old document I stumbled on the following > (which used to work) > Some of math symbols in a table environment are ''ignored'' i.e are not > shown. > They do work outside the table environment though. > I think it has to do with so

[NTG-context] Problem with \starttable \stoptable and some math

2007-08-30 Thread WN
.3pt,14.4pt,12pt,11pt,10pt,9pt,8pt,7pt,6pt,5pt,4pt] [mm] [mc=txexa sa 1] \stoptypescript \definetypeface[mainface] [rm] [serif] [times] [default] [encoding=texnansi] \definetypeface[mainface] [mm] [math] [modern] [modern] [encoding=texnansi] \setupbodyfont[mainface,11pt] \enablemathcollect

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Hamid Kamrani
le has 3 columns and if one adds the missing preamble > > then one gets an error. Some how your new code breaks the calculation > > for number of columns. > > > > -Hamid > > He forgot only to put a \NC before the \AR. > > The correct code should be > > \st

Re: [NTG-context] Booktabs equivalent in Context

2007-08-09 Thread Aditya Mahajan
\!taOnceOnlyTabskipfalse% Set true by key "o" \ReadFormatKeys} \def\CM{\normalTABLEshortrule} \protect \starttable[s0|l|l|c|] \HL[3] % \TABLEnoalign{\unprotect\showthe\!taPreamble\protect} \NC \Use3[c]{Kase-Ubersicht} \NC \AR \HL[2] \NC Kase\NC Herkun

Re: [NTG-context] Booktabs equivalent in Context

2007-08-08 Thread Wolfgang Schuster
t; for number of columns. > > -Hamid He forgot only to put a \NC before the \AR. The correct code should be \starttable[s0|l|l|l|] \HL[3] \NC Monat \NC 1965 \NC 1966 \NC\AR \NC \CMID \NC \CMID \NC \CMID \DR \NC September \NC 2000 \NC 1700 \NC\AR \HL[3] \stoptable Wolfgan

Re: [NTG-context] Booktabs equivalent in Context

2007-08-08 Thread Hamid Kamrani
\global\advance\currentTABLEcolumn \plusone > \ifnum\currentTABLEcolumn=1\relax >\normalTABLEquote > \else >\fancyTABLEquote > \fi >\fi} > > \def\fancyTAB

Re: [NTG-context] Booktabs equivalent in Context

2007-08-08 Thread Aditya Mahajan
\setTABLEerror\TABLEmissingrow \handleTABLEerror \else \global\advance\currentTABLEcolumn \plusone \ifnum\currentTABLEcolumn=1\relax \normalTABLEquote \else \fancyTABLEquote \fi \fi} \def\fancyTABLEquote {\unskip\!ttRightGlue&\omit\hskip2e

Re: [NTG-context] Booktabs equivalent in Context

2007-08-05 Thread Aditya Mahajan
\v!none {\chardef\TABLErowfactor\zerocount} {\chardef\TABLErowfactor\plustwo }} \setuptables[rulethickness=0.03em] \startbuffer \starttable[s0|l|i2l|i2r|] \HL[3] \NC \Use2[c]{Item} \NC\NC \AR \DL[2] \DC\DR

[NTG-context] Repeat (*) key in TaBlE

2007-06-06 Thread Aditya Mahajan
Hi, What is the correct way of using * key with TaBlE? The following does not work \starttext \starttable[|*{2}l|] \HL \NC A \NC B \NC \NR \HL \stoptable \starttable[|l|l|] \HL \NC A \NC B \NC \NR \HL \stoptable \stoptext Thanks, Aditya

Re: [NTG-context] Listing of typical beginner-questions

2007-03-30 Thread Willi Egger
TABLE ... e\TABLE) should contain a unit >> (EJ >> for example) in square brackets: [EJ]. The result is that the >> respective >> row is not displayed at all. What is wrong? Could I possibly use the >> Latex equivalent \symbol{code}? >> A: > > \starttext >

Re: [NTG-context] Listing of typical beginner-questions

2007-03-29 Thread Wolfgang Schuster
] EJ \eTD \eTR \eTABLE \stoptext > > Q: How can I change the fontsize inside a table? > A: \starttext Text \setupTABLE[style=small] \bTABLE \bTR \bTD Text \eTD \eTD \eTABLE \setuptables[bodyfont=small] \starttable[|l|] \NC Text \NC\AR \stoptable \setuptabulate

Re: [NTG-context] Grid-keeping table

2007-03-28 Thread Hans Hagen
ncronizegrid to fix this. >> when spacing is suboptimal boxed stuff (\bTABLE, \starttable, \framed) should be surrounded by \startlinecorrection \stoplinecorrection (also better in non grid mode) unless it's a float for your own macros, use \snaptogrid\vbox{...} > hmm, some prob

Re: [NTG-context] textblocks in tables

2007-03-16 Thread Bernhard Michael
ment >>>> \Requirement An other requirement \par >>>> \endRequirement >>>> \beginPriority >>>> C >>>> \endPriority >>>> Description of the requirement. >>>> >>>> \chapter{Additional requirements} >>&

Re: [NTG-context] textblocks in tables

2007-03-16 Thread Wolfgang Schuster
tion of the requirement. > >> > >> \chapter{Additional requirements} > >> > >> \beginRequirement > >> \Requirement An additional requirement \par > >> \endRequirement > >> \beginPriority > >> B > >> \endPriority > >

<    1   2   3   4   5   6   7   >