Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
On 2016-05-30 16:45:37 +, Wolfgang Schuster said: Nicola 30. Mai 2016 um 17:45 I'd like to set a default background color for all the tables in my document. This is what I have tried (using the latest beta): \setuptables[background=color,backgroundcolor=red] \starttext \starttable[|cm

Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Wolfgang Schuster
Nicola <mailto:nvitacolo...@gmail.com> 30. Mai 2016 um 17:45 I'd like to set a default background color for all the tables in my document. This is what I have tried (using the latest beta): \setuptables[background=color,backgroundcolor=red] \starttext \starttable[|cm|]

[NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
I'd like to set a default background color for all the tables in my document. This is what I have tried (using the latest beta): \setuptables[background=color,backgroundcolor=red] \starttext \starttable[|cm|] \HL \NC \bf R \NC \AR \NC A \NC \AR \HL

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Jaroslav Hajtmar
Schuster napsal(a): Jaroslav Hajtmar <mailto:hajt...@gyza.cz> 1. Mai 2016 um 07:52 Thanx Wolfgang for reply. I looked for possible mistakes in my library, and finally I find out that described error that bug is reflecting when I use \starttable --- \stoptable environment. I am sending now an m

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-05-01 Thread Wolfgang Schuster
Jaroslav Hajtmar <mailto:hajt...@gyza.cz> 1. Mai 2016 um 07:52 Thanx Wolfgang for reply. I looked for possible mistakes in my library, and finally I find out that described error that bug is reflecting when I use \starttable --- \stoptable environment. I am sending now an minimal e

Re: [NTG-context] Strange bug in the latest version of ConTeXt - start-stop table problem

2016-04-30 Thread Jaroslav Hajtmar
Thanx Wolfgang for reply. I looked for possible mistakes in my library, and finally I find out that described error that bug is reflecting when I use \starttable --- \stoptable environment. I am sending now an minimal example that illustrates the problem. I am aware that work with tables

Re: [NTG-context] Tables vs tables (deprecation paranoia again)

2016-03-02 Thread Hans Hagen
On 3/2/2016 4:52 PM, Nicola wrote: I read in the wiki that my beloved \starttable...\stoptable is deprecated. Tabulate seems their next of kin, but... does it support cells spanning more than one row? \starttable will always stay around (after all, it had been partially mkiv'd); it's just

[NTG-context] Tables vs tables (deprecation paranoia again)

2016-03-02 Thread Nicola
I read in the wiki that my beloved \starttable...\stoptable is deprecated. Tabulate seems their next of kin, but... does it support cells spanning more than one row? Nicola ___ If your question is of interest

[NTG-context] Bug in table ?

2015-12-20 Thread Christian Prim
, footer=1cm, %bottomspace=1cm, width=fit, height=fit] \setupbodyfont[palatino,10pt] \definetabletemplate[fosa][s0|xp(3.5cm)|lw(0.7cm)m|xp(5cm)s2|lw(2.5cm)m|] \starttext \starttable[fosa] \NC Kräftegleichgewicht \NC\Use3[p(8cm)]{Ein Körper ist im Kräftegleichgewicht, wenn die

Re: [NTG-context] Multi-page (split) natural tables and footnotes

2015-06-07 Thread Christoph Reller
with footnotes.} {\starttable[|l|r|] \HL \VL One\footnote{First} \VL Two\footnote{Second} \VL\FR \VL Three\footnote{Third} \VL Four\footnote{Fourth} \VL\LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes \stoptext Best regards: OK

Re: [NTG-context] Multi-page (split) natural tables and footnotes

2015-06-07 Thread Otared Kavian
Hi Christoph, There exists a local footnotes environment in floats, as in the following example: I don’t know if it solves the problem you mention… \starttext \startlocalfootnotes \placetable[align=middle]{A table with footnotes.} {\starttable[|l|r|] \HL \VL One

[NTG-context] Tables, Row Span, and Colors

2015-03-12 Thread Troy Henderson
, and Total) have a gray background. I would appreciate any help in attaining this wish list. Thanks in advance, Troy —— Code Starts Here —— \setupcolors[state=start] \starttext \null\vskip15ex \hskip1em\framed[orientation=90,frame=off]{\bf Region}\blank\vskip-25.5ex \starttable[|c|l|r|r|r|r

[NTG-context] How to draw this picture?

2015-01-17 Thread Rob Heusdens
a glyph. What is the best way to code this in ConText? (preferred is to use the symbol left brace.) Greetings, Rob --- context code now used: \starttable[s0|cp(.2\textwidth)|cp(.2\textwidth)|cp(.2\textwidth)|cp(.25\textwidth)|] \NC \NC \VL Variabel\\ kapitaal\\ 10 \VL Arbeidsloon v/d\\ productie

Re: [NTG-context] Macros in \start-stopTABLE

2014-11-16 Thread Hans Hagen
\righttoleft \ } \define\NCL{\NC \lefttoright \ } \setupTABLE[c][each][width=1in] \starttext \ALM \placetable[right,none]{} {\startTABLE \NC Text 1 \NC \righttoleft النص 1 \NC\NR \stopTABLE} \placetable[right,none]{} {\startTABLE \NC Text 2 \NCR النص 2 \NC\NR \stopTABLE} \stopalignment

Re: [NTG-context] Macros in \start-stopTABLE

2014-11-16 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 16 Nov 2014 06:18:02 -0700, Hans Hagen pra...@wxs.nl wrote: don't confuse starttable and startTABLE (used \bTR etc) Ah.. looking at the code here: http://wiki.contextgarden.net/TABLE#TABLEs_with_old_table_syntax I guess it's not worth investing in the low-level trickery to force

[NTG-context] Macros in \start-stopTABLE

2014-11-15 Thread Idris Samawi Hamid ادريس سماوي حامد
][width=1in] \starttext \ALM \placetable[right,none]{} {\startTABLE \NC Text 1 \NC \righttoleft النص 1 \NC\NR \stopTABLE} \placetable[right,none]{} {\startTABLE \NC Text 2 \NCR النص 2 \NC\NR \stopTABLE} \stopalignment = gives I've run across a `}' that doesn't seem to match

Re: [NTG-context] Two issues with character alignment

2014-09-05 Thread Hans Hagen
, alignmentcharacter=., align=middle] \subject{Reference} \startTABLE \NC Foo\crlf bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject{Double backslash issue} \startTABLE \NC Foo\\bar\NC \NR \NC 1.1 \NC \NR

