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 _

[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: 20

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

2011-09-15 Thread Felix Ingram
Some follow up notes in case anyone else is trying to do something similar On 13 September 2011 15:30, Felix Ingram wrote: > I've had another stab at converting our Word template to Context. I've > managed to draw some pretty shapes using MetaPost (and I'd like to add > my +1 for getting some alp

[NTG-context] Table headers and section titles

2011-09-13 Thread Felix Ingram
Hello all, I've had another stab at converting our Word template to Context. I've managed to draw some pretty shapes using MetaPost (and I'd like to add my +1 for getting some alpha channel support for linear_shade) and I got really close to getting my table headings working. I would like to have

Re: [NTG-context] Table Column Width

2011-06-18 Thread Kip Warner
On Sat, 2011-06-18 at 11:27 +0200, Hans Hagen wrote: > replace c by p(4cm) Thanks Hans. I decided to migrate to the natural tables instead. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed

Re: [NTG-context] Table Column Width

2011-06-18 Thread Kip Warner
On Sat, 2011-06-18 at 19:12 +1200, Pontus Lurcock wrote: > Hope this helps, > > Pont Thanks Pontus. Natural tables did the trick. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com signature.asc Description: This is a digitally signed message

Re: [NTG-context] Table Column Width

2011-06-18 Thread Hans Hagen
On 18-6-2011 7:33, Kip Warner wrote: 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 nee

Re: [NTG-context] Table Column Width

2011-06-18 Thread Pontus Lurcock
On Fri 17 Jun 2011, Kip Warner wrote: > 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 need

[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|

Re: [NTG-context] Table of contents

2011-05-23 Thread Wolfgang Schuster
Am 23.05.2011 um 19:18 schrieb Oliver Buerschaper: > Dear all, > > is it possible to have entries in the table of contents not indented at all > whenever they stem from unnumbered headings? For example: > > --- > \starttext > > > \startfrontmatter >\completecontent > >\chapter{Prefa

[NTG-context] Table of contents

2011-05-23 Thread Oliver Buerschaper
Dear all, is it possible to have entries in the table of contents not indented at all whenever they stem from unnumbered headings? For example: --- \starttext \startfrontmatter \completecontent \chapter{Preface} \stopfrontmatter \startbodymatter \part{Test} \chapter{Tuft

[NTG-context] Table of Contents entries without page numbers

2011-03-20 Thread Tom
It is relatively easy to create table of contents entries without chapter numbers, but I can't figure out how to include entries without page numbers. I want to place a title page, 'Appendices,' in the ToC after the last chapter and before the first appendix. I can easily create the page using \tit

Re: [NTG-context] table assignment in the context lua code

2011-03-09 Thread Hans Hagen
On 9-3-2011 3:41, Ulrike Fischer wrote: font-dum.lua contains the following code snippet: local reencodings = { } fonts.enc.reencodings = reencodings local function specialreencode(tfmdata,value) local encoding = value and reencodings[value] end 1. Why

[NTG-context] table assignment in the context lua code

2011-03-09 Thread Ulrike Fischer
font-dum.lua contains the following code snippet: local reencodings = { } fonts.enc.reencodings = reencodings local function specialreencode(tfmdata,value) local encoding = value and reencodings[value] end 1. Why is the assignment fonts.enc.reencodings =

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Daniel Lyons
On Feb 23, 2011, at 11:35 PM, luigi scarso wrote: > On Thu, Feb 24, 2011 at 2:45 AM, Daniel Lyons wrote: >> >> On Feb 23, 2011, at 6:16 PM, Philipp Gesang wrote: >> >>> On 2011-02-23 <17:07:38>, Daniel Lyons wrote: Is there a convenient way to create TaBlE tables from Lua? If so, whe

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread luigi scarso
On Thu, Feb 24, 2011 at 2:45 AM, Daniel Lyons wrote: > > On Feb 23, 2011, at 6:16 PM, Philipp Gesang wrote: > >> On 2011-02-23 <17:07:38>, Daniel Lyons wrote: >>> Is there a convenient way to create TaBlE tables from Lua? If so, >>> where can I read about it? >> >> Good evening, Daniel! >> >> [-1]

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Daniel Lyons
On Feb 23, 2011, at 6:16 PM, Philipp Gesang wrote: > On 2011-02-23 <17:07:38>, Daniel Lyons wrote: >> Is there a convenient way to create TaBlE tables from Lua? If so, >> where can I read about it? > > Good evening, Daniel! > > [-1] Isn’t TaBlE deprecated?

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Philipp Gesang
On 2011-02-23 <17:07:38>, Daniel Lyons wrote: > Is there a convenient way to create TaBlE tables from Lua? If so, > where can I read about it? Good evening, Daniel! [-1] Isn’t TaBlE deprecated? [0] If you aim for convenience, wouldn’t you rather w

Re: [NTG-context] TaBlE from Lua

2011-02-23 Thread Wolfgang Schuster
Am 24.02.2011 um 00:07 schrieb Daniel Lyons: > Is there a convenient way to create TaBlE tables from Lua? \startluacode context.starttable({"|l|l|"}) context.HL() context.NC() context("One") context.NC() context("Two") context.NC() context.AR() context.HL() context.stoptable() \stopluacode Wolf

[NTG-context] TaBlE from Lua

2011-02-23 Thread Daniel Lyons
Is there a convenient way to create TaBlE tables from Lua? If so, where can I read about it? Thanks, -- Daniel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-

Re: [NTG-context] Table of Contents issues

2011-02-13 Thread Wolfgang Schuster
Am 12.02.2011 um 21:29 schrieb Tom: > This works. Now I want to make the chapter titles larger but my experiments > using style have failed. There must be a different way to do this. If I > understand bodyfont correctly, it is used for the text of the document, not > for the titles. In my case, t

Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Jeong Dalyoung
Dear Tom, I had the similar problem. You may consider Andrea's and Wolfgang's suggestion in ntg-context Digest mail, Vol 80, issue 24, 25. "chapter head and placelist" Enjoy ConTeXt. best regards, Dalyoung ___

Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Tom
: Re: [NTG-context] Table of Contents issues Am 12.02.2011 um 18:12 schrieb Tom: > Using a very recent download of TexLive 2010 (MKII) on my PC, my success > generating a useful table of contents has been somewhat limited. > > I can't figure out how to put the title, "Co

Re: [NTG-context] Table of Contents issues

2011-02-12 Thread Wolfgang Schuster
Am 12.02.2011 um 18:12 schrieb Tom: > Using a very recent download of TexLive 2010 (MKII) on my PC, my success > generating a useful table of contents has been somewhat limited. > > I can't figure out how to put the title, "Contents," in the font I desire. > The various parameters I found in the

[NTG-context] Table of Contents issues

2011-02-12 Thread Tom
Using a very recent download of TexLive 2010 (MKII) on my PC, my success generating a useful table of contents has been somewhat limited. I can't figure out how to put the title, "Contents," in the font I desire. The various parameters I found in the documentation affect the chapter titles and the

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

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

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

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

[NTG-context] TABLE in a flow chart

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

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Tom
On Thu, Dec 23, 2010 at 8:36 PM, Tom wrote: > On Thu, Dec 23, 2010 at 4:42 PM, Tom 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 En

Re: [NTG-context] Table resolution too low

2010-12-23 Thread luigi scarso
On Thu, Dec 23, 2010 at 8:36 PM, Tom wrote: > On Thu, Dec 23, 2010 at 4:42 PM, Tom 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

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Tom
On Thu, Dec 23, 2010 at 4:42 PM, Tom 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 Halfback/Tack

Re: [NTG-context] Table resolution too low

2010-12-23 Thread luigi scarso
On Thu, Dec 23, 2010 at 4:42 PM, Tom 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 Halfback/Tack

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Henning Hraban Ramm
Am 2010-12-23 um 16:42 schrieb Tom: Using Tex-Live MKII, I created the .ps with >texexec --dvi TableExample But WHY do you need DVI/PS instead of just PDF? Needing a PDF/X-1a:2001 file, I created the PDF from the .ps file using Adobe Acrobat Distiller 9 No need to go via PS to get PDF/X

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Tom
Am 2010-12-23 um 16:11 schrieb Tom: > I just created a PDF of a bookblock by using MKII to produce > the .ps file > and Adobe Acrobat to create the PDF from it. Why do you make the detour via PS at all? > When preflighting the PDF, all > the photos were found to be 300dpi or greater but

Re: [NTG-context] Table resolution too low

2010-12-23 Thread Henning Hraban Ramm
Am 2010-12-23 um 16:11 schrieb Tom: I just created a PDF of a bookblock by using MKII to produce the .ps file and Adobe Acrobat to create the PDF from it. Why do you make the detour via PS at all? When preflighting the PDF, all the photos were found to be 300dpi or greater but the table c

[NTG-context] Table resolution too low

2010-12-23 Thread Tom
I just created a PDF of a bookblock by using MKII to produce the .ps file and Adobe Acrobat to create the PDF from it. When preflighting the PDF, all the photos were found to be 300dpi or greater but the table created by the following code was flagged at being only 150ppi. I don't see this as a pr

Re: [NTG-context] TABLE help

2010-12-10 Thread Wolfgang Schuster
Am 10.12.2010 um 08:40 schrieb barney schwartz: > In MKIV using TABLE: > > All seems to work well enough UNTIL I use \placetable. I have enormous table > that run pages in length. I need them split0 repeat and that works fine until > I add: > > \placetable[here][tab:five]{Descriptive Statis

Re: [NTG-context] TABLE help

2010-12-10 Thread Hans Hagen
On 10-12-2010 8:40, barney schwartz wrote: Wolfgang, In MKIV using TABLE: All seems to work well enough UNTIL I use \placetable. I have enormous table that run pages in length. I need them split0 repeat and that works fine until I add: \placetable[here][tab:five]{Descriptive Statistics for Sal

Re: [NTG-context] TABLE

2010-12-10 Thread barney schwartz
Wolfgang, > \placetable > {Caption} > {\bTABLE > ... > \eTABLE} BUT I have a Long split=repeat table and when I use {} the table passes the end of the page. If I remove {} it splits properly but then I have no caption. What to do? barney __

[NTG-context] TABLE help

2010-12-10 Thread barney schwartz
Wolfgang, In MKIV using TABLE: All seems to work well enough UNTIL I use \placetable. I have enormous table that run pages in length. I need them split0 repeat and that works fine until I add: \placetable[here][tab:five]{Descriptive Statistics for Salaried Men \& Women} { . . . . . . . . . } I

Re: [NTG-context] TABLE

2010-12-06 Thread Jörg Hagmann
On 12/6/10 3:41 PM, barndog1...@gmail.com wrote: search TABLE on the wiki, it is FULL of info Now it is. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-contex

Re: [NTG-context] TABLE

2010-12-06 Thread Jörg Hagmann
Thank you, Aditya and Wolfgang. I put the information on the wiki where I would have expected it. Jörg On 12/6/10 3:24 PM, Wolfgang Schuster wrote: Am 06.12.2010 um 15:19 schrieb Jörg Hagmann: Trying to use TABLE instead of \starttables... How does one place a TABLE, with a caption? \placet

Re: [NTG-context] TABLE

2010-12-06 Thread barndog1946
Jorg, \placetable should do the trick. I had similar question earlier. search TABLE on the wiki, it is FULL of info barney ___ If your question is of interest to others as well, please add an entry to the Wiki! m

Re: [NTG-context] TABLE

2010-12-06 Thread Wolfgang Schuster
Am 06.12.2010 um 15:19 schrieb Jörg Hagmann: > Trying to use TABLE instead of \starttables... > > How does one place a TABLE, with a caption? \placetable {Caption} {\bTABLE ... \eTABLE} Wolfgang ___

Re: [NTG-context] TABLE

2010-12-06 Thread Aditya Mahajan
On Mon, 6 Dec 2010, Jörg Hagmann wrote: Trying to use TABLE instead of \starttables... How does one place a TABLE, with a caption? \placetable [here,top,bottom] [tab:ref] {caption} {\bTABLE ... \eTABLE} Aditya_

[NTG-context] TABLE

2010-12-06 Thread Jörg Hagmann
Trying to use TABLE instead of \starttables... How does one place a TABLE, with a caption? Thanks, Jörg ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

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 is of inte

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 is pr

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 \b

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 for th

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

2010-11-12 Thread Hans Hagen
On 12-11-2010 7:19, Hans Hagen wrote: \ctxlua{nodes.tasks.enableaction("shipouts","nodes.handlers.backgrounds")} i'll upload a beta where this is not needed - Hans Hagen | PRAGMA ADE

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 \SR

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

2010-11-11 Thread Aditya Mahajan
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 \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cel

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

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 21:01:52 +0100 Manfred Lotz wrote: > On Thu, 11 Nov 2010 20:56:48 +0100 > Herbert Voss wrote: > > > [frame=off] > > We come closer. However, I like to have the horizontal line below the > header row. > > > OK, I found it: \setupTABLE[row][first][bottomframe=on]

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

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 20:58:24 +0100 Wolfgang Schuster wrote: > > Am 11.11.2010 um 20:40 schrieb Manfred Lotz: > > > Thanks for your example which works fine but raises some more > > questions: > > > > 1. Your example creates borders around each cell which I don't want > > to have. Any way to ge

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

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 21:01 schrieb Manfred Lotz: > We come closer. However, I like to have the horizontal line below the > header row. \bTABLE[frame=off] \bTR[bottomframe=on,...] \bTH Celheader 1 \eTH ... Wolfgang _

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

2010-11-11 Thread Manfred Lotz
On Thu, 11 Nov 2010 20:56:48 +0100 Herbert Voss wrote: > [frame=off] We come closer. However, I like to have the horizontal line below the header row. -- Manfred ___ If your question is of interest to others a

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

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 20:40 schrieb Manfred Lotz: > Thanks for your example which works fine but raises some more questions: > > 1. Your example creates borders around each cell which I don't want to > have. Any way to get rid of them? You can disable the border rules with „frame=off“. > 2. It seem

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

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

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

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

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

2010-11-11 Thread Manfred Lotz
Hi Herbert, On Thu, 11 Nov 2010 20:42:17 +0100 Herbert Voss wrote: > > \eTBALEhead there was a typo which I corrected: TBALE --> TABLE -- Manfred ___ If your question is of interest to others as well, plea

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

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

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

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

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

2010-11-11 Thread Manfred Lotz
Hi Wolfgang, On Thu, 11 Nov 2010 20:13:22 +0100 Wolfgang Schuster wrote: > > Am 11.11.2010 um 19:44 schrieb Manfred Lotz: > > > Hi there, > > > > I have s simple table like this: > > > > \starttext > > > > \starttable[|l|l|] > > \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL > > \NC c

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

2010-11-11 Thread Wolfgang Schuster
Am 11.11.2010 um 19:44 schrieb Manfred Lotz: > Hi there, > > I have s simple table like this: > > \starttext > > \starttable[|l|l|] > \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL > \NC cell 11 \NC cell 12 \NC \FR > \NC cell 11 \NC cell 12 \NC \LR > \stoptable > > \stoptext > >

[NTG-context] table background color in first row

2010-11-11 Thread Manfred Lotz
Hi there, I have s simple table like this: \starttext \starttable[|l|l|] \NC \bf Colheader 1 \NC \bf Colheader 2 \NC \SR \HL \NC cell 11 \NC cell 12 \NC \FR \NC cell 11 \NC cell 12 \NC \LR \stoptable \stoptext and like to have a light gray background for the heading row. I found doc

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

2010-09-03 Thread Wolfgang Schuster
Am 02.09.2010 um 22:47 schrieb Jan Pohanka: > Hello, > > is it possible to increase border width of single row (or column) without > affecting "inner" (between cell) borders using TABLE macro? > > On the wiki, there is a solution for wider border around whole table using > additional \framed,

[NTG-context] TABLE border width for row

2010-09-02 Thread Jan Pohanka
Hello, is it possible to increase border width of single row (or column) without affecting "inner" (between cell) borders using TABLE macro? On the wiki, there is a solution for wider border around whole table using additional \framed, would work something similar for single row? \setupT

Re: [NTG-context] table row span question

2010-08-26 Thread Martin Althoff
> Use natural tables, they provide better control about the > cell size and > layout. Wolfgang, thanks! I wasn't aware of them. They don't seem to have found their way into contextref.pdf I could do what I want and more! Below is the solution for my situation. Gleened from http://wiki.context

Re: [NTG-context] table row span question

2010-08-26 Thread Wolfgang Schuster
Am 26.08.10 15:07, schrieb Martin Althoff: As far as I know, this should be written as \DC \DL[3] \DR OK, maybe syntactically better -- actually changes the appearance too. Now the the columns that I do not want with lines have them and vice versa. Kind of the negative of what I need. The u

Re: [NTG-context] table row span question

2010-08-26 Thread Martin Althoff
> As far as I know, this should be written as > > \DC \DL[3] \DR OK, maybe syntactically better -- actually changes the appearance too. Now the the columns that I do not want with lines have them and vice versa. Kind of the negative of what I need. The use of DC DL DR kind of eludes me. Ho

Re: [NTG-context] table row span question

2010-08-25 Thread Hongwen Qiu
于 2010年08月26日 12:42, Martin Althoff 写道: \DC \DL \DL \DL \DR As far as I know, this should be written as \DC \DL[3] \DR __

[NTG-context] table row span question

2010-08-25 Thread Martin Althoff
I am having trouble working out a solution for spanning some rows of tables. The instructions at http://wiki.contextgarden.net/Table got me so far as the example shows. The example is a timetable excerpt. So I want horizontal lines everywhere, except on Mo, Di, Mi (Monday Tuesday Wednesday) wh

Re: [NTG-context] TABLE in Header ?

2010-07-19 Thread Hans Hagen
On 18-7-2010 4:14, Vnpenguin wrote: Hi, It's possible to put TABLE within header ? I'm looking for an example in Wiki but I can not found yet. sure, best put the table in a buffer and then call that buffer (actually, your page can be a table itself ... see example in page-plg.*) Hans --

Re: [NTG-context] TABLE in Header ?

2010-07-18 Thread Vnpenguin
On Sun, Jul 18, 2010 at 16:38, Wolfgang Schuster wrote: >  Am 18.07.10 16:14, schrieb Vnpenguin: >> >> Hi, >> It's possible to put TABLE within header ? I'm looking for an example >> in Wiki but I can not found yet. > > \startsetups[header] > \bTABLE > ... > \eTABLE > \stopsetups > > \setupheadert

Re: [NTG-context] TABLE in Header ?

2010-07-18 Thread Wolfgang Schuster
Am 18.07.10 16:14, schrieb Vnpenguin: Hi, It's possible to put TABLE within header ? I'm looking for an example in Wiki but I can not found yet. \startsetups[header] \bTABLE ... \eTABLE \stopsetups \setupheadertexts[{\setups[header]}] but you should be careful with this because natural table

[NTG-context] TABLE in Header ?

2010-07-18 Thread Vnpenguin
Hi, It's possible to put TABLE within header ? I'm looking for an example in Wiki but I can not found yet. Thanks in advance, ___ If your question is of interest to others as well, please add an entry to the Wiki! ma

Re: [NTG-context] Table head

2010-06-14 Thread Wolfgang Schuster
Am 14.06.10 15:38, schrieb Vyatcheslav Yatskovsky: Thank you again, but is there a way for the caption to appear ABOVE the table? \setupcaption[table][location=top] Wolfgang ___ If your question is of interest to

Re: [NTG-context] Table head

2010-06-14 Thread Vyatcheslav Yatskovsky
On 14.06.2010 16:36, Wolfgang Schuster wrote: Am 14.06.10 15:32, schrieb Vyatcheslav Yatskovsky: On 14.06.2010 16:28, Wolfgang Schuster wrote: \setupcaption[table][align=left] % align=flushleft? \placetable {Caption} {\bTABLE...\eTABLE} Thank you, but then table is not splitted across pages.

Re: [NTG-context] Table head

2010-06-14 Thread Wolfgang Schuster
Am 14.06.10 15:32, schrieb Vyatcheslav Yatskovsky: On 14.06.2010 16:28, Wolfgang Schuster wrote: \setupcaption[table][align=left] % align=flushleft? \placetable {Caption} {\bTABLE...\eTABLE} Thank you, but then table is not splitted across pages. \placetable [split] {Caption} {

Re: [NTG-context] Table head

2010-06-14 Thread Vyatcheslav Yatskovsky
On 14.06.2010 16:28, Wolfgang Schuster wrote: \setupcaption[table][align=left] % align=flushleft? \placetable {Caption} {\bTABLE...\eTABLE} Thank you, but then table is not splitted across pages. -- Best Regards, Vyatcheslav Yatskovsky __

Re: [NTG-context] Table head

2010-06-14 Thread Wolfgang Schuster
Am 14.06.10 15:18, schrieb Vyatcheslav Yatskovsky: Hi again, I'm prolific today ) Please, advise how to add Table head. Now I simulate it with \startalignment[left] Table 1 \stopalignment \bTABLE... \setupcaption[table][align=left] % align=flushleft? \placetable {Caption} {\bTABLE...\e

[NTG-context] Table head

2010-06-14 Thread Vyatcheslav Yatskovsky
Hi again, I'm prolific today ) Please, advise how to add Table head. Now I simulate it with \startalignment[left] Table 1 \stopalignment \bTABLE... Vyatheslav ___ If your question is of interest to others as well,

Re: [NTG-context] table bug

2010-05-23 Thread Hans Hagen
On 23-5-2010 12:30, Taco Hoekwater wrote: Wolfgang Schuster wrote: Hi, in the last current the table environment is broken. \starttext \starttable[|l|] \NC text \NC\NR \stoptable \stoptext That should have been the beta, because the problem is the result of some extra \unexpanded prefixes H

Re: [NTG-context] table bug

2010-05-23 Thread Taco Hoekwater
Wolfgang Schuster wrote: Hi, in the last current the table environment is broken. \starttext \starttable[|l|] \NC text \NC\NR \stoptable \stoptext That should have been the beta, because the problem is the result of some extra \unexpanded prefixes Hans added in the beta. I removed a few from

Re: [NTG-context] table bug

2010-05-22 Thread Marius
And something is wrong with fonts too, I get too small size of fonts with these commands. The ConTeXt version from yesterday works as expected. \definetypeface [winfonts] [rm] [specserif] [Times New Roman] [default] \definetypeface [winfonts] [ss] [specsans] [Arial] [default] \definetyp

[NTG-context] table bug

2010-05-22 Thread Wolfgang Schuster
Hi, in the last current the table environment is broken. \starttext \starttable[|l|] \NC text \NC\NR \stoptable \stoptext ! Misplaced \noalign. \TABLEnoalign ->\noalign \bgroup \let \noalign \relax \let \next = \insertTABLEtail ->\TABLEnoalign

Re: [NTG-context] TABLE in TABLE

2010-05-09 Thread Xan
Thanks for the technical and simple explanation Xan. En/na Wolfgang Schuster ha escrit: Am 09.05.10 14:37, schrieb Xan: Thanks all of you. In other kind of ideas: is it a bug? Why we need {} for embed tables and not for embed itemizes in itemizes for example? It has to do with the way how T

Re: [NTG-context] TABLE in TABLE

2010-05-09 Thread Wolfgang Schuster
Am 09.05.10 14:37, schrieb Xan: Thanks all of you. In other kind of ideas: is it a bug? Why we need {} for embed tables and not for embed itemizes in itemizes for example? It has to do with the way how TABLE is implemented, each cell is defined as \def\bTD#1\eTD{...} this means when TeX sees

Re: [NTG-context] TABLE in TABLE

2010-05-09 Thread Xan
Thanks all of you. In other kind of ideas: is it a bug? Why we need {} for embed tables and not for embed itemizes in itemizes for example? Please CCme Xan. ___ If your question is of interest to others as well, ple

Re: [NTG-context] TABLE in TABLE

2010-05-09 Thread Peter Münster
On Sun, May 09 2010, Xan wrote: > Is it possible to put a table in another table? Yes: \starttext \bTABLE \bTR \bTD {\bTABLE \bTR \bTD bla \eTD \eTR \eTABLE} \eTD \eTR \eTABLE \stoptext Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/

Re: [NTG-context] TABLE in TABLE

2010-05-09 Thread Taco Hoekwater
Xan wrote: Hi, Is it possible to put a table in another table? IIRC, putting the nested table in a buffer should work, but maybe it is good enough to just add a brace group around it: \bTD { \bTABLE ... \eTABLE } \eTD Best wishes, Taco _

[NTG-context] TABLE in TABLE

2010-05-09 Thread Xan
Hi, Is it possible to put a table in another table? Example: this code gives me an error: ! Argument of \parseTD has an extra }. \par } \handleTBLcell ...\bTBLCELL \TBLcharalign {#2}{#4} \eTBLCELL \inTBLcell {#1}

Re: [NTG-context] table of contents

2010-04-30 Thread Wolfgang Schuster
Am 30.04.10 10:41, schrieb Marius: I redone your example, see attached files. Is it ok to redefine combined list like I did? And how to I do that everything that precedes the table of contents does not appear in the table of contents? \setuphead[title][incrementnumber=list] \setuphead[sub

Re: [NTG-context] table of contents

2010-04-30 Thread Marius
I redone your example, see attached files. Is it ok to redefine combined list like I did? And how to I do that everything that precedes the table of contents does not appear in the table of contents? Thanks, Marius On Fri, Apr 30, 2010 at 9:55 AM, Wolfgang Schuster wrote: > Am 29.04.10 22:17,

Re: [NTG-context] table of contents

2010-04-29 Thread Wolfgang Schuster
Am 29.04.10 22:17, schrieb Marius: One more question regarding the table of contents. I have looked in the wiki and manuals and can't figure out how to enable entries for \title, \subject, \subsubject ... in the table of contents? This works in MkII and MkIV: \setuphead[subject][incrementn

Re: [NTG-context] table of contents

2010-04-29 Thread Marius
One more question regarding the table of contents. I have looked in the wiki and manuals and can't figure out how to enable entries for \title, \subject, \subsubject ... in the table of contents? Thanks, Marius ___ If

Re: [NTG-context] table of contents

2010-04-29 Thread Marius
Thank you, Wolfgang for the example. I can't believe this is so simple in ConTeXt. I added this example to wiki. http://wiki.contextgarden.net/Table_of_Contents On Thu, Apr 29, 2010 at 1:19 PM, Wolfgang Schuster wrote: > Am 29.04.10 12:12, schrieb Marius: >> >> Hello, >> >> There must be two tabl

Re: [NTG-context] table of contents

2010-04-29 Thread Wolfgang Schuster
Am 29.04.10 12:12, schrieb Marius: Hello, There must be two tables of contents in my document, one in a native language and the other in english. In LaTeX I made new commands \enchapter, \ensection, etc., which I use just after the \chapter or \section command. How do I make such commands in Co

[NTG-context] table of contents

2010-04-29 Thread Marius
Hello, There must be two tables of contents in my document, one in a native language and the other in english. In LaTeX I made new commands \enchapter, \ensection, etc., which I use just after the \chapter or \section command. How do I make such commands in ConTeXt, so that these commands just in

<    1   2   3   4   5   6   >