Re: [NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Wolfgang Schuster
doesn't work: \definetabletemplate[Test][|c|] \starttext \starttable[|c|] % This is OK \HL \NC aaa \AR \HL \stoptable \starttable[Test] % A problem (?) \HL \NC aaa \AR \HL \stoptable \stoptext What am I doing wrong? It’s a bug, here is a fix

Re: [NTG-context] Problem with \definetabletemplate

2012-03-15 Thread Procházka Lukáš Ing . - Pontex s . r . o .
://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|] % This is OK \HL \NC aaa \AR \HL \stoptable

Re: [NTG-context] Fontsize problems in table

2011-12-22 Thread Hans Hagen
On 22-12-2011 00:56, Wolfgang Schuster wrote: Hi Hans, the following example complains about a missing font identifier. \starttext \starttable[|l|] \stoptable \stoptext hm, a rather strange default for the bodyfont parameter (can be empty by default) .. a leftover from probably ten years

[NTG-context] Fontsize problems in table

2011-12-21 Thread Wolfgang Schuster
Hi Hans, the following example complains about a missing font identifier. \starttext \starttable[|l|] \stoptable \stoptext fontsvirtual math unable to resolve name mapsfromchar fontsfallback modern rm 12pt is loaded ! Missing font identifier. system tex

[NTG-context] \starttabulate inside a \placelegend is not working

2011-12-20 Thread Charles
Hi, I would like to put a table (\starttabulate ... \stoptabulate) inside a \placelegend in order to have local footnotes. The compilation is OK for \starttable but failing with \starttabulate. Some help please? Thanks Charles \starttext \startlocalfootnotes \placetable{A table

Re: [NTG-context] How to create horizontal line for signature?

2011-12-13 Thread Wolfgang Schuster
on Stack Exchange [3] for ConTeXt would be nice. \startTABLE[frame=off,align=middle] \NC London, den 28.\,June 2011\NC\NR \NC[height=1cm] \NC\NR \NC[topframe=on,style=smallbodyfont] John Doe \NC\NR \stopTABLE Wolfgang

Re: [NTG-context] [solved] How to create horizontal line for signature?

2011-12-13 Thread Paul Menzel
for the signature. I see. I thought I was just missing something. Something like the examples posted for LaTeX on Stack Exchange [3] for ConTeXt would be nice. \startTABLE[frame=off,align=middle] \NC London, den 28.\,June 2011\NC\NR \NC[height=1cm

Re: [NTG-context] Table cell colo(u)rs

2011-11-25 Thread Hans Hagen
: ! Undefined control sequence. system tex error on line 4 in file tmp.tex: Undefined control sequence ... 1 \setupcolors[state=start] 2 \starttable[|l|l|] 3 \HL 4 \BL[1]\SR 5 \NC Command \NC Meaning \NC\SR 6 \HL 7 \NC \tex{NC} \NC next column \NC\FR 8

[NTG-context] float names and lists

2011-11-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Consider the following: = \definefloat[tablecw] % \setupfloat[tablecw] \setupcaption[tablecw][prefix=Table] \starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Caption.} {\starttable[|c|c|c|] \HL \VL Test \VL Test

[NTG-context] Double height rows using natural tables?

2011-11-24 Thread Pavneet Arora
Description: Adobe PDF document \setuppapersize[letter] \setuplayout[header=0in,footer=0in,topspace=0.75in,backspace=1.25in] \setuppagenumbering[location=] \switchtobodyfont[11pt] \starttext \startalignment[center] \placetable[here][]{none} \starttable[|cw(0.75in)|lw(1.5in)|cw(0.75in)|lw(1.5in)|] \HL

Re: [NTG-context] float names and lists

2011-11-24 Thread Idris Samawi Hamid ادريس سماوي حامد
\placelistoffloatswith 's' at the end. Now it's just\placelistoffloatSo the following now works:\definefloat[tablecw] \setuplabeltext[tablecw=Table]\starttext \setupfloats[location=middle] \placetable [here] [tablecw:test]{A Regular Caption.} {\starttable[|c|c|c|]\HL \VL Test \VL

[NTG-context] Table cell colo(u)rs

2011-11-17 Thread Pavneet Arora
: Undefined control sequence ... 1 \setupcolors[state=start] 2 \starttable[|l|l|] 3 \HL 4 \BL[1]\SR 5 \NC Command \NC Meaning \NC\SR 6 \HL 7 \NC \tex{NC} \NC next column \NC\FR 8 \NC \tex{NR} \NC next row\NC\LR 9 \HL 10 \CL[green]\SR 11

Re: [NTG-context] Table cell colo(u)rs

2011-11-17 Thread Christian
: Undefined control sequence ... 1 \setupcolors[state=start] 2 \starttable[|l|l|] 3 \HL 4 \BL[1]\SR 5 \NC Command \NC Meaning \NC\SR 6 \HL 7 \NC \tex{NC} \NC next column \NC\FR 8 \NC \tex{NR} \NC next row\NC\LR 9 \HL 10

Re: [NTG-context] Table cell colo(u)rs

2011-11-17 Thread Andreas Harder
. system tex error on line 4 in file tmp.tex: Undefined control sequence ... 1 \setupcolors[state=start] 2 \starttable[|l|l|] 3 \HL 4 \BL[1]\SR 5 \NC Command \NC Meaning \NC\SR 6 \HL 7 \NC \tex{NC}\NC next column \NC\FR 8 \NC \tex{NR}\NC

Re: [NTG-context] Table cell colo(u)rs

2011-11-17 Thread Wolfgang Schuster
. but for complicated layouts and tables with lots of texts tabulate and TABLE are better suited. Or as already suggested the \bTABLE … \eTABLE or the new xtable-environment. For short tables with a complex layout you can use \startTABLE. Wolfgang

[NTG-context] more table trouble ...

2011-11-12 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Here's another table that worked fine in MkII but not MkIV: = \starttext \starttable[|l|l|] \VL test \VL \LOW{test} \VL\FR \DL\DC \DR \stoptable \stoptext

Re: [NTG-context] Table bug in MkIV?

2011-11-07 Thread Hans Hagen
On 7-11-2011 03:17, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, It seems that \starttable has a bug in MkIV: \starttext \starttable{|c|c|c|} [ ] \HL \VL Test \VL Test \VL Test \VL\FR \stoptable \stoptext

Re: [NTG-context] Table bug in MkIV?

2011-11-07 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 07 Nov 2011 00:09:00 -0700, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 07.11.2011 um 03:17 schrieb Idris Samawi Hamid ادريس سماوي حامد: It seems that \starttable has a bug in MkIV: \starttext \starttable{|c|c|c|} Use bracket for the argument and not braces

Re: [NTG-context] Table bug in MkIV?

2011-11-07 Thread Wolfgang Schuster
Am 07.11.2011 um 14:24 schrieb Idris Samawi Hamid ادريس سماوي حامد: On Mon, 07 Nov 2011 00:09:00 -0700, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 07.11.2011 um 03:17 schrieb Idris Samawi Hamid ادريس سماوي حامد: It seems that \starttable has a bug in MkIV

[NTG-context] Table bug in MkIV?

2011-11-06 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, It seems that \starttable has a bug in MkIV: \starttext \starttable{|c|c|c|} \HL \VL Test \VL Test \VL Test \VL\FR \stoptable \stoptext This is LuaTeX, Version beta-0.71.0-2011071409 (rev 4332) \write18 enabled. (placetable.tex ConTeXt ver: 2011.11.05 01:19 MKIV fmt

Re: [NTG-context] Table bug in MkIV?

2011-11-06 Thread Wolfgang Schuster
Am 07.11.2011 um 03:17 schrieb Idris Samawi Hamid ادريس سماوي حامد: Dear gang, It seems that \starttable has a bug in MkIV: \starttext \starttable{|c|c|c|} Use bracket for the argument and not braces: “[|c|c|c|]”. Wolfgang

Re: [NTG-context] References to annotations

2011-10-07 Thread Michael Green
Thank you again! You need the following mode setting: \usemodule[letter] \startletter \startnotmode[*trialtypesetting] \placetable[here][]{title} \starttable[|l|] \NC That?s all \NC\MR \stoptable \stopnotmode \stopletter

Re: [NTG-context] References to annotations

2011-10-06 Thread Wolfgang Schuster
} \starttable[|l|] \NC That’s all \NC\MR \stoptable \stopletter \stoptext You need the following mode setting: \usemodule[letter] \startletter \startnotmode[*trialtypesetting] \placetable[here][]{title} \starttable[|l|] \NC That’s all \NC\MR \stoptable \stopnotmode \stopletter Wolfgang

Re: [NTG-context] References to annotations

2011-10-05 Thread Michael Green
That works. Thank you very much! Coincidentally, I found a similar issue with the letter module. The table in the example below will be numbered Table 2 \usemodule[letter] \starttext \startletter \placetable[here][]{title} \starttable[|l|] \NC That’s all \NC\MR \stoptable \stopletter

Re: [NTG-context] Side-by-Side tables

2011-08-24 Thread Aditya Mahajan
for it to do. before and after go on the top and the bottom of the combination block, inbetween goes between the figure/table and the caption. One possibility to simplify measurement is to abuse figurecollections (Please wikify). \startbuffer[table:1] \startTABLE \NC A \NC B \NC C \NC D \NC

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

2011-08-15 Thread Wolfgang Schuster
it overrides the: \setupTABLE[r][1][align=center, style=bold] (The align, not the style.) Then set the alignment with \bTD in your \StartTable command or just use normal table commands. \startsetups mytable \setupTABLE[header][align=middle,style=bold] \setupTABLE[start][align=normal

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

2011-08-15 Thread Cecil Westerhof
it overrides the: \setupTABLE[r][1][align=center, style=bold] (The align, not the style.) Then set the alignment with \bTD in your \StartTable command or just use normal table commands. \startsetups mytable \setupTABLE[header][align=middle,style=bold] \setupTABLE[start][align=normal

Re: [NTG-context] t-filter: how to use math-mode

2011-06-23 Thread yoraxe
[here]{none} \starttable[|l|l|] \HL \NC first \NC second \NC\AR \HL \NC a\letterunderscore{}b \NC 1.6 \NC\AR \NC \$a\letterunderscore{}b\$ \NC 2.5 \NC\AR \HL \stoptable ___ If your question is of interest to others as well

Re: [NTG-context] Table Column Width

2011-06-18 Thread Pontus Lurcock
to said in the \starttable[|c|c|c|c|] last field, but I can't figure out what from the documentation. The syntax is a little elusive. I'm afraid I can't help directly with the Table module you're using, but you may want to consider using one of ConTeXt's newer table modules: http

Re: [NTG-context] Table Column Width

2011-06-18 Thread Hans Hagen
needs to said in the \starttable[|c|c|c|c|] last field, but I can't figure out what from the documentation. The syntax is a little elusive. replace c by p(4cm) - Hans Hagen | PRAGMA ADE

[NTG-context] Table Column Width

2011-06-17 Thread Kip Warner
Hey list, I have a table with four columns. The first three are fine as fixed width and fairly narrow, but I need the fourth one to be larger to accommodate text that can wrap for two or more lines. How would I go about doing this? I'm guessing something needs to said in the \starttable[|c|c|c|c

[NTG-context] Problem centernig a table by Lua

2011-05-13 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm typesetting a centered (middaligned) 1-cell table by Ctx - no problem. When I rewrite the same code to Lua, the table is always moved to the right; see or try the attached files. --- \starttext % By TeX \centerline{ \starttable[|c|] \HL \VL 5 \VL\AR \HL

Re: [NTG-context] Problem centernig a table by Lua

2011-05-13 Thread Hans Hagen
{ \starttable[|c|] \HL \VL 5 \VL\AR \HL \stoptable } % By Lua \startluacode context([[\centerline{]]) context.starttable{|c|} context.HL() context.VL(5); context.VL(); context.AR() context.HL() context.stoptable() context([[}]]) \stopluacode \stoptext --- Why? How to modify the Lua code? You

Re: [NTG-context] Problem centernig a table by Lua

2011-05-13 Thread luigi scarso
2011/5/13 Hans Hagen pra...@wxs.nl: You also need to modify the tex code (space after {) \starttext  % By TeX  \centerline{%    \starttable[|c|]      \HL      \VL 5 \VL\AR      \HL    \stoptable  } my faults, sorry -- luigi

[NTG-context] mathalignment within a table - help needed!

2011-05-13 Thread Alasdair McAndrew
Hello, I'm trying to typeset some linear algebra exercises for my students; the exercises will be within a table, and each second element will be a system of linear equations. This sort of thing: \starttable[|l|M|l|M|] \NC (a) \NC % \startmathalignment[n=7,align={right,middle,right,middle

Re: [NTG-context] mathalignment within a table - help needed!

2011-05-13 Thread Aditya Mahajan
On Sat, 14 May 2011, Alasdair McAndrew wrote: Hello, I'm trying to typeset some linear algebra exercises for my students; the exercises will be within a table, and each second element will be a system of linear equations. This sort of thing: \starttable[|l|M|l|M|] \NC (a) \NC

Re: [NTG-context] mathalignment within a table - help needed!

2011-05-13 Thread Alasdair McAndrew
will be a system of linear equations. This sort of thing: \starttable[|l|M|l|M|] \NC (a) \NC % \startmathalignment[n=7,align={right,middle,right,middle,right,middle,right}] \NC 3x\NC +\NC 6y\NC -\NC 2z\NC =\NC -13\NR \NC -6x\NC -\NC 9y\NC +\NC 5z\NC =\NC 22\NR \NC 3x\NC +\NC 3y\NC

[NTG-context] Setting width of table column

2011-05-12 Thread Roger Mason
Hello, I cannot find how to set the width of a table column. I am running MkII. The manual gives this: w set minimum column width at specified value I have currently: \starttable[|l|l|w5cm l|p|] but that italicises the content of column 3. I have tried variations to no avail. Thanks for any

Re: [NTG-context] Setting width of table column

2011-05-12 Thread Wolfgang Schuster
Am 12.05.2011 um 19:34 schrieb Roger Mason: Hello, I cannot find how to set the width of a table column. I am running MkII. The manual gives this: w set minimum column width at specified value I have currently: \starttable[|l|l|w5cm l|p|] You need parentheses! … | l w(5cm

Re: [NTG-context] Setting width of table column

2011-05-12 Thread Roger Mason
Hi Wolfgang, Wolfgang Schuster schuster.wolfg...@googlemail.com writes: You need parentheses! … | l w(5cm) | … Many thanks. If I may presume on your patience a little more... I now have: \starttable[| l s1 | s1 l | s0 lp w(10cm) | s0 l |] However, the entries in column 3 have line-feeds

Re: [NTG-context] Setting width of table column

2011-05-12 Thread Wolfgang Schuster
Am 12.05.2011 um 20:10 schrieb Roger Mason: Hi Wolfgang, Wolfgang Schuster schuster.wolfg...@googlemail.com writes: You need parentheses! … | l w(5cm) | … Many thanks. If I may presume on your patience a little more... I now have: \starttable[| l s1 | s1 l | s0 lp w(10cm

Re: [NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-04 Thread Wolfgang Schuster
Am 04.05.2011 um 06:45 schrieb Aditya Mahajan: \startsetups table:frame \setupTABLE[each][each][frame=off, align=middle] \setupTABLE[row][first][bottomframe=on] \setupTABLE[column][first][rightframe=on] \stopsetups \startTABLE[setups=table:frame] \NC $\times$ \NC 1 \NC 2 \NC ... \NC \NR

Re: [NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-04 Thread Alasdair McAndrew
...@googlemail.com wrote: Am 04.05.2011 um 06:45 schrieb Aditya Mahajan: \startsetups table:frame \setupTABLE[each][each][frame=off, align=middle] \setupTABLE[row][first][bottomframe=on] \setupTABLE[column][first][rightframe=on] \stopsetups \startTABLE[setups=table:frame] \NC

Re: [NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-04 Thread Paul Menzel
\startTABLE[setups=table:frame] \NC $\times$ \NC 1 \NC 2 \NC ... \NC \NR \stopTABLE and for the lazy people: \starttext \startsetups table:multiplication \setupTABLE[each][each][frame=off,align=middle,width=2em,height=2em] \setupTABLE[row][first][bottomframe

Re: [NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-04 Thread Alasdair McAndrew
][bottomframe=on] \setupTABLE[column][first][rightframe=on] \stopsetups \startTABLE[setups=table:frame] \NC $\times$ \NC 1 \NC 2 \NC ... \NC \NR \stopTABLE and for the lazy people: \starttext \startsetups table:multiplication \setupTABLE[each][each][frame

Re: [NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-04 Thread Wolfgang Schuster
Am 04.05.2011 um 12:10 schrieb Alasdair McAndrew: It looks like it should work, but when I try it I get a very squashed table, with lines between all rows and columns... FWIW, I'm using MKII: To separate the content and style of a table Hans added a “setups” key to \bTABLE/\startTABLE

[NTG-context] Still wrestling with multiplication tables

2011-05-04 Thread Alasdair McAndrew
Hello again, So I decide to try with tables: \starttable[|m|m|m|m|m|m|m|m|m|] \NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR \HL \NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR \NC R\VL R\NC R^2\NC R^3\NC I\NC FR\NC FR^2\NC FR^3\NC F\NR \NC R^2\VL R

Re: [NTG-context] Still wrestling with multiplication tables

2011-05-04 Thread Aditya Mahajan
On May 4, 2011, at 9:35 AM, Alasdair McAndrew amc...@gmail.com wrote: Hello again, So I decide to try with tables: \starttable[|m|m|m|m|m|m|m|m|m|] \NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\AR \HL \NC I \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3\NR

Re: [NTG-context] Still wrestling with multiplication tables

2011-05-04 Thread Alasdair McAndrew
On Wed, May 4, 2011 at 11:41 PM, Aditya Mahajan adit...@umich.edu wrote: On May 4, 2011, at 9:35 AM, Alasdair McAndrew amc...@gmail.com wrote: Hello again, So I decide to try with tables: \starttable[|m|m|m|m|m|m|m|m|m|] \NC \VL I\NC R\NC R^2\NC R^3\NC F\NC FR\NC FR^2\NC FR^3

Re: [NTG-context] Multiplication table (with lines) in ConTeXt?

2011-05-03 Thread Aditya Mahajan
][rightframe=on] \stopsetups \startTABLE[setups=table:frame] \NC $\times$ \NC 1 \NC 2 \NC ... \NC \NR \stopTABLE Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-05-01 Thread Paul Menzel
-rest.t*:: rest-temp-rest.tex :: \placetable[here]{none} \starttable[|l|l|] \HL \NC test \NC table \NC\AR \HL \NC α \NC b \NC\AR \NC c \NC d

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-04-30 Thread Paul Menzel
-rest.tex :: \placetable[here]{none} \starttable[|l|l|] \HL \NC test \NC table \NC\AR \HL \NC α \NC b \NC\AR \NC c \NC d \NC\AR \HL \stoptable

Re: [NTG-context] t-filter: no table created when Unicode characters are included

2011-04-30 Thread Aditya Mahajan
{os.execute()}. Also, what OS you are on? $ pandoc -f rst -t context -o rest-temp-rest.tex rest-temp-rest.tmp $ more rest-temp-rest.t*:: rest-temp-rest.tex :: \placetable[here]{none} \starttable[|l|l|] \HL \NC test

[NTG-context] Centerd table?

2011-04-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, why this code doesn't give a centered table? --- \starttext \startalignment[middle] \dontleavehmode \starttable[|c|c|c|] \HL \VL a \VL b \VL c \VL\AR \HL \VL a \VL b \VL c \VL\AR \HL \stoptable \stopalignment \stoptext --- How to achieve

Re: [NTG-context] Centerd table?

2011-04-19 Thread Wolfgang Schuster
Am 19.04.2011 um 11:32 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, why this code doesn't give a centered table? --- \starttext \startalignment[middle] \dontleavehmode \starttable[|c|c|c|] \HL \VL a \VL b \VL c \VL\AR \HL \VL a \VL b \VL c

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Philipp Gesang
, 0, 1, }, { 0, 1, 0, }, { 0, 1, 1, }, { 1, 0, 0, }, { 1, 0, 1, }, { 1, 1, 0, }, { 1, 1, 1, }, } --- Lua stuff 1 - userdata.env = [[ \starttable[%s] \HL %s \HL \stoptable ]] local fmt, rep, unpack = string.format

Re: [NTG-context] Error with \placetable ... \starttable

2011-01-11 Thread Aditya Mahajan
On Thu, 6 Jan 2011, Khaled Hosny wrote: Looks like \stattable ... \stoptable no longer do grouping, the following is broken unless \stattable ... \stoptable is grouped. \starttext \placetable[here,nonumber]{foo} \starttable[|r|r|] \NC foo \NC bar \AR \stoptable \stoptext This is still

[NTG-context] Error with \placetable ... \starttable

2011-01-05 Thread Khaled Hosny
Looks like \stattable ... \stoptable no longer do grouping, the following is broken unless \stattable ... \stoptable is grouped. \starttext \placetable[here,nonumber]{foo} \starttable[|r|r|] \NC foo \NC bar \AR \stoptable \stoptext Regards, Khaled -- Khaled Hosny Arabic localiser and member

[NTG-context] Table resolution too low

2010-12-23 Thread Tom
this as a problem but is there a way to cause it to be 300dpi or greater to eliminate the warning? \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL \VL Albert Exendine \VL End \VL 1970 \VL\SR \HL \VL Joe Guyon \VL Halfback/Tackle \VL

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Tom
://www.cacert.org (I'm an assurer) Here is an example: \starttext \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL \VL Albert Exendine \VL End \VL 1970 \VL\SR \HL \VL Joe Guyon \VL Halfback/Tackle \VL 1971 \VL\SR \HL \VL James

Re: [NTG-context] Table resolution too low

2010-12-23 Thread luigi scarso
On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote: Here is an example: \starttext \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL \VL Albert Exendine \VL End \VL 1970 \VL\SR \HL \VL Joe Guyon \VL

Re: [NTG-context] Table resolution too low

2010-12-23 Thread luigi scarso
On Thu, Dec 23, 2010 at 8:36 PM, Tom t...@tuxedo-press.com wrote: On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote: Here is an example: \starttext \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL \VL

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Tom
On Thu, Dec 23, 2010 at 8:36 PM, Tom t...@tuxedo-press.com wrote: On Thu, Dec 23, 2010 at 4:42 PM, Tom t...@tuxedo-press.com wrote: Here is an example: \starttext \placetable[here,force]{none} {\starttable[|l|l|l|] \HL \VL \bf Player* \VL \bf Position \VL \bf Year Inducted \VL\SR \HL

[NTG-context] tiny bug in table (or my code?)

2010-12-10 Thread Mojca Miklavec
\AR} \starttable[|cp(2em)|rp(2em)|rp(2em)|] \HL \VL 1 \NC 2 \NC 3 \VL\AR \mymacro123 \HL \stoptable Mojca PS: \startTEXpage ... \stopTEXpage around the code behaves as if table was infinitely small. Is that OK? table.pdf Description: Adobe PDF document

Re: [NTG-context] Re; TABLE help

2010-12-10 Thread Wolfgang Schuster
of memory. \placetable[here,split][tab:five]{Descriptive Statistics for Salaried Men Women} {\startTABLE[split=repeat] \startTABLEhead[style=bold] \NC Group \NC N \NC MEAN \NC STD \NC MIN \NC MAX \NC Gini \NC 80/20 \NC\NR \stopTABLEhead \startTABLEbody \NC[nc=8] 1980 \NC\NR \NC ALL \NC 14202

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-07 Thread Hans Hagen
On 6-12-2010 10:47, Vedran Miletić wrote: 2010/11/30 Richard Stephensrichard.steph...@converteam.com Hello all, I have just noticed that \SetTableToWidth does not work in MKIV. Simple example below. \starttext \SetTableToWidth{8cm} \starttable[|l|l|] \NC One

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-07 Thread Hans Hagen
On 6-12-2010 10:47, Vedran Miletić wrote: 2010/11/30 Richard Stephensrichard.steph...@converteam.com Hello all, I have just noticed that \SetTableToWidth does not work in MKIV. Simple example below. btw, those using the starttable mechanism are also made responsible for keeping

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-07 Thread Khaled Hosny
\SetTableToWidth{8cm} \starttable[|l|l|] \NC One \NC Two \NC\SR \NC Three \NC Four \NC\LR \stoptable \stoptext I get the error: ! Undefined control sequence. l.3 \SetTableToWidth {8cm} It does work in MKII and also

Re: [NTG-context] problem in resume module

2010-12-06 Thread Hans Hagen
On 5-12-2010 12:27, Wolfgang Schuster wrote: \starttext \starttable[|s0l|] \NC text \NC\NR \stoptable \stoptext fixed in next beta -- - Hans Hagen | PRAGMA ADE Ridderstraat

Re: [NTG-context] \SetTableToWidth undefined?

2010-12-06 Thread Vedran Miletić
2010/11/30 Richard Stephens richard.steph...@converteam.com Hello all, I have just noticed that \SetTableToWidth does not work in MKIV. Simple example below. \starttext \SetTableToWidth{8cm} \starttable[|l|l|] \NC One \NC Two \NC\SR \NC Three

Re: [NTG-context] problem in resume module

2010-12-05 Thread Wolfgang Schuster
Am 04.12.2010 um 18:01 schrieb Hans Hagen: so what does the minimal test look like \starttext \starttable[|s0l|] \NC text \NC\NR \stoptable \stoptext Wolfgang ___ If your question is of interest to others as well

Re: [NTG-context] \starttable ... \stoptable part II

2010-12-02 Thread Alan BRASLAU
On Wednesday 24 November 2010 14:57:36 Hans Hagen wrote: On 24-11-2010 2:54, Herbert Voss wrote: works with mkii, but not with mkiv example is from the documentation: \starttext \starttable[|l|c|c|] \DC\DL[2] \DR \NC\VL Mickey \VL Goofy \VL\SR

Re: [NTG-context] beta

2010-12-01 Thread Mojca Miklavec
On Wed, Dec 1, 2010 at 16:54, Mojca Miklavec wrote: Hans, something with tables is horribly horribly broken. I get a number 4 instead of vertical line all over the place. I'm trying to prepare a minimal example. \starttext \starttable[|c|c|] \VL a \VL b \VL\AR \stoptable \stoptext On top

Re: [NTG-context] beta

2010-12-01 Thread Arthur Reutenauer
\starttext \starttable[|c|c|] \VL a \VL b \VL\AR \stoptable \stoptext Confirmed on my machine. Arthur % engine=luatex \starttext \starttable[|c|c|] \VL a \VL b \VL\AR \stoptable \stoptext mojca.pdf Description: Adobe PDF document

Re: [NTG-context] beta

2010-12-01 Thread Hans Hagen
. \starttext \starttable[|c|c|] \VL a \VL b \VL\AR \stoptable \stoptext it's a side effect of new functionality and calling the wrong old code for rules ... i pruned some more so now this works ok \starttext \starttable[|c|c|] \VL a \VL[50] b \VL\AR \VL a \VL[red,10] b \VL\AR

[NTG-context] \SetTableToWidth undefined?

2010-11-30 Thread Richard Stephens
Hello all, I have just noticed that \SetTableToWidth does not work in MKIV. Simple example below. \starttext \SetTableToWidth{8cm} \starttable[|l|l|] \NC One \NC Two \NC\SR \NC Three \NC Four \NC\LR \stoptable \stoptext I get the error

Re: [NTG-context] Tables and nobreakable space

2010-11-27 Thread Hans Hagen
On 22-11-2010 8:24, Wolfgang Schuster wrote: \starttext \starttable[|p|] \NC ~ \NC\NR \stoptable \stoptext fixed in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27

Re: [NTG-context] \starttable ... \stoptable III

2010-11-25 Thread Hans Hagen
On 24-11-2010 7:20, Alan BRASLAU wrote: On Wednesday 24 November 2010 19:06:19 Hans Hagen wrote: ok, thanks for testing it ... I'm stripping that old code so bugs can creep in; I'm also considering removing the CL and such \CL[color] % colored line \BL[number_cells] % grey background (BL =

Re: [NTG-context] \starttable ... \stoptable III

2010-11-25 Thread Alan BRASLAU
if tabulate is indeed to replace table and tables, perhaps they should be eliminated. For backward compatibility, perhaps starttable and starttables could be synonymes for starttabulate? Or perhaps I am missing something. Alan

Re: [NTG-context] \starttable ... \stoptable III

2010-11-25 Thread Wolfgang Schuster
Am 25.11.2010 um 11:16 schrieb Alan BRASLAU: So if tabulate is indeed to replace table and tables, perhaps they should be eliminated. For backward compatibility, perhaps starttable and starttables could be synonymes for starttabulate? Or perhaps I am missing something. Tables has different

[NTG-context] tables and column spanning

2010-11-25 Thread Mojca Miklavec
Dear Hans, In MKIV I miss the probably recently dropped command \use{number-of-column} from \starttable ... \stoptable environment. In MKII it still works perfectly fine. Here's an example from Wiki for testing: \starttable[s(0pt)|ls(10pt)|rs(0pt)|] \HL \NC \use{2}\ReFormat[cB]{Spanning head

[NTG-context] \HL[...] in mkiv

2010-11-25 Thread Herbert Voss
runs in mkii and mkiv, but the optional argument for \HL is only valid for mkii. For mkiv it is not taken into account. \starttext \starttable[|c|c|c|c|c|c|c|c|c|c|]\HL \VL 1 \VL 2 \VL 3 \VL 4 \VL 5 \VL 6 \VL 7 \VL 8 \VL 9 \VL 10 \VL\AR\HL[5] \stoptable \stoptext Herbert

Re: [NTG-context] \starttable ... \stoptable III

2010-11-25 Thread Alan BRASLAU
On Thursday 25 November 2010 13:16:38 Wolfgang Schuster wrote: Am 25.11.2010 um 11:16 schrieb Alan BRASLAU: So if tabulate is indeed to replace table and tables, perhaps they should be eliminated. For backward compatibility, perhaps starttable and starttables could be synonymes

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

2010-11-24 Thread Herbert Voss
work ? \starttext \starttable[|l|r|]\HL \NC \bf Spalte 1 \NC \bf Spalte 2 \NC \FR \HL% works %\NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't work \NC $alfa$ \NC $beta$ \NC \MR \NC Links\NC Rechts \NC \LR \HL \stoptable \stoptext Herbert

[NTG-context] \starttable ... \stoptable part II

2010-11-24 Thread Herbert Voss
works with mkii, but not with mkiv example is from the documentation: \starttext \starttable[|l|c|c|] \DC\DL[2] \DR \NC\VL Mickey \VL Goofy \VL\SR \HL \VL Donald \VL $\star$ \VL \VL\SR \HL \VL Pluto \VL \VL $\star$ \VL\SR \HL \stoptable

Re: [NTG-context] \starttable ... \stoptable

2010-11-24 Thread Hans Hagen
\em Spalte 2 \NC \FR \HL % didn't work ? \starttext \starttable[|l|r|]\HL \NC \bf Spalte 1 \NC \bf Spalte 2 \NC \FR \HL% works %\NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't work \NC $alfa$ \NC $beta$ \NC \MR \NC Links\NC Rechts \NC \LR \HL

Re: [NTG-context] \starttable ... \stoptable

2010-11-24 Thread Herbert Voss
Am 24.11.2010 18:27, schrieb Hans Hagen: On 24-11-2010 12:20, Herbert Voss wrote: what is wrong with the \em? With \bf or {\em ...} it is fine \starttext \starttable[|l|r|]\HL \NC \bf Spalte 1 \NC \bf Spalte 2 \NC \FR \HL% works %\NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't

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

2010-11-24 Thread Herbert Voss
\VL\SR \HL\NL[30pt] ? \starttext \starttable[|l|c|c|] \NC\VL Mickey \VL Goofy \VL\SR \HL \VL Donald \VL $\star$ \VL \VL\SR \HL\NL[30pt] \VL Pluto \VL \VL $\star$ \VL\SR \HL \stoptable \stoptext Herbert

Re: [NTG-context] \starttable ... \stoptable III

2010-11-24 Thread Hans Hagen
{#1}\simpleTableNL } l.5 ...\VL $\star$ \VL \VL\SR \HL\NL[30pt] ? \starttext \starttable[|l|c|c|] \NC\VL Mickey \VL Goofy \VL\SR \HL \VL Donald \VL $\star$ \VL \VL\SR \HL\NL[30pt] \VL Pluto \VL \VL $\star$ \VL\SR \HL \stoptable \stoptext ok, thanks for testing

Re: [NTG-context] \starttable ... \stoptable III

2010-11-24 Thread Alan BRASLAU
On Wednesday 24 November 2010 19:06:19 Hans Hagen wrote: ok, thanks for testing it ... I'm stripping that old code so bugs can creep in; I'm also considering removing the CL and such \CL[color] % colored line \BL[number_cells] % grey background (BL = ?) They are useful. What should replace

[NTG-context] Tables and nobreakable space

2010-11-21 Thread Wolfgang Schuster
Hi Hans, there is a bug in the merged code of the table environment. \starttext \starttable[|p|] \NC ~ \NC\NR \stoptable \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry

[NTG-context] tables and color

2010-11-17 Thread Hans Hagen
Hi, A while ago Herbert reported problems with color in \starttable and Aditya suggested to provide \VL in \starttabulate. Also, there's some experimental coloring code in tabulate. So, I decided to add better color support to tabulate as well as vertical lines (for as far as it makes sense

[NTG-context] How to center a table horizontally ?

2010-11-17 Thread Lukas Prochazka
Hello all, this must be a really basic question, but I cannot find out the answer. I'm creating a table, but I cannot center it horizontally: --- \starttext \startalignment[center] \dontleavehmode \starttable[|c|] \NC CCC \NC\NR \stoptable \stopalignment \stoptext

Re: [NTG-context] How to center a table horizontally?

2010-11-17 Thread Peter Münster
On Wed, Nov 17 2010, Lukas Prochazka wrote: I'm creating a table, but I cannot center it horizontally: --- \starttext \startalignment[center] \dontleavehmode \starttable[|c|] \NC CCC \NC\NR \stoptable \stopalignment \stoptext --- I can't explain, what happens

Re: [NTG-context] tables and color

2010-11-17 Thread Mojca Miklavec
On Wed, Nov 17, 2010 at 13:39, Hans Hagen wrote: Concerning \starttable: I started merging the patches into the TaBlE code but also started wondering if we should still provide this mechanism in \MKIV. I'm considering making it a module, and then remove the color options from it as it's

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

2010-11-12 Thread Hans Hagen
On 11-11-2010 10:54, Aditya Mahajan wrote: This is mainly for completeness: On Thu, 11 Nov 2010, Manfred Lotz wrote: and like to have a light gray background for the heading row. \starttext \starttable[|l|l|] \BL[2] \SR % or % \CL[gray] \SR \NC \bf Colheader 1 \NC \bf Colheader 2 \NC

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

2010-11-12 Thread Wolfgang Schuster
Am 12.11.2010 um 19:19 schrieb Hans Hagen: So, if there's interest in the \starttable .. \stoptable mechanism (i have no idea how often it is used) I can consider weeding and redoing some of that code (or just rewrite it from scratch which is probably easier). There is still a use

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

2010-11-12 Thread Aditya Mahajan
On Fri, 12 Nov 2010, Hans Hagen wrote: On 11-11-2010 10:54, Aditya Mahajan wrote: This is mainly for completeness: On Thu, 11 Nov 2010, Manfred Lotz wrote: and like to have a light gray background for the heading row. \starttext \starttable[|l|l|] \BL[2] \SR % or % \CL[gray] \SR \NC

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

2010-11-12 Thread Aditya Mahajan
On Fri, 12 Nov 2010, Wolfgang Schuster wrote: Am 12.11.2010 um 19:19 schrieb Hans Hagen: So, if there's interest in the \starttable .. \stoptable mechanism (i have no idea how often it is used) I can consider weeding and redoing some of that code (or just rewrite it from scratch which

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

2010-11-12 Thread Wolfgang Schuster
Am 12.11.2010 um 22:41 schrieb Aditya Mahajan: Perhaps we can add an align key to \startTABLE macro ... \startTABLE has a optional argument which is passed down to \bTABLE Wolfgang ___ If your question

<    1   2   3   4   5   6   7   >