[NTG-context] Two issues with character alignment

2014-09-04 Thread Maggyero
] \subject{Reference} \startTABLE \NC Foo\crlf bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject{Double backslash issue} \startTABLE \NC Foo\\bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject

Re: [NTG-context] Alignment, indenting and font inside floats

2014-07-28 Thread Rik Kabel
={Not a figure}] Word \stopplacefigure \startplacetable[title={A table}] \starttable[||] \NC Table\NC\NR \stoptable \stopplacetable \startplacefigure[title={A bovine figure}] \externalfigure[cow][width=5cm] \stopplacefigure \startplaceintermezzo[title

[NTG-context] Height fitting with row spanning in a table

2014-07-15 Thread Maggyero
I have finally found a not perfect solution: setting manually the height of the bar cell shrinks the foo cell (setting height=fit for the foo cell does not work). \starttext \startTABLE \NC foo \NC[nr=2] \input knuth \NC \NR \NC[height=28ex] bar\NC

Re: [NTG-context] Height fitting with row spanning in a table

2014-07-15 Thread Hans Hagen
On 7/15/2014 1:59 PM, Maggyero wrote: I have finally found a not perfect solution: setting manually the height of the bar cell shrinks the foo cell (setting height=fit for the foo cell does not work). \starttext \startTABLE \NC foo \NC[nr=2] \input knuth \NC \NR \NC

[NTG-context] Height fitting with row spanning in a table

2014-07-11 Thread Maggyero
How can I stretch the height of the foo cell to fit its content? \starttext \startTABLE \NC foo \NC[nr=2]\input knuth \NC \NR \NC bar \NC \NR \stopTABLE \stoptext ___ If your

[NTG-context] Height fitting cell contents while using row spanning in other columns of a table

2014-07-09 Thread Maggyero
\stopxcell \startxcell x \stopxcell \stopxrow \startxrow \startxcell y \stopxcell \stopxrow \stopxtable With natural tables (no fit):\crlf \startTABLE \NC[nr=2]\input knuth \NC x \NC \NR \NC y \NC \NR

[NTG-context] Character alignment in math mode

2014-06-24 Thread Maggyero
How can one use character alignment in math mode? (I am using the last stable ConTeXt version — 2014.05.21.) \starttext \setupTABLE[column][first][alignmentcharacter={,}, aligncharacter=yes, align=middle] Figures in text mode get aligned: \startTABLE \NC 0,0 \NC \NR \NC 0,00\NC

Re: [NTG-context] Character alignment in math mode

2014-06-24 Thread Hans Hagen
On 6/24/2014 4:35 PM, Maggyero wrote: How can one use character alignment in math mode? (I am using the last stable ConTeXt version — 2014.05.21.) \starttext \setupTABLE[column][first][alignmentcharacter={,}, aligncharacter=yes, align=middle] Figures in text mode get aligned: \startTABLE

Re: [NTG-context] Centering tabulate env. using \setuptabulate

2014-05-22 Thread Robert Zydenbos
] \startTABLE \NC Text 1 \NC Text 2 \NC\NR \NC Text 3 \NC Text 4 \NC\NR \stopTABLE } \stoptext ---end of test source--- ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Colored cell background in Table

