[NTG-context] splitting tables from csv with first row as header

2021-06-23 Thread Jan U. Hasecke
Hi all, I have this sample: \usemodule[database] \setuppapersize [A6] \setupTABLE [split=yes, header=repeat] \defineseparatedlist [test] [separator={;}, % tab before=\bTABLE,after=\eTABLE, first=\bTR,last=\eTR, left=\bTD,right=\eTD] \starttext

[NTG-context] Natural tables framecolor=white regression

2021-06-20 Thread Christoph Reller
Hi, Consider the following MWE: \starttext \setupTABLE[ rulethickness=5pt, framecolor=white, %red, background=color, backgroundcolor=gray, frame=off] \setupTABLE[1][2][foregroundcolor=white, topframe=on] \setupTABLE[r][2][topframe=on] \bTABLE[setups=table:color] \bTR \bTD One

Re: [NTG-context] Natural tables | 2 tables in a page seem to interfere with each other?

2021-06-16 Thread Ramkumar KB
Wolfgang, Thank you very much for the information. Yes, this was the trick I was looking for. I haved added this information in the Wiki - https://wiki.contextgarden.net/TABLE#Settings_for_multiple_TABLEs_in_a_single_page Hope it is accurate enough. Thank you once again! -Ramkumar On Wed,

Re: [NTG-context] Natural tables | 2 tables in a page seem to interfere with each other?

2021-06-16 Thread Wolfgang Schuster
Ramkumar KB schrieb am 16.06.2021 um 17:33: Hi, I have 2 "natural tables" in one page and it appears that I have to (manually) reset the columns in the second table, for those columns that I had set specific width. See the example below - Maybe I am missing a trick or two - or this indeed

[NTG-context] Natural tables | 2 tables in a page seem to interfere with each other?

2021-06-16 Thread Ramkumar KB
Hi, I have 2 "natural tables" in one page and it appears that I have to (manually) reset the columns in the second table, for those columns that I had set specific width. See the example below - Maybe I am missing a trick or two - or this indeed is the desired behavior? Thank you very much.

Re: [NTG-context] Natural Tables: spaceinbetween not working?

2020-10-01 Thread Denis Maier
Am 30.09.2020 um 22:03 schrieb Wolfgang Schuster: Denis Maier schrieb am 30.09.2020 um 21:54: Hi, spaceinbetween seems to have no effect in this example: === \setupTABLE [spaceinbetween=25pt,split=yes] A few options need [start] when you set them before \bTABLE. \setupTABLE

Re: [NTG-context] Natural Tables: spaceinbetween not working?

2020-09-30 Thread Wolfgang Schuster
Denis Maier schrieb am 30.09.2020 um 21:54: Hi, spaceinbetween seems to have no effect in this example: === \setupTABLE [spaceinbetween=25pt,split=yes] A few options need [start] when you set them before \bTABLE. \setupTABLE [split=yes] \setupTABLE [start]

[NTG-context] Natural Tables: spaceinbetween not working?

