[NTG-context] an object representation of the node list of a paragraph: a lua table or a JSON

2019-07-10 Thread mf
Hello list, i'd like having an object representation of a typeset paragraph or even a page, preferably as a JSON object, but a Lua table is equally good. My reference is section "4.4 Node lists" of the CLD manual. Before writing an iterator over the list of nodes of a paragraph, fi

Re: [NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Martin Althoff
Thanks for that Wolfgang. It doesn't seem to work though. The text stays at the left. Meantime I have tried two other approaches. Only an approach using a \framed handles longer lines. My problem with the 3. \framed approach is: how do I get the size of the current table cell? In the MWE I

Re: [NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Wolfgang Schuster
Martin Althoff schrieb am 12.06.2019 um 13:11: I am trying to align rotated text horizontally and vertically in a table cell. Vertically is no problem, horizontally it fails. Non-rotated text is, of course, fine. What can I do to fix the problem? Thanks for suggestions. Martin using: mtx

Re: [NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Martin Althoff
2 Jun 2019, at 13:11, Martin Althoff wrote: > > > > I am trying to align rotated text horizontally and vertically in a table > > cell. Vertically > > is no problem, horizontally it fails. Non-rotated text is, of course, fine. > > > > What can I do to fix the prob

Re: [NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Willi Egger
Martin, did you try to add [align=lohi]? Willi > On 12 Jun 2019, at 13:11, Martin Althoff wrote: > > I am trying to align rotated text horizontally and vertically in a table > cell. Vertically > is no problem, horizontally it fails. Non-rotated text is, of course, fine. >

[NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Martin Althoff
I am trying to align rotated text horizontally and vertically in a table cell. Vertically is no problem, horizontally it fails. Non-rotated text is, of course, fine. What can I do to fix the problem? Thanks for suggestions. Martin using: mtx-context | current version: 2019.05.18 10:42 PDF

Re: [NTG-context] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
On Mon, 08 Apr 2019 15:04 -06:00, Aditya Mahajan wrote: > Use nx=2 instead of n=2. That works! Many thanks. Todd ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] Expanding text across two table cells

2019-04-08 Thread Aditya Mahajan
guardianship at the end of a table. Both of these fields should span two cells in the table and wrap to the full width. Currently, they wrap to the width of the first table column. The cells appear to be spanned correctly, but the text does not extend. What am I missing? Use nx=2 instead of n=2

[NTG-context] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
Hello, I use a progress note format which contains information that doesn't change much from session to session. Items like date, location, people attending a session. I would like to include two longer items, a diagnostic field and info about guardianship at the end of a table. Both

Re: [NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
] Setting tabulate table width with \textwidth inside an item group Clyde Johnston schrieb am 27.02.19 um 22:49: > Dear List: > > I have a tabulate table inside an indented item group and I would like > to set the width of the table to the \hbox size of the surrounding > text.  If I

Re: [NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Wolfgang Schuster
Clyde Johnston schrieb am 27.02.19 um 22:49: Dear List: I have a tabulate table inside an indented item group and I would like to set the width of the table to the \hbox size of the surrounding text.  If I use \textwidth as a width parameter, the table spills into the right margin (see

[NTG-context] Setting tabulate table width with \textwidth inside an item group

2019-02-27 Thread Clyde Johnston
Dear List: I have a tabulate table inside an indented item group and I would like to set the width of the table to the \hbox size of the surrounding text. If I use \textwidth as a width parameter, the table spills into the right margin (see attached). What is the correct parameter to use

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-20 Thread Hans Hagen
On 2/20/2019 10:51 AM, Procházka Lukáš Ing. wrote: Hello Hans, On Wed, 20 Feb 2019 09:15:40 +0100, Hans Hagen wrote: as column setup for TABLEs by "\setupTABLE[c][1][width=1in]" is handy and is used frequently, would it be possible to provide identical mechanism for xtables? all is

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-20 Thread Procházka Lukáš Ing .
Hello Hans, On Wed, 20 Feb 2019 09:15:40 +0100, Hans Hagen wrote: as column setup for TABLEs by "\setupTABLE[c][1][width=1in]" is handy and is used frequently, would it be possible to provide identical mechanism for xtables? all is possible but it won't happen ... different approach ... you

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-20 Thread Hans Hagen
On 2/20/2019 9:06 AM, Procházka Lukáš Ing. wrote: Hello, On Tue, 19 Feb 2019 21:35:41 +0100, Wolfgang Schuster wrote: Procházka Lukáš Ing. schrieb am 19.02.19 um 21:27: Hello, it seems that xtable setup doesn't recognize the "c" option, which is recognized successfully by T

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-20 Thread Procházka Lukáš Ing .
Hello, On Tue, 19 Feb 2019 21:35:41 +0100, Wolfgang Schuster wrote: Procházka Lukáš Ing. schrieb am 19.02.19 um 21:27: Hello, it seems that xtable setup doesn't recognize the "c" option, which is recognized successfully by TABLE setup; tested on mapping provided by "ntb

Re: [NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-19 Thread Wolfgang Schuster
Procházka Lukáš Ing. schrieb am 19.02.19 um 21:27: Hello, it seems that xtable setup doesn't recognize the "c" option, which is recognized successfully by TABLE setup; tested on mapping provided by "ntb-to-xtb" module: \usemodule[ntb-to-xtb] \restoreTABLEfr

[NTG-context] Mapping TABLE to xtable (module "ntb-to-xtb") doesn't recognize "c" option for columns

2019-02-19 Thread Procházka Lukáš Ing .
Hello, it seems that xtable setup doesn't recognize the "c" option, which is recognized successfully by TABLE setup; tested on mapping provided by "ntb-to-xtb" module: \usemodule[ntb-to-xtb] \restoreTABLEfromxtable \starttext \bTABLE \setupTABLE[c][1][width=1

[NTG-context] Weird TABLE split across pages

2019-02-19 Thread Procházka Lukáš Ing .
Hello, a TABLE is split weirdly over two pages: - on the first page (here: page 8): the (repeated) header of the TABLE and the first body row followed by void space, - then (here: on the page 9) the remaining part of the TABLE; - see the sample attached. I'm not able to strip my real case

Re: [NTG-context] Adjusting interlinespace in a table

2019-02-06 Thread Wolfgang Schuster
Mari Voipio schrieb am 05.02.19 um 09:21: Hello all! This may be a really stupid question, but wiki wasn't helpful: Is there a way of adjusting interlinespace in a table? A \setupTABLE command would work as I want to change the line height throughout the table to make it smaller (have the rows

[NTG-context] Adjusting interlinespace in a table

2019-02-05 Thread Mari Voipio
Hello all! This may be a really stupid question, but wiki wasn't helpful: Is there a way of adjusting interlinespace in a table? A \setupTABLE command would work as I want to change the line height throughout the table to make it smaller (have the rows closer to each other than in my running text

[NTG-context] placing an MPGraphic/Lines over multiple table cells

2019-01-05 Thread Martin Althoff
I am trying to place some lines in "Z" shape over several cells of a table. This single "Z" has the intention of blocking manual alterations to the table in empty cells. The cells to blocked are always a coherent rectangle. I hope that makes sense. In the example below, t

Re: [NTG-context] table cell minimum heights -- help needed

2018-12-16 Thread Wolfgang Schuster
”, and if the content does not fit, it will just enlarge the height until it does fit. Needless to say: I want that same functionality from the ConTeXt table I am using to generate the PDF and not end up with text crossing row boundaries. And I cannot figure out how to do it, as neither bTABLE’s \bTD nor

Re: [NTG-context] table cell minimum heights -- help needed

2018-12-14 Thread Taco Hoekwater
ntil >> it does fit. >> >> Needless to say: I want that same functionality from the ConTeXt >> table I am using to generate the PDF and not end up with text crossing row >> boundaries. And I cannot figure out how >> to do it, as neither bTABLE’s \bTD nor xtabl

Re: [NTG-context] table cell minimum heights -- help needed

2018-12-14 Thread Aditya Mahajan
the height until it does fit. Needless to say: I want that same functionality from the ConTeXt table I am using to generate the PDF and not end up with text crossing row boundaries. And I cannot figure out how to do it, as neither bTABLE’s \bTD nor xtable’s \startxcell interpret a “minheight

Re: [NTG-context] unicode table in the fontloader

2018-12-14 Thread Hans Hagen
On 12/13/2018 11:32 PM, Ulrike Fischer wrote: Side question: are there any plans to remove the library from the binary? no, as luatex functionality is kind of frozen that would break compatibility Hans -

Re: [NTG-context] unicode table in the fontloader

2018-12-14 Thread Hans Hagen
On 12/13/2018 11:32 PM, Ulrike Fischer wrote: Since 29.11 l-unicode.lua disables the slnunicode library with unicode = nil i'll remove the dependency of l-unicode in the fontloader (only oen helper used) Hans -- -

[NTG-context] unicode table in the fontloader

2018-12-13 Thread Ulrike Fischer
package, this means that I currently have to revert the change manually. Would it be possible to disable the table only in context? Side question: are there any plans to remove the library from the binary? -- Ulrike Fischer https://www.troubleshooting-tex.de

[NTG-context] table cell minimum heights -- help needed

2018-12-13 Thread Taco Hoekwater
to say: I want that same functionality from the ConTeXt table I am using to generate the PDF and not end up with text crossing row boundaries. And I cannot figure out how to do it, as neither bTABLE’s \bTD nor xtable’s \startxcell interpret a “minheight" parameter. And whatever I put in “h

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-10 Thread Tomas Hala
Hi Wolfgang, thank you for your reply. The split=repeat -- my fault, sorry. But -- surprisingly -- this mistake helped me along understanding the problem. I discovered -- if head and next head are defined -- that the "line number 1" servers for the opening head at the beginning

Re: [NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Wolfgang Schuster
this is not what you expect it makes sense because when ConTeXt creates the table the whole thing is only one huge part which the headers for the first and the following pages on top and the footer on the bottom. The number of rows is now determined by the number of all rows (including header

[NTG-context] Strange behaviour of TABLE with \currentTABLErow

2018-12-03 Thread Tomas Hala
heads are at the beginning of the table and both counted. Moreover, the "next" head is not used on the following pages. \starttext\setupTABLE[split=yes] \bTABLE \bTABLEhead\bTR\bTH head \eTH\eTR\eTABLEhead \bTABLEnext\bTR\bTH next head \eTH\eTR\eTABLEnext \bTABLEbody

Re: [NTG-context] Completecontent has problems with chapter, in table

2018-12-03 Thread Wolfgang Schuster
Huseyin Özoguz schrieb am 03.12.18 um 10:13: You should keep a copy of your current installation for your existing books. When you use the installation from the ConTeXt garden you can have multiple installations without problems. Thank you, so thats the way to go for us. (Sorry for my late

Re: [NTG-context] Completecontent has problems with chapter, in table

2018-12-03 Thread Huseyin Özoguz
You should keep a copy of your current installation for your existing books. When you use the installation from the ConTeXt garden you can have multiple installations without problems. Thank you, so thats the way to go for us. (Sorry for my late reply.) Where exactly should the image appear

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-24 Thread Wolfgang Schuster
in table and the toc is solved in the newest update as you say. You should keep a copy of your current installation for your existing books. When you use the installation from the ConTeXt garden you can have multiple installations without problems. BTW: What if your goal with the \chapter

Re: [NTG-context] Completecontent has problems with chapter, in table

2018-11-23 Thread Huseyin Özoguz
How can I adjust the vertical position of the actual title relative to the image? I have this: \define[2]\uber{% \setuphead[chapter][before={},alternative=middle, numbercommand={\externalfigure[historische_spuren/wappen/#1.jpg][height=2cm]}] \chapter{#2} } But the title is now below the

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Huseyin Özoguz
Hello, something like this? \setupexternalfigures[location=default] \define[1]\MyNumCmd{% \externalfigure[hacker][height=2cm] } \setuphead[chapter][numbercommand=\MyNumCmd] \starttext \chapter{Ch} \input knuth \stoptext Best regards, Lukas Thank you, yes that would

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Verlag Eslamica
Hello, something like this? \setupexternalfigures[location=default] \define[1]\MyNumCmd{% \externalfigure[hacker][height=2cm] } \setuphead[chapter][numbercommand=\MyNumCmd] \starttext \chapter{Ch} \input knuth \stoptext Best regards, Lukas Thank you, yes that would

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Procházka Lukáš Ing .
+0100, Huseyin Özoguz wrote: Hi Wolfgang, thank you. I work currently with version 2015.04.15 01:44 Can I safely update without any major changes, so all my projects (hundrets of books, working in a publishing house) can be compiled as usual? Maybe my issue of the chapter in table and the toc

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-23 Thread Huseyin Özoguz
Hi Wolfgang, thank you. I work currently with version 2015.04.15 01:44 Can I safely update without any major changes, so all my projects (hundrets of books, working in a publishing house) can be compiled as usual? Maybe my issue of the chapter in table and the toc is solved in the newest

Re: [NTG-context] Completecontent has problems with chapter in table

2018-11-22 Thread Wolfgang Schuster
Hi Huseyin, I can’t reproduce your problem with the table of contents with the current beta. BTW: What if your goal with the \chapter in the table because this creates a wrong value for the chapter counter. If your goal is to put a frame around the chapter you can use the framedtext

[NTG-context] Completecontent has problems with chapter in table

2018-11-22 Thread Huseyin Özoguz
Hello together, I have this min-example: \starttext \completecontent[criterium=all] \chapter{craigs} {\bTABLE \bTR\bTD \chapter{whatever} \eTD \eTR \eTABLE} \chapter{gooff} \completecontent[criterium=previous] \stoptext As you see, the \completecontent[criterium=previous] works fine, it

Re: [NTG-context] Table, xtable and lua

2018-11-11 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 11.11.18 um 10:50: Hi Wolfgang and Henri, Thank you so much. What is the document that allows me to find more information about context and lua ? 1. The ConTeXt Lua manual (cld-mkiv.pdf) which comes with the installation (also available on Hans website:

Re: [NTG-context] Table, xtable and lua

2018-11-11 Thread Fabrice Couvreur
gt; > > > On 11/11/18 12:33 PM, Fabrice Couvreur wrote: > >> Hi, > >> I can not complete the first line of the table with the letters of the > >> alphabet. > >> Thank you. > >> Fabrice > >> > >> \starttext > >> \startlin

Re: [NTG-context] Table, xtable and lua

2018-11-11 Thread Wolfgang Schuster
Henri Menke schrieb am 11.11.18 um 01:25: On 11/11/18 12:33 PM, Fabrice Couvreur wrote: Hi, I can not complete the first line of the table with the letters of the alphabet. Thank you. Fabrice \starttext \startlinecorrection[blank] \startmidaligned \startluacode context.startxtable({"

Re: [NTG-context] Table, xtable and lua

2018-11-10 Thread Henri Menke
On 11/11/18 12:33 PM, Fabrice Couvreur wrote: > Hi, > I can not complete the first line of the table with the letters of the > alphabet. > Thank you. > Fabrice > > \starttext > \startlinecorrection[blank] > \startmidaligned > \startluacode > context.startxt

Re: [NTG-context] Table, xtable and lua

2018-11-10 Thread Henri Menke
On 11/11/18 12:33 PM, Fabrice Couvreur wrote: > Hi, > I can not complete the first line of the table with the letters of the > alphabet. > Thank you. > Fabrice > > \starttext > \startlinecorrection[blank] > \startmidaligned > \startluacode > context.startxt

[NTG-context] Table, xtable and lua

2018-11-10 Thread Fabrice Couvreur
Hi, I can not complete the first line of the table with the letters of the alphabet. Thank you. Fabrice \starttext \startlinecorrection[blank] \startmidaligned \startluacode context.startxtable({"align=middle, width=1.25cm"}) context.startxrow() context.startxcell({"width=0

Re: [NTG-context] Table "modules"

2018-10-29 Thread Aditya Mahajan
On Mon, 29 Oct 2018, Joseph Wright wrote: Hans: Thanks for the quick reply. I'll suggest to the LaTeX team that we treat table modules as ConTeXt-specific/reserved, and will think of a different name. How about `package`? Aditya

Re: [NTG-context] Table "modules"

2018-10-29 Thread Joseph Wright
seen it in the archive :) Hans: Thanks for the quick reply. I'll suggest to the LaTeX team that we treat table modules as ConTeXt-specific/reserved, and will think of a different name. Joseph ___ If your question is of int

Re: [NTG-context] Table "modules"

2018-10-28 Thread Hans Hagen
done there is the toplevel 'context' table, so there is not much change on a clash I guess. We can hardly claim a namespace, but now at least it's possible to see if something is meant for context (and originates on context, fwiw). Anyway, I don't expect much generic code to show up. One prob

[NTG-context] Table "modules"

2018-10-28 Thread Joseph Wright
Hello all, Looking at management of global Lua tables (for the obvious cases ...), I notice that all of the core Mk IV files use the construct if not modules then modules = { } end modules["From a ConTeXt point-of-view, is it acceptable for third-parties to use this construct, or is

Re: [NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Damien Thiriet
Thank you very much Hans ! One of my first thoughts today was using layers (did not think about it earlier, because I was too focused on plain TeX boxes), but I am quite new to this topic. Thanks to your code, I will have time to learn how to use them. Greetings, Damien Thiriet On Mon, Oct 15,

Re: [NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Hans Hagen
On 10/15/2018 8:11 PM, Damien Thiriet wrote: Hello, I am still working on maps and facing some new issue. The program I used to design one map is not convenient for writing key to symbols, and what I have is a map.png file with big spare space on its upper left corner. So I have either to write

[NTG-context] insert natural table at the top left of some png

2018-10-15 Thread Damien Thiriet
Hello, I am still working on maps and facing some new issue. The program I used to design one map is not convenient for writing key to symbols, and what I have is a map.png file with big spare space on its upper left corner. So I have either to write on the png with ImageMagick or GIMP, or have

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Wolfgang Schuster
Fabrice Couvreur schrieb am 10.10.18 um 20:09: Hi Pablo, Thank you, I thought that indicating width = 1.7cm, the size of the cells would have been 1.7cm. You’re correct and what Pablo meant is the textwidth option for natural tables where you can set a width for the whole table. The big

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
or far too far ? > > Hi Fabrice, > > replace the following command: > > \startxtable[align={middle,lohi}] > > It works now. It is rather weird that the total width for the table is > 1.7cm and one of its cells is 3.5cm. > > I hope it helps, > > Pab

Re: [NTG-context] Text around a table (xtables)

2018-10-10 Thread Pablo Rodriguez
On 10/10/18 7:26 PM, Fabrice Couvreur wrote: > Hello, > Why is the text wrapping around the board or far too far ? Hi Fabrice, replace the following command: \startxtable[align={middle,lohi}] It works now. It is rather weird that the total width for the table is 1.7cm and one of its

[NTG-context] Text around a table (xtables)

2018-10-10 Thread Fabrice Couvreur
Hello, Why is the text wrapping around the board or far too far ? Thank you. Fabrice \definefloat [recipe] [figure] \setupfloat [recipe] [default={right,none}] \starttext \placerecipe{}{% \startxtable[align={middle,lohi},width=1.7 cm]

Re: [NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Axel Kielhorn
> Am 09.10.2018 um 11:54 schrieb Hans Hagen : > >\bTR[aligncharacter=no] \bTD\eTD \bTD \chemical{NH_3} > \eTD \bTD R407C \eTD \bTD R134a \eTD \eTR Great, such a simple and elegant solution. Thanks Axel

Re: [NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Hans Hagen
On 10/9/2018 8:02 AM, Axel Kielhorn wrote: Hello, I decided to use TABLE because I may need some more complex layouts later and want to use just one way to define a table. One of the great things about TABLE is the possibility to align columns. The table below works fine when I comment

[NTG-context] Formulas in TABLE with character alignment

2018-10-09 Thread Axel Kielhorn
Hello, I decided to use TABLE because I may need some more complex layouts later and want to use just one way to define a table. One of the great things about TABLE is the possibility to align columns. The table below works fine when I comment the first \bTR line. With the first line the result

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-02 Thread David Walther
On Tue, Oct 02, 2018 at 12:28:44AM -0400, Aditya Mahajan wrote: ConTeXt MkIV 2018.09.30 What version are you using? My version is from 2017. Thank you for the confirmation; now I will file a bug report with Debian. David

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-01 Thread Aditya Mahajan
On Mon, 1 Oct 2018, David Walther wrote: I looked at your example. I ran your example, and on my installation, it has the same problem as I described. I have included a PDF file of my original sample file, and also the PDF generated from your example. What version of ConTeXt are you

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-10-01 Thread David Walther
are still coming out "ugly" as you will see in the PDF t1.pdf. In t2.pdf you'll see the problem shows up in the table labelled "Good". The "Good" refers to the row in bold, not to the row above it. David On Sun, Sep 30, 2018 at 07:44:12PM -0400, Aditya Mahajan wrot

Re: [NTG-context] table making ugly column sizes, how to fix?

2018-09-30 Thread Aditya Mahajan
On Sat, 29 Sep 2018, David Walther wrote: Full example at the bottom. I'm making a table. So far so good. Every so often I want to make something like a section header. Regular table rows are like this: \bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR For the section

Re: [NTG-context] tagged elements in tables (TABLE, tabulate, xtable)

2018-09-30 Thread Hans Hagen
On 9/30/2018 4:31 AM, Rik Kabel wrote: Can anyone suggest another alternative? fixed in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The

[NTG-context] tagged elements in tables (TABLE, tabulate, xtable)

2018-09-29 Thread Rik Kabel
in a table. The primary use is to manage text in sidebars (first or last column, moved by CSS to the correct position, for a two- or three-column one-row table). * When there are three tagged (or more) elements in the table, the table is not present in the resulting html export, nor

Re: [NTG-context] align is reversed inside a table

2018-09-29 Thread Rik Kabel
On 9/29/2018 20:29, David Walther wrote: Using this table as an example, when I do align=left, the column aligns right, and when I do align=right, it aligns left.  align=center works as expected.  Am I doing something wrong or is this a bug? I am using the version of context distributed

Re: [NTG-context] align is reversed inside a table

2018-09-29 Thread Alan Braslau
On Sat, 29 Sep 2018 17:29:40 -0700 David Walther wrote: > Using this table as an example, when I do align=left, the column aligns right, > and when I do align=right, it aligns left. align=center works as expected. > Am > I doing something wrong or is this a bug? align=left mean

[NTG-context] align is reversed inside a table

2018-09-29 Thread David Walther
Using this table as an example, when I do align=left, the column aligns right, and when I do align=right, it aligns left. align=center works as expected. Am I doing something wrong or is this a bug? I am using the version of context distributed with Debian unstable: mtx-context | ConTeXt

[NTG-context] table making ugly column sizes, how to fix?

2018-09-29 Thread David Walther
Full example at the bottom. I'm making a table. So far so good. Every so often I want to make something like a section header. Regular table rows are like this: \bTR\bTC \eTC\bTC NightShift \eTC\bTC Tension Lines 146 - 150 \eTC\eTR For the section headers, I do this, and they look the way I

Re: [NTG-context] Adjust the dimensions of a sub-table in an extreme table ?

2018-08-31 Thread Fabrice Couvreur
Hi Pablo, Thank you for the solution. Fabrice Le jeu. 30 août 2018 à 22:49, Pablo Rodriguez a écrit : > On 08/30/2018 10:16 PM, Fabrice Couvreur wrote: > > Hello, > > In the main table there are three sub-tables. How to adapt the > > dimensions of the second

Re: [NTG-context] Adjust the dimensions of a sub-table in an extreme table ?

2018-08-30 Thread Pablo Rodriguez
On 08/30/2018 10:16 PM, Fabrice Couvreur wrote: > Hello, > In the main table there are three sub-tables. How to adapt the > dimensions of the second and third sub-tables to that of the first > sub-table ? Hi Fabrice, I guess that \startxtable[option=stretch] is what you might n

[NTG-context] Adjust the dimensions of a sub-table in an extreme table ?

2018-08-30 Thread Fabrice Couvreur
Hello, In the main table there are three sub-tables. How to adapt the dimensions of the second and third sub-tables to that of the first sub-table ? Thank you Fabrice \unexpanded\def\euros#1{#1\,€} \setuplayout [height=middle, width=middle, backspace=2cm, topspace=10mm

Re: [NTG-context] Table of contents setup

2018-08-30 Thread Wolfgang Schuster
Willi Egger schrieb am 30.08.18 um 11:18: Hello, I am busy to typeset a book with Maguntia.ttf. I should prepare the TOC with leaders. However how can I get ConTeXT to use the same leader-size on all levels which need leaders? As in the given example the leaders are adapted to the size of

[NTG-context] Table of contents setup

2018-08-30 Thread Willi Egger
Hello, I am busy to typeset a book with Maguntia.ttf. I should prepare the TOC with leaders. However how can I get ConTeXT to use the same leader-size on all levels which need leaders? As in the given example the leaders are adapted to the size of the font. Secondly I would like to have the

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Fabrice Couvreur
Hello, Thank you for your suggestions. Fabrice Le dim. 26 août 2018 à 15:19, Aditya Mahajan a écrit : > On Sun, 26 Aug 2018, Wolfgang Schuster wrote: > > > The normal alignment of figures is with the bottom of the figure on the > > baseline. > > > > You can control the vertical alignment with a

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Aditya Mahajan
On Sun, 26 Aug 2018, Wolfgang Schuster wrote: The normal alignment of figures is with the bottom of the figure on the baseline. You can control the vertical alignment with a few box commands but what you should use depends on the context, in tables I would use 2 while in running text 3 can

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
Wolfgang Fabrice Couvreur schrieb am 26.08.18 um 01:49: Hello, In the table, how to have a. b. c. in each line instead of a. a. a ? Is the macro to place the figures on the baseline of the labels to be improved ? Thanks. Fabrice \useMPlibrary[dum] \switchtobodyfon

Re: [NTG-context] Some questions about an extreme table

2018-08-26 Thread Wolfgang Schuster
26.08.18 um 01:49: Hello, In the table, how to have a. b. c. in each line instead of a. a. a ? Is the macro to place the figures on the baseline of the labels to be improved ? Thanks. Fabrice \useMPlibrary[dum] \switchtobodyfont[pagella,12pt] \unexpanded\def\Item#1{\framed[frame=off,location

Re: [NTG-context] Some questions about an extreme table

2018-08-25 Thread Mikael P. Sundqvist
On Sun, Aug 26, 2018 at 1:49 AM Fabrice Couvreur < fabrice1.couvr...@gmail.com> wrote: > Hello, > In the table, how to have a. b. c. in each line instead of a. a. a ? > Is the macro to place the figures on the baseline of the labels to be > improved ? > Thanks. > Fabri

[NTG-context] Some questions about an extreme table

2018-08-25 Thread Fabrice Couvreur
Hello, In the table, how to have a. b. c. in each line instead of a. a. a ? Is the macro to place the figures on the baseline of the labels to be improved ? Thanks. Fabrice \useMPlibrary[dum] \switchtobodyfont[pagella,12pt] \unexpanded\def\Item#1{\framed[frame=off,location=hanging]{#1

Re: [NTG-context] TABLE setups

2018-07-30 Thread Henning Hraban Ramm
Am 2018-07-30 um 16:22 schrieb kaddour kardio : > \setupTABLE[frame=off] > \setupTABLE[r][1][style=\ss] > \setupTABLE[r][2][style=\tfa\bf] > \setupTABLE[r][3][style=\ss] > \setupTABLE[c][3][align=left] > \setupTABLE[c][2][align=center] > \setupTABLE[r][4][style=\bf] % how to override the \tt in

Re: [NTG-context] TABLE setups

2018-07-30 Thread kaddour kardio
here is an example of mine \startsetups table:width \setupTABLE[align={hyphenated,normal}] \setupTABLE[column][1][width=0.3\textwidth] \setupTABLE[column][2][width=0.4\textwidth] \setupTABLE[column][3][width=0.3\textwidth] \stopsetups % table des patients \startsetups table:style

Re: [NTG-context] TABLE setups

2018-07-29 Thread Henning Hraban Ramm
Am 2018-07-29 um 13:36 schrieb Henning Hraban Ramm : > Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm : > Or can I go via setups like \bTABLE[setups=mystyle] ? >>> >>> \startsetups mystyle >>> \setupTABLE[frame=off] >>> \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold] >>>

Re: [NTG-context] TABLE setups

2018-07-29 Thread Henning Hraban Ramm
Am 2018-07-28 um 11:09 schrieb Henning Hraban Ramm : >>> Or can I go via setups like \bTABLE[setups=mystyle] ? >> >> \startsetups mystyle >> \setupTABLE[frame=off] >> \setupTABLE[row][first][topframe=on,bottomframe=on,style=bold] >> \setupTABLE[row][last] [bottomframe=on] >> \stopsetups >>

Re: [NTG-context] TABLE setups

2018-07-29 Thread Hans Hagen
has changed in TABLE in years so once you're up to date in that domain you're probbably ok for years to come (typically a mechanism that cannot change much as it's used in xml processing a lot which means fully unattended usage) Hans

Re: [NTG-context] TABLE setups

2018-07-28 Thread Henning Hraban Ramm
Am 2018-07-28 um 03:35 schrieb Henri Menke : > On 07/28/2018 07:38 AM, Henning Hraban Ramm wrote: >> Ahoi, >> >> I need a few different table styles and don’t think it makes sense to setup >> them every single time. >> >> Is there a \defineTABLE

Re: [NTG-context] TABLE setups

2018-07-27 Thread Henri Menke
On 07/28/2018 07:38 AM, Henning Hraban Ramm wrote: > Ahoi, > > I need a few different table styles and don’t think it makes sense to setup > them every single time. > > Is there a \defineTABLE[mystyle], and then \setupTABLE[mystyle][...] ? > > Or can I go via setups lik

[NTG-context] TABLE setups

2018-07-27 Thread Henning Hraban Ramm
Ahoi, I need a few different table styles and don’t think it makes sense to setup them every single time. Is there a \defineTABLE[mystyle], and then \setupTABLE[mystyle][...] ? Or can I go via setups like \bTABLE[setups=mystyle] ? Greetlings, Hraban --- https://www.fiee.net http

Re: [NTG-context] Table generator : Issues with borders and rotated cells

2018-06-27 Thread Wolfgang Schuster
Xavier Dionne <mailto:xavier.dio...@hotmail.com> 19. Juni 2018 um 03:26 Hi everyone, Excuse my poor English. I recently updated my online table generator (http://latex-tables.com) to support ConTeXt. It also supports many languages, like LaTeX, Plain TeX, Markdown, HTML and more. I

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Idris Samawi Hamid ادريس سماوي حامد
On Mon, 25 Jun 2018 01:10:18 -0600, Wolfgang Schuster wrote: Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 01:17 On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 01:17 On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a monospaced font? You put \placecontent before \starttext but the

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-25 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 00:46 Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombinedlist %

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 24 Jun 2018 17:09:02 -0600, Wolfgang Schuster wrote: 2. Oddity: Why does the TOC in the attached example default to a monospaced font? You put \placecontent before \starttext but the default fonts are loaded after \starttext. When you now put text in a box before \starttext a

Re: [NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Wolfgang Schuster
Idris Samawi Hamid ادريس سماوي حامد 25. Juni 2018 um 00:46 Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombinedlist %

[NTG-context] Table of Contents sectioning numbers in margin + oddity

2018-06-24 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, mtx-context | current version: 2018.06.24 18:28 In the attached and below, we want sectioning numbers placed and naturally aligned in the margin: === \definecombinedlist % \setuplist[] [content] [section] [level=section, alternative=c, criterium=local]

Re: [NTG-context] TABLE: centering splitted TABLE

2018-06-21 Thread Wolfgang Schuster
LEbody \dorecurse{60}{ \bTR \bTD uuu\eTD \bTD vvv\eTD \eTR } \eTABLEbody \eTABLE \stopalignment \stoptext - How to make the "uuu - vvv" table - which goes into several pages - centered on each page, like

Re: [NTG-context] TABLE: centering splitted TABLE; suppressing vertical space btw two TABLEs

2018-06-21 Thread Procházka Lukáš Ing .
Hello, On Wed, 20 Jun 2018 13:13:08 +0200, Aditya Mahajan wrote: - How to suppress the vertical space between the last row of "aaa - bbb" table and the first row of the "AAA - BBB" table? (Untested) Try `\blank[none]` instead of `\crlf`. Aditya actually, \blank[n

<    1   2   3   4   5   6   7   8   9   10   >