2014-02-21 Thread Flavien Lambert
Dear All, using the documentation, I tried to use CL as in the following example but I did not get any color. Is there a trick? Best regards, Flavien. \setupcolors[state=start]\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

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-04 Thread Keith J. Schultz
with \getbuffer and \putbuffer. Of course one could argue that it is actually like an LaTeX environment that has a side effect of setting a variable for later use. On the other side you have \starttable \stoptable which one would put in the realm of LaTeX-environments. One can practically, use

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-03 Thread Keith J. Schultz
. Variable). This would be simailar to command as you can access the buffer with \getbuffer and \putbuffer. Of course one could argue that it is actually like an LaTeX environment that has a side effect of setting a variable for later use. On the other side you have \starttable \stoptable which one

Re: [NTG-context] two questions on ConTeXt terminology

2014-02-03 Thread Pablo Rodriguez
\starttable \stoptable which one would put in the realm of LaTeX-environments. One can practically, use the start/stop mechanism almost anything you define. Depending on the paradigm that you use structure (and/or) element would be appropriate! That is is a program source the definition

Re: [NTG-context] EPUB woes

2013-11-20 Thread Keith J. Schultz
{leftmargin=20%, …] % see comment #5 % text \stopparagraph \starttable… \stoptable … \stopebook \stoptext OK

Re: [NTG-context] EPUB woes

2013-11-20 Thread Aditya Mahajan
\starttext \startebook \chapter… %see comment #4 \startparagraph{leftmargin=20%, …] % see comment #5 % text \stopparagraph \starttable

[NTG-context] About natural tables

2013-10-30 Thread MANUEL GONZALEZ SUAREZ
Hello everyone. I like to compose tables using the method Natural Tables recommended Contextgarden but do not know how I have to configure to display only horizontal lines (not vertical). I send a minimal example: \starttext \starttable[|c|c|] \HL \NC Letters \NC Numbers \SR % or \NC\AR

Re: [NTG-context] About natural tables