2020-09-30 Thread Denis Maier
Hi, spaceinbetween seems to have no effect in this example: === \setupTABLE [spaceinbetween=25pt,split=yes] \starttext \bTABLE \dorecurse{50}{\bTR \bTD table cell \eTD \bTD table cell \eTD \eTR} \eTABLE \stoptext == What am I missing? Best, Denis

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Hans Hagen
On 9/21/2020 4:38 PM, Denis Maier wrote: Hi, I'm a bit confused, but this here won't compile: \startxmlsetups xml:table   \startxtable     \startxrow   \startxcell one \stopxcell   \startxcell two \stopxcell     \stopxrow   \stopxtable \stopxmlsetups when used this way you

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Denis Maier
Thanks everyone. I'm on the way now. Best, Denis ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Denis Maier
Am 21.09.2020 um 16:50 schrieb Wolfgang Schuster: Denis Maier schrieb am 21.09.2020 um 16:38: Hi, I'm a bit confused, but this here won't compile: [...] \startxmlsetups xml:table     \startembeddedxtable     \startxrow     ...     \stopxrow     \stopembeddedxtable

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Thomas A. Schmitz
On 9/21/20 4:38 PM, Denis Maier wrote: Hi, I'm a bit confused, but this here won't compile: xtables manual, chapter 13. Thomas ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Wolfgang Schuster
Denis Maier schrieb am 21.09.2020 um 16:38: Hi, I'm a bit confused, but this here won't compile: = \startbuffer[test] Test \stopbuffer \startxmlsetups xml:test     \xmlsetsetup{#1}{*}{-}     \xmlsetsetup{#1}{article}{xml:*}    

Re: [NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Taco Hoekwater
> On 21 Sep 2020, at 16:38, Denis Maier wrote: > > Hi, > > I'm a bit confused, but this here won't compile: > > = > > \startxmlsetups xml:table > \startxtable > \startxrow > \startxcell one \stopxcell > \startxcell two \stopxcell > \stopxrow >

[NTG-context] Extreme tables and XML conflict?

2020-09-21 Thread Denis Maier
Hi, I'm a bit confused, but this here won't compile: = \startbuffer[test] Test \stopbuffer \startxmlsetups xml:test     \xmlsetsetup{#1}{*}{-}     \xmlsetsetup{#1}{article}{xml:*}     \xmlsetsetup{#1}{table[@content-type!='parallel']}{xml:table}     \stopxmlsetups

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

2019-05-16 Thread Felipe de Jesús Molina Bravo
Ok, thanks Otaredsee you! El jue., 16 may. 2019 a las 1:56, Otared Kavian () escribió: > > > > On 15 May 2019, at 21:28, Felipe de Jesús Molina Bravo < > fjmolinabr...@gmail.com> wrote: > > OFF-TOPIC: > > I have a problem with the mailing list; the posts that I start I do not > receive them

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

2019-05-16 Thread Otared Kavian
> On 15 May 2019, at 21:28, Felipe de Jesús Molina Bravo > wrote: > OFF-TOPIC: > I have a problem with the mailing list; the posts that I start I do not > receive them as well as the answers to these posts...why? This is a Gmail « feature »… but your message is actually sent to the list (as

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

2019-05-15 Thread Felipe de Jesús Molina Bravo
>*> generate my pdf with it new version *>*> *>*> How wan resolve this problem? please guide me!! *>broad effectively uses hsize so 39 times the hsize is larger than tex >likes dealing with ... can't you use fit instead? ok, i tried with it. Thanks! :) OFF-TOPIC: I have a problem with the

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

2019-05-10 Thread Hans Hagen
On 5/10/2019 8:22 PM, Felipe de Jesús Molina Bravo wrote: Hi! I have a table with 39 columns (the file is attached). With the context version:     ConTeXt Process Management 1.01     current version: 2017.05.15 21:48 I don't have any problem; but with the newer version:     ConTeXt

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

2019-05-10 Thread Felipe de Jesús Molina Bravo
Hi! I have a table with 39 columns (the file is attached). With the context version: ConTeXt Process Management 1.01 current version: 2017.05.15 21:48 I don't have any problem; but with the newer version: ConTeXt Process Management 1.02 current version: 2019.04.29 08:52 show the

Re: [NTG-context] Construct tables column after column

2018-09-10 Thread Henri Menke
On 09/10/2018 10:47 PM, Jan Willem Flamma wrote: > Dear list members, > > Table are constructed row after row like in the code below: > > Building up a table row after row > \par > \bTABLE > \bTR > \bTC Row 1, Column 1 \eTC > \bTC Row 1, Column 2 \eTC > \eTR > \bTR >

Re: [NTG-context] Construct tables column after column

2018-09-10 Thread Taco Hoekwater
Hi, This is a funny bit of synchronicity. I made exactly the same request for extreme tables (\startxtable) during the ConTeXt meeting. Would xtables work for you as well? It would be easier for Hans to set it up in that because a) bTABLE is ‘like html’ which would not allow a swap like that and

[NTG-context] Construct tables column after column

2018-09-10 Thread Jan Willem Flamma
Dear list members, Table are constructed row after row like in the code below: Building up a table row after row \par \bTABLE \bTR \bTC Row 1, Column 1 \eTC \bTC Row 1, Column 2 \eTC \eTR \bTR \bTC Row 2, Column 1 \eTC \bTC Row 2, Column 2 \eTC

Re: [NTG-context] natural tables to extreme tables

2018-02-28 Thread Thomas A. Schmitz
On 02/28/2018 11:35 PM, Hans Hagen wrote: page 26 of the xtable manual ... you define tagged settings and can use these tag for cells and rows OK Hans, I see that, thanks a lot! But it still means I have to tag the cells/rows? As always, I'm playing with xml and Lua and am trying to write

Re: [NTG-context] natural tables to extreme tables

2018-02-28 Thread Hans Hagen
On 2/28/2018 10:28 PM, Thomas A. Schmitz wrote: Hi, for my experimenting with tables: is there a way to set up individual columns in xtables? Maybe I'm thick tonight, but I couldn't find anything in the manual or the source. If I have this setup \setupTABLE [frame=on,split=repeat]

[NTG-context] natural tables to extreme tables

2018-02-28 Thread Thomas A. Schmitz
Hi, for my experimenting with tables: is there a way to set up individual columns in xtables? Maybe I'm thick tonight, but I couldn't find anything in the manual or the source. If I have this setup \setupTABLE [frame=on,split=repeat] \setupTABLE [column] [1] [width=0.7cm,align=left]

[NTG-context] extreme tables cell spanning interference: a bug?

2017-11-25 Thread mf
Dear list, i've found that a cell spanning across multiple rows in extreme tables interferes with a cell spanning across multiple columns on a common row. Ok, if that is not so clear, try this: \starttext The first cell spans across 3 rows. The cell in the last row

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Hans Hagen
g list for ConTeXt users <mailto:ntg-context@ntg.nl> *Objet :*[NTG-context] lua tables - how do you cope? This is less a specific question about ConTeXt than a hope for good advice: I’m maltreating my xml files with a mixture of TeX and Lua. I want to extract and typeset information in dif

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Hans Hagen
On 7/30/2016 11:01 PM, Schmitz Thomas A. wrote: Thank you, but this is not what I’m looking for. I know how to sort a table, and I know the Lua table tutorial (the Lua wiki is, IMHO, really terrible and disorganized). I have to construct deeply nested tables and sometimes lose track of what

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Schmitz Thomas A.
> On 30 Jul 2016, at 23:46, Lukas Prochazka wrote: > > Hello Thomas, > > here is my "dump()" I've been using for several years: Arthur, Lukas, these are both great and very helpful, thanks a lot! I feel bad for not knowing table.serialize (which can even be used with the

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Lukas Prochazka
le, of course... Best regards, Lukas - Original Message - From: Schmitz Thomas A. [mailto:thomas.schm...@uni-bonn.de] To: mailing list for ConTeXt users [mailto:ntg-context@ntg.nl] Sent: Sat, 30 Jul 2016 23:01:29 +0100 Subject: Re: [NTG-context] lua tables - how do you cope? > Tha

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Arthur Reutenauer
On Sat, Jul 30, 2016 at 11:01:29PM +0200, Schmitz Thomas A. wrote: > Thank you, but this is not what I’m looking for. I know how to sort a table, > and I know the Lua table tutorial (the Lua wiki is, IMHO, really terrible and > disorganized). I have to construct deeply nested tables and

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Schmitz Thomas A.
Thank you, but this is not what I’m looking for. I know how to sort a table, and I know the Lua table tutorial (the Lua wiki is, IMHO, really terrible and disorganized). I have to construct deeply nested tables and sometimes lose track of what is at what level of my table, so I was wondering if

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Wolfgang Schuster
Joseph Canedo 30. Juli 2016 um 15:04 If the requirement is to iterate on a table having the keys, values sorted by key (assuming the keys can be sorted), there are ways to do this. Please see http://lua-users.org/wiki/SortedIteration for an example (this just

Re: [NTG-context] lua tables - how do you cope?

2016-07-30 Thread Joseph Canedo
If the requirement is to iterate on a table having the keys, values sorted by key (assuming the keys can be sorted), there are ways to do this. Please see http://lua-users.org/wiki/SortedIteration for an example (this just replaces pairs(t) with orderedPairs(t)). Hope this helps Joseph De :

[NTG-context] lua tables - how do you cope?

2016-07-30 Thread Schmitz Thomas A.
This is less a specific question about ConTeXt than a hope for good advice: I’m maltreating my xml files with a mixture of TeX and Lua. I want to extract and typeset information in different forms, so I first collect everything in lua tables, rearrange and order these tables and typeset the

Re: [NTG-context] natural tables and columndistance/spaceinbetween

2015-12-02 Thread Alan BRASLAU
On Mon, 30 Nov 2015 13:23:28 +0100 Wolfgang Schuster wrote: > You can use the boffset key to set a different offset value for the > bottom of the cell. > > The correct the position of the frame at the bottom you can use > metapost to draw the frame as background

Re: [NTG-context] natural tables and columndistance/spaceinbetween

2015-12-02 Thread Wolfgang Schuster
Alan BRASLAU 2. Dezember 2015 um 17:25 On Mon, 30 Nov 2015 13:23:28 +0100 Thanks Wolfgang. boffset (or toffset) works to offset the text in an individual cell. But when using background=color,backgroundcolor=lightgray (for example), this offset of course gets

Re: [NTG-context] natural tables and columndistance/spaceinbetween

2015-11-30 Thread Wolfgang Schuster
Alan BRASLAU 26. November 2015 um 02:44 In natural tables http://wiki.contextgarden.net/TABLE the parameters columndistance=dimension, and spaceinbetween=dimension, will set the gaps between columns and rows, respectively. Is there some way of specifying row gaps

[NTG-context] natural tables and columndistance/spaceinbetween

2015-11-25 Thread Alan BRASLAU
In natural tables http://wiki.contextgarden.net/TABLE the parameters columndistance=dimension, and spaceinbetween=dimension, will set the gaps between columns and rows, respectively. Is there some way of specifying row gaps for specific rows? For example, say that I only want a gap after the

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-19 Thread Christoph Reller
On 11/5/2014 21:50 PM, Christoph Reller wrote: On 11/5/2014 10:28 AM, Hans Hagen wrote: On 11/5/2014 8:09 AM, Christoph Reller wrote: Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop:

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-09 Thread Keith Schultz
hello all, i do not have nfts, but there are assume users that do not live in western countries and use characters that are not in ascii!! just a thought. regards Keith. Am 07.11.2014 um 14:44 schrieb Christoph Reller christoph.rel...@gmail.com: On Fri, 7 Nov 2014 09:11:09 +0100

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-07 Thread Alan BRASLAU
On Thu, 6 Nov 2014 16:15:36 +0100 Christoph Reller christoph.rel...@gmail.com wrote: Of the above characters the following are disallowed on NTFS Not everyone uses NTFS. ___ If your question is of interest to others

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-07 Thread Christoph Reller
On Fri, 7 Nov 2014 09:11:09 +0100 Alan Braslau alan.bras...@cea.fr wrote On Thu, 6 Nov 2014 16:15:36 +0100 Christoph Reller christoph.rel...@gmail.com wrote: Of the above characters the following are disallowed on NTFS Not everyone uses NTFS. Another reason for not making a file-name

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-06 Thread Hans Hagen
On 11/5/2014 9:50 PM, Christoph Reller wrote: On 11/5/2014 10:28 AM, Hans Hagen wrote: On 11/5/2014 8:09 AM, Christoph Reller wrote: Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop:

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-06 Thread Christoph Reller
On 11/6/2014 9:58 AM, Hans Hagen wrote: we could have a specific filename cleaner but of course there will be users who have paths that have spaces after the \ ... okay, we could just not support evil paths like that Hans A rigorous filename cleaner would have to treat a huge number of

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-05 Thread Hans Hagen
On 11/5/2014 8:09 AM, Christoph Reller wrote: On 11/2/2014 2:27 PM, Christoph Reller wrote: Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-05 Thread Christoph Reller
On 11/5/2014 10:28 AM, Hans Hagen wrote: On 11/5/2014 8:09 AM, Christoph Reller wrote: Thank you very much Hans! Maybe you could tell me why the following still produces a space in front of the full stop: \definetype[ctype][compact=absolute] \starttext \bTABLE \bTR \bTD

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-04 Thread Christoph Reller
On 11/2/2014 2:27 PM, Christoph Reller wrote: Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext it's the

[NTG-context] Natural tables introduces spaces in \type

2014-11-03 Thread Christoph Reller
On 11/2/2014 2:54 PM, Hans Hagen wrote: On 11/2/2014 2:27 PM, Christoph Reller wrote: Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space

[NTG-context] Natural tables introduces spaces in \type

2014-11-02 Thread Christoph Reller
Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext Kind Regards, Christoph

Re: [NTG-context] Natural tables introduces spaces in \type

2014-11-02 Thread Hans Hagen
On 11/2/2014 2:27 PM, Christoph Reller wrote: Hi, Why does \type{...} introduce spaces when used inside natural tables? MWE: \starttext \type{\test\test} %- no space introduced \bTABLE \bTR \bTD \typ{\test\test} \eTD \eTR %- space introduced \eTABLE \stoptext it's the way tex works (when

[NTG-context] Natural Tables

2014-05-12 Thread hwitloc
What is the difference between TD and TC in \bTD, \bTC , \eTD, and \eTC ? \starttext \bTABLE \bTR \bTC one \eTC \bTC two \eTC \bTC three \eTC \eTR \bTR \bTD one \eTD \bTD two \eTD \bTD three \eTD \eTR \eTABLE \stoptext

Re: [NTG-context] Natural Tables

2014-05-12 Thread Mikael P. Sundqvist
The only place in the source where bTC is mentioned is in tabl-ntb.mkiv (and tabl-ntb.mkii), which says says \unexpanded\def\bTC#1\eTC{\bTD#1\eTD} \let\eTC\relax \unexpanded\def\bTX#1\eTX{\bTD#1\eTD} \let\eTX\relax \unexpanded\def\bTY#1\eTY{\bTR#1\eTR} \let\eTY\relax I guess that means \bTC and

Re: [NTG-context] Natural Tables

2014-05-12 Thread Wolfgang Schuster
Am 12.05.2014 um 09:42 schrieb hwit...@gmail.com: What is the difference between TD and TC in \bTD, \bTC , \eTD, and \eTC ? \starttext \bTABLE \bTR \bTC one \eTC \bTC two \eTC \bTC three \eTC \eTR \bTR \bTD one \eTD \bTD two \eTD \bTD three

Re: [NTG-context] Natural Tables

2014-05-12 Thread hwitloc
Thank you Mikael and also Wolfgang for the response to my query. Regards, Whitloc Mikael P. Sundqvist mic...@gmail.com wrote: The only place in the source where bTC is mentioned is in tabl-ntb.mkiv (and tabl-ntb.mkii), which says says \unexpanded\def\bTC#1\eTC{\bTD#1\eTD}

[NTG-context] long tables in multicolumns / Interactive cross-referencing

2013-01-31 Thread Thomas De Maet
Hi ! I'm currently creating a book in context - it's a tremendous project ! - and I have a couple of questions: Firstly, I'm interested in the multicolumns table issue raised in http://wiki.contextgarden.net/TABLE. Do you have an idea of a date for a fix ? Alternatively, it's quite a huge

Re: [NTG-context] long tables in multicolumns / Interactive cross-referencing

2013-01-31 Thread Aditya Mahajan
On Thu, 31 Jan 2013, Thomas De Maet wrote: Firstly, I'm interested in the multicolumns table issue raised in http://wiki.contextgarden.net/TABLE. Do you have an idea of a date for a fix ? Alternatively, it's quite a huge work to skip portions of tables at the good size, especially when an

Re: [NTG-context] Natural Tables in multiple columns

2012-12-25 Thread Wolfgang Schuster
Am 25.12.2012 um 05:49 schrieb Jannik Voges forumj...@icloud.com: Hello ConTeXt-Users, I get a strange behavior (latest beta), when I try to typeset natural tables and normal text in multiple columns. When I type normal text into a column and add a natural table which total length is

[NTG-context] Natural Tables in multiple columns

2012-12-24 Thread Jannik Voges
Hello ConTeXt-Users, I get a strange behavior (latest beta), when I try to typeset natural tables and normal text in multiple columns. When I type normal text into a column and add a natural table which total length is small enough to fit into the column, the table is placed into the column

Re: [NTG-context] making tables with lua

2012-10-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, my experience is that the best way is to create the table first, then to call Lua function to typeset the table. You may choose whether the table will be typeset with 'tabulate' family functions or 'TABLE' family; I may recommend you the latter as it gives you much more control of the

Re: [NTG-context] making tables with lua

2012-10-17 Thread Hans Hagen
On 17-10-2012 03:13, Jeong Dal wrote: Dear all, I used code which generates the table as following: \startluacode local NC, NR, HL, VL = context.NC, context.NR, context.HL, context.VL context.starttabulate { |c|c|c|c|c|c|c|c|c|c| } HL() for i=1, 6, 1 do for j=1,10 ,1 do

Re: [NTG-context] making tables with lua

2012-10-17 Thread Jeong Dal
Dear Proch?zka Luk?? Ing and Hans, Thank you for the reply. It works fine. I modify your code to write a matrix and it also works too. \startformula \startluacode local NC, NR = context.NC, context.NR local t = {{1,0,3,4},{0,2,-2,5},{0,0,1,2}} context.startmatrix() --{left={\left

Re: [NTG-context] making tables with lua

2012-10-17 Thread Wolfgang Schuster
Am 17.10.2012 um 10:34 schrieb Jeong Dal hak...@me.com: Dear Proch?zka Luk?? Ing and Hans, Thank you for the reply. It works fine. I modify your code to write a matrix and it also works too. \startformula \startluacode local NC, NR = context.NC, context.NR local t =

Re: [NTG-context] making tables with lua

2012-10-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
On Wed, 17 Oct 2012 10:34:22 +0200, Jeong Dal hak...@me.com wrote: Dear Proch?zka Luk?? Ing and Hans, Thank you for the reply. It works fine. I modify your code to write a matrix and it also works too. \startformula \startluacode local NC, NR = context.NC, context.NR local t =

Re: [NTG-context] making tables with lua

2012-10-17 Thread Jeong Dal
Dear Wolfgang and Proch?zka Luk?? Ing, Thank you for the solution. It works nicely. It is so convenient to write many matrices. Best regards, Dalyoung ___ If your question is of interest to others as well, please

[NTG-context] making tables with lua

2012-10-16 Thread Jeong Dal
Dear all, I used code which generates the table as following: \startluacode local NC, NR, HL, VL = context.NC, context.NR, context.HL, context.VL context.starttabulate { |c|c|c|c|c|c|c|c|c|c| } HL() for i=1, 6, 1 do for j=1,10 ,1 do k= i % 3 if k==1 then

Re: [NTG-context] Natural Tables---Including a bit of cell style in a \define

2011-11-23 Thread Hans Hagen
On 22-11-2011 13:08, Pavneet Arora wrote: I am creating documentation labeling the circuits of electrical and network panels for a project of mine. Enclosed is a minimal example. What I would like is to define two macros: \unused and \spare (\unused referring to a circuit with no breaker

Re: [NTG-context] Natural Tables---Including a bit of cell

2011-11-23 Thread Pavneet Arora
want are two double height rows similar to circuits 2 and 4 but for the entire row. advTHANKSance Message: 1 Date: Wed, 23 Nov 2011 09:38:51 +0100 From: Hans Hagenpra...@wxs.nl To: pavneet_ar...@waroc.com,mailing list for ConTeXt users ntg-context@ntg.nl Subject: Re: [NTG-context

Re: [NTG-context] Natural Tables---Including a bit of cell

2011-11-23 Thread Aditya Mahajan
On Wed, 23 Nov 2011, Pavneet Arora wrote: Hans, This didn't quite achieve what I was looking for. I was hoping for the formatting of circuit 4 in the output file test.pdf, rather than what was produced for circuit 8. I modified the definition of \spare so that by default a 15A breaker is

[NTG-context] Natural Tables---Including a bit of cell style in a \define

2011-11-22 Thread Pavneet Arora
I am creating documentation labeling the circuits of electrical and network panels for a project of mine. Enclosed is a minimal example. What I would like is to define two macros: \unused and \spare (\unused referring to a circuit with no breaker installed, while \spare referring to a

Re: [NTG-context] xtreme tables repeating header

2011-11-07 Thread Patrick Gundlach
Hello Hans, quick hack: \placefigure[split,fixed,none]{}{...} currently only the the float related splitter will check the available space, so in your case you have a regular flush with skips between the rows and a header/footer only Works fine, thanks! Patrick

[NTG-context] Xtreme tables and borders

2011-11-02 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, do xtables have (or is it intended to have in the future) support of various borders of row or cells? - Personally, most often I'd would use double line, thick or dashed border bellow table head or a row, often also a thick border on the right side of the leftmost column: ASCII art:

Re: [NTG-context] Xtreme tables and borders

2011-11-02 Thread Hans Hagen
On 2-11-2011 09:20, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, do xtables have (or is it intended to have in the future) support of various borders of row or cells? - Personally, most often I'd would use double line, thick or dashed border bellow table head or a row, often also a

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Patrick Gundlach
Hello, any news on this subject? Thanks! Patrick Am 29.10.2011 um 12:41 schrieb Patrick Gundlach: Hi, I can't get the repeating header to work with the new extreme tables (the new column A should be on the second page). What is the error here? Thanks Patrick

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Hans Hagen
On 1-11-2011 13:54, Patrick Gundlach wrote: Hello, any news on this subject? Thanks! later, busy and away now Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH

Re: [NTG-context] xtreme tables repeating header

2011-11-01 Thread Hans Hagen
On 29-10-2011 12:41, Patrick Gundlach wrote: \setuppapersize [a5][a5] \starttext \setupxtable [width=.5\textwidth, split=yes, header=repeat, footer=repeat] \startxtable \startxtablehead \startxrow \startxcell Column A \stopxcell \startxcell Column B \stopxcell

[NTG-context] xtreme tables repeating header

2011-10-29 Thread Patrick Gundlach
Hi, I can't get the repeating header to work with the new extreme tables (the new column A should be on the second page). What is the error here? Thanks Patrick \setuppapersize [a5][a5] \starttext \setupxtable [width=.5\textwidth,

Re: [NTG-context] cals tables - UNSOLVED

2011-03-19 Thread R. Ermers
Dear All, After having succeeded with Aditya's kind help to typeset a table file in a separate pdf, I have been trying to typeset the cals tables in my docbook xml file in two ways: A. directly in the document. The table is in //section/cals:table. The cals module is loaded at the beginning

Re: [NTG-context] cals tables - UNSOLVED

2011-03-18 Thread R. Ermers
Dear Aditya, thanks greatly for your advice! It works! I now can influence how my tables look like. Do you think it is possible to typeset an xml file that contains cals:table, or do I need to typeset the tables separately and then import the separate pdf files? Thanks again, Robert Op

Re: [NTG-context] cals tables - UNSOLVED

2011-03-17 Thread R. Ermers
Dear All, I am still trying to typeset cals tables. I have 1. an environment document with instructions. 2. an xml docbook file containing cals tables Note that the original cals tables (docbook standard) use table, tgroup, etc. but for ConTeXt purposes this - as far as I understand - needs

Re: [NTG-context] cals tables - UNSOLVED

2011-03-17 Thread Aditya Mahajan
On Thu, 17 Mar 2011, R. Ermers wrote: Dear All, I am still trying to typeset cals tables. I have 1. an environment document with instructions. 2. an xml docbook file containing cals tables Note that the original cals tables (docbook standard) use table, tgroup, etc. but for ConTeXt purposes

Re: [NTG-context] cals tables

2011-03-12 Thread R. Ermers
Dear all, First the good news: I have succeeded in typesetting a table! I first changed all tag names from table, entry, row to cals:table, cals:entry, cals:row, etc. Then the table is read in. However, the table setup cannot be manipulated by means of the directives, because - according to

Re: [NTG-context] cals tables

2011-03-11 Thread R. Ermers
Dear contexers,I get the impression that cals tables need to be processed separately from the main docbook file.Instead of table and tbody, etc. the tags are changed into cals:table, cals:tbody, etc.I first tried to process the file x-cals-test.tex pointed to by Hans.This file loads two other

Re: [NTG-context] cals tables

2011-03-09 Thread Hans Hagen
On 8-3-2011 9:00, R. Ermers wrote: Dear ConTeXers, I still have not been able to find out how to proceed with my docbook xml document, which contains a number of cals tables. The cals module is loaded by means of \usemodule[cals]. How to proceed from here? Any clue is appreciated!

Re: [NTG-context] cals tables

2011-03-08 Thread R. Ermers
Dear ConTeXers, I still have not been able to find out how to proceed with my docbook xml document, which contains a number of cals tables. The cals module is loaded by means of \usemodule[cals]. How to proceed from here? Any clue is appreciated! Regards, Robert On 7-3-2011 12:26, R.

[NTG-context] cals tables

2011-03-07 Thread R. Ermers
Dear All, I am struggling with the processing of cals tables in mkiv. I used the module x-cals, in different styles ([x][cals], etc.) but there is no effect, the table is not typeset. \usemodule x-cals.mkiv \xmlloaddirectives x-cals-test.cdx By way of experiment I also used the directives,

Re: [NTG-context] cals tables

2011-03-07 Thread Hans Hagen
On 7-3-2011 12:26, R. Ermers wrote: Dear All, I am struggling with the processing of cals tables in mkiv. I used the module x-cals, in different styles ([x][cals], etc.) but there is no effect, the table is not typeset. \usemodule x-cals.mkiv funny syntax \usemodule[cals]

Re: [NTG-context] cals tables

2011-03-07 Thread R. Ermers
Thanks, Hans. But yes, I tried that too (and again) before I tried x-cals ([x][cals], x-cals, x-cals.mkiv, etc.). But \usemodule[cals] does not work - the table is not typeset that is. luatex: beta-065.0-2010121316. Robert Op 7 mrt 2011, om 12:41 heeft Hans Hagen het volgende geschreven: On

Re: [NTG-context] cals tables

2011-03-07 Thread R. Ermers
Dear all, I see in the log file that the cals module is loaded. system : module cals loaded (/prog2/context/tex/texmf-local/tex/context/base/x-cals.mkiv loading : ConTeXt XML Macros / Cals Tables + /prog2/context/tex/texmf-local/tex/context/base/x-cals.lua) But the table is

[NTG-context] Natural tables (split) + setupinteraction = fail? (latest mkiv)

2011-01-09 Thread Marco Pessotto
Hello there. See the following minimal example: begin \setupinteraction[state=start,color=black,contrastcolor=black] \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD hello \eTD \eTR } \eTABLE} \stoptext end % If I try to compile it, I get

Re: [NTG-context] Natural tables (split) + setupinteraction = fail? (latest mkiv)

2011-01-09 Thread luigi scarso
On Sun, Jan 9, 2011 at 4:14 PM, Marco Pessotto melmo...@gmail.com wrote: Hello there. See the following minimal example: begin \setupinteraction[state=start,color=black,contrastcolor=black] \starttext \placetable[split]{Test} {\bTABLE[split=yes] \dorecurse{60}{ \bTR \bTD

Re: [NTG-context] multipage tables - vertical space

2011-01-02 Thread Peter Van Kranenburg
On 12/6/10 1:18 PM, Hans Hagen wrote: On 5-12-2010 3:16, Peter Van Kranenburg wrote: Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL

Re: [NTG-context] multipage tables - vertical space

2010-12-06 Thread Hans Hagen
On 5-12-2010 3:16, Peter Van Kranenburg wrote: Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL \stoptablehead \starttabletail \HL

[NTG-context] multipage tables - vertical space

2010-12-05 Thread Peter Van Kranenburg
Hello all, What's wrong with this multipage table? \starttext \setuptables[split=repeat] \placetable[split,here][tab:example]{Long Table Example}{\start \starttablehead \HL \VL \bf A \VL \bf B \VL\MR \HL \stoptablehead \starttabletail \HL \stoptabletail \starttables[|l|l|] \dorecurse{100}{\VL

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

2010-09-12 Thread Hans Hagen
On 11-9-2010 6:03, Philipp Gesang wrote: Hi, line correction leads to unwanted vertical spacing in split natural tables. Example (in both MkII and MkIV): ··8· %\setuplayout[grid=yes] % not required to reproduce it \starttext

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

2010-09-11 Thread Philipp Gesang
Hi, line correction leads to unwanted vertical spacing in split natural tables. Example (in both MkII and MkIV): ··8· %\setuplayout[grid=yes] % not required to reproduce it \starttext \dorecurse{4}{\input knuth\par} \startlinecorrection

Re: [NTG-context] Wiki: Tables Overview: What table macros are deprecated?

2010-09-02 Thread Henning Hraban Ramm
Am 2010-09-02 um 00:51 schrieb Paul Menzel: I was reading up about tables and found the overview in the Wiki [1] with the following remark. Not each provides everything you may need, and the older ones are deprecated. [1] Could someone please clarify which macros are deprecated

Re: [NTG-context] Wiki: Tables Overview: What table macros are deprecated?

2010-09-02 Thread John Culleton
On Thursday 02 September 2010 12:59:35 Henning Hraban Ramm wrote: Am 2010-09-02 um 00:51 schrieb Paul Menzel: I was reading up about tables and found the overview in the Wiki [1] with the following remark. Not each provides everything you may need, and the older ones are

[NTG-context] Wiki: Tables Overview: What table macros are deprecated?

2010-09-01 Thread Paul Menzel
Dear ConTeXt folks, I was reading up about tables and found the overview in the Wiki [1] with the following remark. Not each provides everything you may need, and the older ones are deprecated. [1] Could someone please clarify which macros are deprecated or which are the

  1   2   >