2013-10-30 Thread Wolfgang Schuster
example: \starttext \starttable[|c|c|] \HL \NC Letters \NC Numbers \SR % or \NC\AR \HL \NC A \NC 1 \AR \NC B \NC 2 \AR \NC C \NC 3 \AR \HL \stoptable \stoptext How I could translate to a natural table this code? \startsetups[table:rules] \setupTABLE [start] [frame=off,align

Re: [NTG-context] About natural tables

2013-10-30 Thread Aditya Mahajan
horizontal lines (not vertical). I send a minimal example: \starttext \starttable[|c|c|] \HL \NC Letters \NC Numbers \SR % or \NC\AR \HL \NC A \NC 1 \AR \NC B \NC 2 \AR \NC C \NC 3 \AR \HL \stoptable \stoptext How I could translate to a natural table this code? \startsetups[table:rules

Re: [NTG-context] About natural tables

2013-10-30 Thread MANUEL GONZALEZ SUAREZ
horizontal lines (not vertical). I send a minimal example: \starttext \starttable[|c|c|] \HL \NC Letters \NC Numbers \SR % or \NC\AR \HL \NC A \NC 1 \AR \NC B \NC 2 \AR \NC C \NC 3 \AR \HL \stoptable \stoptext How I could translate to a natural table this code? \startsetups

[NTG-context] \DL misfunctioning

2013-10-09 Thread hwitloc
. BUT, the last row is not misaligned by about 1 character position. How could I get Example #2 below to align properly and why is \DL not working in example #1? Regards --- \starttext \starttable[|r|] \NC Table Header Here\AR \DL[1] \DR \NC misc item 1

Re: [NTG-context] \DL misfunctioning

2013-10-09 Thread Wolfgang Schuster
\DL[1] to work by added a \NC to th last row. BUT, the last row is not misaligned by about 1 character position. How could I get Example #2 below to align properly and why is \DL not working in example #1? You missed the \NC before \AR. \starttext \starttable[|r|] \NC Table

Re: [NTG-context] Inline math in table in combination fails

2013-09-19 Thread Hans Hagen
On 9/19/2013 1:27 AM, Marco Patzer wrote: Hi, The following example results in the error “You can't assign a glue_spec node to a prev field” \starttext \startcombination [2*1] {\starttable [|c|] \NC \math{1} \VL\NR\HL \stoptable}{} {\starttable [|c|] \NC \math{2

[NTG-context] Inline math in table in combination fails

2013-09-18 Thread Marco Patzer
Hi, The following example results in the error “You can't assign a glue_spec node to a prev field” \starttext \startcombination [2*1] {\starttable [|c|] \NC \math{1} \VL\NR\HL \stoptable}{} {\starttable [|c|] \NC \math{2} \VL\NR \stoptable}{} \stopcombination

[NTG-context] table cell frames

2013-09-12 Thread hwitloc
Is it possible to have different colored table cell border frames? I tried using the \setuptables[rulecolor=...] but it didn't work. Here is a minimal example: % \setuptables[rulecolor=red] \starttext \starttable[|l|c|] \NC Column \#1 \VL Column \#2 \SR \DL

[NTG-context] \startfloattext ... \stopfloattext

2013-09-09 Thread Christian Prim
der Wagenmasse $m$: \blank $M=$ \hl[5] \unit{kg} \blank \starttabletext[left,high,none]{}{ %\placetable[left,high,none]{}{ \starttable[|l|l|] \HL \VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR \HL \VL \qquad \VL \qquad \VL\AR \VL \VL \VL\AR \HL \VL \VL \VL\AR \VL \VL \VL\AR \HL \VL \VL \VL\AR

Re: [NTG-context] \startfloattext ... \stopfloattext

2013-09-09 Thread Hans Hagen
=)] \item Abhängigkeit der Beschleunigung von der Wagenmasse $m$: \blank $M=$ \hl[5] \unit{kg} \blank \starttabletext[left,high,none]{}{ %\placetable[left,high,none]{}{ \starttable[|l|l|] \HL \VL $m$ in kg \VL $a$ in \unit{m isquare s} \VL\NR \HL \VL \qquad \VL \qquad \VL\AR \VL \VL \VL\AR \HL \VL

Re: [NTG-context] \startfloattext ... \stopfloattext

2013-09-09 Thread Christian Prim
my problem.) Thanks for all comments Christian \starttext \startitemize[n,packed,**joinedup][stopper=)] \item Abhängigkeit der Beschleunigung von der Wagenmasse $m$: \blank $M=$ \hl[5] \unit{kg} \blank \starttabletext[left,high,**none]{}{ %\placetable[left,high,none]{}**{ \starttable

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

2013-07-15 Thread Thomas Friedrich
\NC 3 \NC 2338 \NC 33 \MR \NC M \NC Comstock et al \NC 1976 \NC 27 \NC 16886 \NC 29 \NC 17825 \NC 33 \LR \LL \stoptabulate} \placetable [here] [tab:table] {Data of $13$ clinical trials evaluating the efficacy of the Bacillus Calmette-Guérin vaccine.} {\tfxx \starttable[|r|l|r|r|r|r|r|r

[NTG-context] [***SPAM***] Re: [***SPAM***] How to reduce vertical spacing after this table

2013-07-08 Thread d.henman
\startlocalfootnotes % [conversion=set fnsym] \setupnotation[footnote][numberconversion=fnsym,rule=off] % change footnote symbols \midaligned { \placetable[here,none][]{} { \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none] \starttable[|c|c|c|c|c|c|c

Re: [NTG-context] [***SPAM***] Placement of a table's footnotes

2013-07-06 Thread Wolfgang Schuster
{ \startlocalfootnotes % [conversion=set fnsym] \setupnotation[footnote][rule=off] % change footnote symbols \starttable[|c|c|c|c|] \HL \VL col-1 \VL col-2 $\dagger$\footnote[myfootnote]{Re: X} \VL col-3 \VL col-4 \VL \MR \HL \stoptable

[NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread hwitloc
\midaligned { \placetable[here,none][]{} { \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none] \starttable[|c|c|c|c|c|c|c|c|c|] \HL \VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional Characters} \VL \VL$\oplus$ \note[hanzi]\VL\VL$\oplus

Re: [NTG-context] [***SPAM***] How to reduce vertical spacing after this table

2013-07-06 Thread Wolfgang Schuster
][numberconversion=fnsym,rule=off] % change footnote symbols \midaligned { \placetable[here,none][]{} { \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none] \starttable[|c|c|c|c|c|c|c|c|c|] \HL \VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional

[NTG-context] [***SPAM***] Placement of a table's footnotes

2013-07-05 Thread d.henman
[footnote][rule=off] % change footnote symbols \starttable[|c|c|c|c|] \HL \VL col-1 \VL col-2 $\dagger$\footnote[myfootnote]{Re: X} \VL col-3 \VL col-4 \VL \MR \HL \stoptable %\placelocalfootnotes[here] \placelocalfootnotes[here] \stoplocalfootnotes

Re: [NTG-context] Line break in a cell of a table

2013-04-17 Thread Aditya Mahajan
On Wed, 17 Apr 2013, H. Özoguz wrote: Good morning together, I want this: \starttext \starttable[|l|l|] \HL \NC First Entry \\ (Explanation) \VL Second Entry \AR (Unrelated, but you are using a wrong syntax. Each row should be: \NC \NC ... \NC \AR) \HL \stoptable \stoptext

[NTG-context] [***SPAM***] Re: Line break in a cell of a table

2013-04-17 Thread H. Özoguz
BTW, I think that it is better to use Natural Table or tabulate instead of table environment. For example, you can write: \startTABLE \NC First Entry \\ (Explanation) \NC Second Entry \NC \NR \stopTABLE Thanks Aditya. Can you give me a short reference to understand the difference, what

[NTG-context] [***SPAM***] Finetuning distances in cells

2013-04-17 Thread H. Özoguz
In this example \starttext \starttable[|l|c|l|] \HL \NC \THREE\JustCenter \it Natürliche Methoden \NC \AR \HL \stoptable \stoptext (which, by the way, gives an syntax-error with \startTABLE) the entry Natürliche Methoden is not perfectly vertically centered. The distance above

Re: [NTG-context] [***SPAM***] Re: Line break in a cell of a table

2013-04-17 Thread Aditya Mahajan
On Wed, 17 Apr 2013, H. Özoguz wrote: BTW, I think that it is better to use Natural Table or tabulate instead of table environment. For example, you can write: \startTABLE \NC First Entry \\ (Explanation) \NC Second Entry \NC \NR \stopTABLE Thanks Aditya. Can you give me a short reference

Re: [NTG-context] [***SPAM***] Finetuning distances in cells

2013-04-17 Thread Aditya Mahajan
On Wed, 17 Apr 2013, H. Özoguz wrote: In this example \starttext \starttable[|l|c|l|] \HL \NC \THREE\JustCenter \it Natürliche Methoden \NC \AR \HL \stoptable \stoptext (which, by the way, gives an syntax-error with \startTABLE) the entry Natürliche Methoden is not perfectly vertically

Re: [NTG-context] Finetuning distances in cells

2013-04-17 Thread H. Özoguz
not all four horizontal and vertical lines are set? For example like: \starttext \starttable[|l|c|l|] \NC Blub1 \VL Blub2 \VL Blub3 \AR \HL \NC Lalala \VL Brumm \VL Boff \AR \HL \stoptable \stoptext Huseyin

Re: [NTG-context] Finetuning distances in cells

2013-04-17 Thread Aditya Mahajan
with this table-environment to create a table, where not all four horizontal and vertical lines are set? For example like: \starttext \starttable[|l|c|l|] \NC Blub1 \VL Blub2 \VL Blub3 \AR \HL \NC Lalala \VL Brumm \VL Boff \AR \HL \stoptable \stoptext \setupTABLE[row][1][frame=off,leftframe

[NTG-context] Center-Aligment in column spans

2013-04-16 Thread H. Özoguz
Hi, my table is: \starttext \starttable[|l|l|l|] \NC {\bf Methode} \VL {\bf Relevanz} \VL {\bf Bewertung} \SR \HL \use{3} {\it Natürliche Methoden} \SR \NC Klevirak \VL 5-6 \VL Toll \AR \stoptable \stoptext I know want the spanning column with the entry Natürliche Methoden to be aligned

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
Am 16.04.2013 um 14:40 schrieb H. Özoguz h.oezo...@mmnetz.de: Hi, my table is: \starttext \starttable[|l|l|l|] \NC {\bf Methode} \VL {\bf Relevanz} \VL {\bf Bewertung} \SR \HL \use{3} {\it Natürliche Methoden} \SR \NC Klevirak \VL 5-6 \VL Toll \AR \stoptable \stoptext

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread H. Özoguz
\starttext \starttable[|l|l|l|] \NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR \HL \NC \THREE\JustCenter \it Natürliche Methoden \NC\AR \HL \NC Klevirak \VL 5-6 \VL Toll \NC\AR \stoptable \stoptext Wolfgang Thanks! And how to center the complete table on the page

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
Am 16.04.2013 um 15:13 schrieb H. Özoguz h.oezo...@mmnetz.de: \starttext \starttable[|l|l|l|] \NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR \HL \NC \THREE\JustCenter \it Natürliche Methoden \NC\AR \HL \NC Klevirak \VL 5-6 \VL Toll \NC\AR \stoptable \stoptext Wolfgang

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread H. Özoguz
Am 16.04.2013 17:41, schrieb ntg-context-requ...@ntg.nl: \starttext \starttable[|l|l|l|] \NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR \HL \NC \THREE\JustCenter \it Nat?rliche Methoden \NC\AR \HL \NC Klevirak \VL 5-6 \VL Toll \NC\AR \stoptable \stoptext Wolfgang Thanks! And how

Re: [NTG-context] Center-Aligment in column spans

2013-04-16 Thread Wolfgang Schuster
Am 16.04.2013 um 18:20 schrieb H. Özoguz h.oezo...@mmnetz.de: Am 16.04.2013 17:41, schrieb ntg-context-requ...@ntg.nl: \starttext \starttable[|l|l|l|] \NC \bf Methode \VL \bf Relevanz \VL \bf Bewertung \NC\AR \HL \NC \THREE\JustCenter \it Nat?rliche Methoden \NC\AR \HL \NC

[NTG-context] Line break in a cell of a table

2013-04-16 Thread H. Özoguz
Good morning together, I want this: \starttext \starttable[|l|l|] \HL \NC First Entry \\ (Explanation) \VL Second Entry \AR \HL \stoptable \stoptext That is, line break after First Entry, but without leaving the first cell (first row, first column). The code does not work, how

Re: [NTG-context] options of \setupnotation and \setupnote

2013-04-15 Thread Hans Hagen
. weird ... works here Sorry, copy-paste error on my side (as Wolfgang already noticed). It's strc-not.mkvi that fails, not core-sys.mkiv. a more mkiv-ishc example is: \startlocalnotes[footnote] \placetable {Some Table} \placeontopofeachother {\starttable[|l|r|] \HL \VL

Re: [NTG-context] markdown: referencing tables

2013-04-10 Thread Marco Patzer
) % %%% table.tex %%% \placetable[here]{Caption} \starttable[|r|l|c|l|] \HL \NC Right \NC Left \NC Center \NC Default \NC\AR \HL \NC 12 \NC 12 \NC 12 \NC 12 \NC\AR \NC 123 \NC 123 \NC 123 \NC 123 \NC\AR \NC 1 \NC 1 \NC 1 \NC 1 \NC\AR \HL

Re: [NTG-context] next beta (tabulate)

2013-03-20 Thread Alan BRASLAU
On Tue, 19 Mar 2013 23:46:35 +0100 Sietse Brouwer sbbrou...@gmail.com wrote: [1] http://wiki.contextgarden.net/Tabulate There is \starttabulate and \starttable. I understand that they use different mechanisms, even though their syntax are parallel. The wiki page [1] warns against the use

Re: [NTG-context] next beta (tabulate)

2013-03-20 Thread Hans Hagen
On 3/20/2013 8:24 AM, Alan BRASLAU wrote: On Tue, 19 Mar 2013 23:46:35 +0100 Sietse Brouwer sbbrou...@gmail.com wrote: [1] http://wiki.contextgarden.net/Tabulate There is \starttabulate and \starttable. I understand that they use different mechanisms, even though their syntax are parallel

[NTG-context] \starttable ... \stoptable padding

2013-02-07 Thread Troy Henderson
How do I adjust the margin/padding of \starttable ... \stoptable? In particular, can I make cells immediately next to one another without any padding? Troy Henderson ___ If your question is of interest to others

[NTG-context] Chapter headings macro

2013-02-07 Thread Devendra Ghate
{% \starttable[|r|r|] \NC \framed [frame=on, rulethickness=3pt, framecolor=lightgrey, foreground=color, foregroundcolor=lightgrey, corner=00, align=right] {\hspace[big]{\dfont#1}} \NC \framed [width=.1\textwidth, strut=no, frame

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
that the width of the columns does not change from each step. There is no easy way to do this with \startmathalign, but you can try \startTABLE, with explicit values of widths. (Some day, I will check how beamer does this with aligned equations). Aditya

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
\StopStepping You need to ensure that the width of the columns does not change from each step. There is no easy way to do this with \startmathalign, but you can try \startTABLE, with explicit values of widths. (Some day, I will check how beamer does this with aligned equations). For display

Re: [NTG-context] \setlayer on \startalign row

2013-02-06 Thread Aditya Mahajan
, boffset=0.2ex] \setupTABLE[column][odd][align=flushright] \setupTABLE[column][even][align=flushleft] \setupTABLE[first][2][leftframe=on] \setupTABLE[last][2][rightframe=on] \setupTABLE[first,last][2][topframe=on, bottomframe=on] \stopsetups \starttext \startTABLE[setups=table:math

[NTG-context] Bug in \externalfigure[...][factor=max]

2013-02-02 Thread Aditya Mahajan
\externalfigure[...][factor=max] behaves incorrectly (or at lease does not behave as expected) when the width of the figure is less than the height. Minimal example: \startbuffer \startTABLE[frame=off,align={middle,lohi}] \NC none \NC \externalfigure[cow][ratio] \NC \NR \NC max \NC

Re: [NTG-context] What is the easiest way to have multi lines in some of the cells in a table?

2013-01-23 Thread 土卜皿
][tab:multilinesinonecell]{Multi Lines in One Cell} \starttable[|c|c|c|][textwidth=8.8cm] \HL \NC \JustLeft FIRST COL \NC \JustCenter \bf SECOND COL \NC\SR\HL \NC \JustLeft first line \NC \JustLeft one line in cell \NC\MR \HL \NC \JustLeft second line \NC \JustLeft first line in second line's 2nd

[NTG-context] What is the easiest way to have multi lines in some of the cells in a table?

2013-01-22 Thread 土卜皿
hi,all my question as title described,Now I used the following method: \starttext \placetable[here][tab:multilinesinonecell]{Multi Lines in One Cell} \starttable[|c|c|c|][textwidth=8.8cm] \HL \NC \JustLeft FIRST COL \NC \JustCenter \bf SECOND COL \NC\SR\HL \NC \JustLeft first line \NC

Re: [NTG-context] Total Number of Pages

2012-10-16 Thread Philipp Gesang
: \totalnumberofpages \par %% synonyms: \nofuserpages, \lastuserpagenumber last user page: \lastpagenumber\par %% for sake of completeness first real page \firstpage \par \chapter{no counting} \dorecurse{5}{% \section{iteration \recurselevel} \starttable[|l|l|] \NC counter\NC value

Re: [NTG-context] [tabulate] colored background

2012-09-28 Thread Philipp Gesang
for that omission ;-)) Philipp (Untested) \startsetups table:setup \setupTABLE[frame=off] \setupTABLE[r][1][background=color, color=red, width=0.5\hsize] \stopsetups \startTABLE[setups={table:setup}] \NC \input knuth \NC was said by the Don \NC \NR \stopTABLE Aditya

Re: [NTG-context] [tabulate] colored background

2012-09-27 Thread Aditya Mahajan
are more flexible than tabulate. (Untested) \startsetups table:setup \setupTABLE[frame=off] \setupTABLE[r][1][background=color, color=red, width=0.5\hsize] \stopsetups \startTABLE[setups={table:setup}] \NC \input knuth \NC was said by the Don \NC \NR \stopTABLE

Re: [NTG-context] Stretching width in natural TABLEs

2012-09-03 Thread Michael Rogers
\setupTABLE[c][1][width={2cm}] \setupTABLE[c][2][width={\dimexpr(\textwidth-2cm)/3\relax}] \setupTABLE[c][3][width={\dimexpr(\textwidth-2cm)* 2 / 3\relax}] \startTABLE \NC One \NC Two \NC Three \NC\NR \NC A \NC B \NC C \NC\NR \stopTABLE \stoptext On Sep 2, 2012, at 12:24 PM, Aditya Mahajan wrote: Hi

Re: [NTG-context] Stretching width in natural TABLEs

2012-09-03 Thread Aditya Mahajan
wondering if the widths and stretching can be handled automatically -- the short answer is I don't know. \starttext \setupTABLE[c][1][width={2cm}] \setupTABLE[c][2][width={\dimexpr(\textwidth-2cm)/3\relax}] \setupTABLE[c][3][width={\dimexpr(\textwidth-2cm)* 2 / 3\relax}] \startTABLE \NC One \NC Two \NC

Re: [NTG-context] Stretching width in natural TABLEs

2012-09-03 Thread Rogers, Michael K
(\textwidth-2cm)* 2 / 3\relax}] \startTABLE \NC One \NC Two \NC Three \NC\NR \NC A \NC B \NC C \NC\NR \stopTABLE \stoptext Apart from being hard to maintain, this works well if I know the width of a cell in advance. But most of the time I want something the width of the fixed column

Re: [NTG-context] Stretching width in natural TABLEs

2012-09-03 Thread Aditya Mahajan
\relax}] \setupTABLE[c][3][width={\dimexpr(\textwidth-2cm)* 2 / 3\relax}] \startTABLE \NC One \NC Two \NC Three \NC\NR \NC A \NC B \NC C \NC\NR \stopTABLE \stoptext Apart from being hard to maintain, this works well if I know the width of a cell in advance. But most of the time I want something

Re: [NTG-context] Setting options for every n-th row in natural TABLEs

2012-09-02 Thread Aditya Mahajan
{doifelse(math.mod(##1-1,6) 3)}\v!odd\v!even}} \protect \startsetups zebra:three \redefineoddeven \setupTABLE[frame=off,background=color] \setupTABLE[row][odd][backgroundcolor=blue] \setupTABLE[row][even][backgroundcolor=red] \stopsetups \starttext \startTABLE[setups={zebra:three

[NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Aditya Mahajan
[align={middle,middle}] does not work. I also tried \setupTABLE[location={low}] (or lohi, or middle), but the calculation of height is wrong in those cases. Minimal example: \startsetups table \setupTABLE[align={middle,middle}] \stopsetups \starttext \startTABLE[setups

Re: [NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Wolfgang Schuster
[align={middle,middle}] \stopsetups \starttext \startTABLE[setups=table] \NC Ward \NC \input ward \endgraf \NC \NR \stopTABLE \stoptext Can you show your output because I can’t see something odd with \setupTABLE[align={middle,loci}] Wolfgang test.pdf Description

Re: [NTG-context] Vertical alignment in Natural tables

2012-08-27 Thread Aditya Mahajan
: \startsetups table \setupTABLE[align={middle,middle}] \stopsetups \starttext \startTABLE[setups=table] \NC Ward \NC \input ward \endgraf \NC \NR \stopTABLE \stoptext Can you show your output because I can’t see something odd with \setupTABLE[align={middle,loci}] Thanks

Re: [NTG-context] How to draw a red frame of a row in a matrix?

2012-07-25 Thread Wolfgang Schuster
\vdots \NR \noalign{\hrule} \NC a_{i1} \NC a_{i2} \NC \cdots \NC a_{in} \NR \noalign{\hrule} \NC \vdots \NC \vdots \NC \ddots \NC \vdots \NR \NC a_{m1} \NC a_{m2} \NC \cdots \NC a_{mn} \NR \stopmatrix \stopformula \starttable[|*{4}{b{\strut}Mc|}] \NC a_{11} \NC a_{12} \NC \cdots \NC a_{1n} \NC

[NTG-context] about \startformula\startalign error

2012-07-22 Thread dalyoung
%% \starttext \starttable[|c|c|w4cm|w4cm|] \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC \NR \NC y' = \NC \NR \stopmatrix \VL \VL \NC\FR \HL \NC $y$ \VL \startformula\startalign \NC x' = \NC \NR \NC y' = \NC \NR \stopalign\stopformula \VL \VL \NC\LR \HL \stoptable

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread Aditya Mahajan
wrong? Thank you for reading. Best regards, Dalyoung %% \starttext \starttable[|c|c|w4cm|w4cm|] \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC \NR \NC y' = \NC \NR \stopmatrix \VL \VL \NC\FR \HL \NC $y$ \VL \startformula\startalign \NC

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread dalyoung
two more questions. 1. In the output of the following code, 'x' in the first column is vertically centered, but matrix in the second column is not(located at top). What option can solve this? \starttable[|c|c|w4cm|w4cm|] \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC

Re: [NTG-context] about \startformula\startalign error

2012-07-22 Thread Aditya Mahajan
(and their location can be controlled by location=(low|lohi|high) keys, but for some reason that is not working in a table. \starttable[|c|c|w4cm|w4cm|] The normal syntax is w(4cm) ... \HL \NC A \VL B \VL C \VL D \NC\SR \HL \NC $x$ \VL \startmatrix \NC x' = \NC \NR .\NC y' = \NC \NR \stopmatrix

[NTG-context] report of strange(?) output depending on the location of \StartSteps ... \StopSteps

2012-07-21 Thread dalyoung
\starttable[|c|c|c|c|c|c|] \HL \VL \VL A \VL B \VL C \VL D \VL E \VL\FR \HL \VL \VL 2\VL 1\VL 3\VL 2\VL 2\VL\SR \HL \stoptable ... I got correct steps flush1 and flush 2, but the table after the steps was disappeared.(just white page) If I change the order of table and items, both

[NTG-context] Tables still broken?

2012-07-06 Thread Meer, H. van der
match its definition. system tex error on line 5 in file Tabellen/tabel-engels.tex: Use of ... 1 % Part of Practicumboek Cryptografie - ConTeXt version 2 % 3 \placetable{}{\smallsize\tt 4 \starttable[s1|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|r|] 5 \HL

Re: [NTG-context] xtable

2012-06-22 Thread Wolfgang Schuster
Am 21.06.2012 um 16:27 schrieb Meer, H. van der: Can one put individual horizontal and vertical lines between rows/columns in xtable? Just like for example \HL in \starttable? You can use MetaPost to draw the rules but it’s awkward because you can make a setup like this \setuxptable

Re: [NTG-context] xtable

2012-06-22 Thread Meer, H. van der
On 22 jun. 2012, at 10:53, Wolfgang Schuster wrote: Am 21.06.2012 um 16:27 schrieb Meer, H. van der: Can one put individual horizontal and vertical lines between rows/columns in xtable? Just like for example \HL in \starttable? You can use MetaPost to draw the rules but it’s awkward

Re: [NTG-context] xtable

2012-06-22 Thread Wolfgang Schuster
Am 22.06.2012 um 12:00 schrieb Meer, H. van der: On 22 jun. 2012, at 10:53, Wolfgang Schuster wrote: Am 21.06.2012 um 16:27 schrieb Meer, H. van der: Can one put individual horizontal and vertical lines between rows/columns in xtable? Just like for example \HL in \starttable? You

[NTG-context] xtable

2012-06-21 Thread Meer, H. van der
Can one put individual horizontal and vertical lines between rows/columns in xtable? Just like for example \HL in \starttable? The workings of parameter spaceinbetween on \startxtable remain a mystery to me. Can someone enlighten me? Hans van der Meer

[NTG-context] tables

2012-05-17 Thread Meer, H. van der
I started using starttable..\stoptable. Question: How can I force the table cells to fixed dimensions, for example squares of 1cmx1cm? I can see \setuptables[height= width= depth=] but that does not take dimensions (error Illegal unit). What it does with the numbers given is not clear to me

[NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I have problem using \definetabletemplate (http://wiki.contextgarden.net/Command/definetabletemplate, http://www.mail-archive.com/search?l=ntg-context%40ntg.nlq=definetabletemplate). The following code doesn't work: \definetabletemplate[Test][|c|] \starttext \starttable[|c

<    1   2   3   4   5   6   7   >