[NTG-context] Re: Layout of a table with formulae

2025-07-25 Thread Willi Egger
cter=no] Calculation \eTD > > or > >\bTH Calculation \eTH > > because TH cell type sets "aligncharacter=no" (but uses bold font). > > > Another option is > >\bTD \nocharcteralign Calculation \eTD > > > You can also divide your ta

[NTG-context] Re: Layout of a table with formulae

2025-07-24 Thread Wolfgang Schuster
\bTD[aligncharacter=no] Calculation \eTD or \bTH Calculation \eTH because TH cell type sets "aligncharacter=no" (but uses bold font). Another option is \bTD \nocharcteralign Calculation \eTD You can also divide your table into sections and enable character alignment o

[NTG-context] Layout of a table with formulae

2025-07-24 Thread Willi Egger
Hi all, at the moment I am writing an article about the use of the Soroban (Japanese abacus). There are a couple of tables showing formulae. The struggle is, that the alignment of the formulae is strange. I use alignmentcharacter= and aligncharacter=yes for aligning the formulae in a bTABLE…\e

[NTG-context] Re: Line breaks within TABLE cells

2025-07-22 Thread Kip Warner
On Mon, 2025-07-14 at 08:21 +0200, Hans Hagen wrote: > This \\ for linebreak is sort of a historic feature and not the in > terms of 'indicating intentions' ... that said, you can just > \breakhere which seem to work as intended. It makes no sense to > create a \\ alias for that. Apologies for the

[NTG-context] Re: Line breaks within TABLE cells

2025-07-13 Thread Hans Hagen via ntg-context
On 7/14/2025 6:19 AM, Kip Warner wrote: Hello list, I am trying to insert a manual line break inside of a TABLE cell, but can't seem to get it to work. I'm typesetting some mathematical formulae. See below minimal: \starttext \placetable[here,split,none][table:appendi

[NTG-context] Line breaks within TABLE cells

2025-07-13 Thread Kip Warner
Hello list, I am trying to insert a manual line break inside of a TABLE cell, but can't seem to get it to work. I'm typesetting some mathematical formulae. See below minimal: \starttext \placetable[here,split,none][table:appendix_notation]{} { \bTABLE[split=repeat,opti

[NTG-context] Re: externalfigure as table header

2025-07-05 Thread Thomas Meyer
Am 05.07.25 um 15:55 schrieb Wolfgang Schuster: \setupexternalfigures[location=default] \setupheadertexts[{\externalfigure[hacker][height=\headerheight]}] \starttext \startTABLE[split=repeat] \startTABLEhead \NC First line\\Second line \NC\NR \stopTABLEhead \startTABLEbody \dorecurse{100}{\

[NTG-context] Re: externalfigure as table header

2025-07-05 Thread Wolfgang Schuster
Am 05.07.2025 um 15:27 schrieb Thomas Meyer: Am 05.07.25 um 11:13 schrieb Wolfgang Schuster: Am 05.07.2025 um 10:51 schrieb Thomas Meyer: Hi folks, is it possible to use an externalfigure (blabla.jpg) as a repeated header in a table and if yes, how can I use it? \setupTABLE

[NTG-context] Re: externalfigure as table header

2025-07-05 Thread Thomas Meyer
Am 05.07.25 um 11:13 schrieb Wolfgang Schuster: Am 05.07.2025 um 10:51 schrieb Thomas Meyer: Hi folks, is it possible to use an externalfigure (blabla.jpg) as a repeated header in a table and if yes, how can I use it? \setupTABLE[][][\externalfigure[blabla]] doesn't

[NTG-context] Re: externalfigure as table header

2025-07-05 Thread Wolfgang Schuster
dle] \dontleavehmode\externalfigure[hacker] [height=4ex] \eTD \eTR \eTABLEhead \bTABLEbody \dorecurse{100}{\bTR \bTD table cell \recurselevel \eTD \eTR} % <- zero \eTABLEbody \eTABLE \stoptext Most of contexts table environments process the content multiple times to get the cell width and height, as a

[NTG-context] Re: externalfigure as table header

2025-07-05 Thread vm via ntg-context
eTR \eTABLEhead \bTABLEbody \dorecurse{100}{\bTR \bTD table cell \recurselevel \eTD \eTR} % <- zero \eTABLEbody \eTABLE \stoptext On 05/07/2025 11:13, Wolfgang Schuster wrote: Am 05.07.2025 um 10:51 schrieb Thomas Meyer: Hi folks, is it possible to use an externalfigure (blabla.jpg) as a re

[NTG-context] Re: externalfigure as table header

2025-07-05 Thread Wolfgang Schuster
Am 05.07.2025 um 10:51 schrieb Thomas Meyer: Hi folks, is it possible to use an externalfigure (blabla.jpg) as a repeated header in a table and if yes, how can I use it? \setupTABLE[][][\externalfigure[blabla]] doesn't work. \setupexternalfigures[location=default] \starttext \bTABLE[

[NTG-context] externalfigure as table header

2025-07-05 Thread Thomas Meyer
Hi folks, is it possible to use an externalfigure (blabla.jpg) as a repeated header in a table and if yes, how can I use it? \setupTABLE[][][\externalfigure[blabla]] doesn't work. Thank you for any hint! Greetings

[NTG-context] Re: How to scale a TABLE to \textwidth?

2025-05-19 Thread Wolfgang Schuster
Am 19.05.2025 um 17:47 schrieb Joel via ntg-context: I have a large table that spans multiple pages long. Its just about 1" too wide on the page, so I tried using various means to scale it just a little, such that it fits the page width. For example, I tried this way, by wrapping it i

[NTG-context] How to scale a TABLE to \textwidth?

2025-05-19 Thread Joel via ntg-context
I have a large table that spans multiple pages long. Its just about 1" too wide on the page, so I tried using various means to scale it just a little, such that it fits the page width. For example, I tried this way, by wrapping it inside \scale, but that ends up instead of splitting a

[NTG-context] Re: How do I remove the indent of a table-in-itemize?

2025-04-15 Thread LPr Pontex
\stoptabulate > >\stopitemize > >\stopitemize > > \stoptext > > > > > > How do I remove the blank space in front of the table, marked by the > > green line in the picture, so that the text "- Aaa Bbb" moves just below > >

[NTG-context] Re: How do I remove the indent of a table-in-itemize?

2025-04-15 Thread Wolfgang Schuster
b \AR         \stoptabulate       \stopitemize   \stopitemize \stoptext How do I remove the blank space in front of the table, marked by the green line in the picture, so that the text "- Aaa Bbb" moves just below the "- Ddd"? Use either \startnarrower[-left] \starttabulate[|

[NTG-context] How do I remove the indent of a table-in-itemize?

2025-04-15 Thread LPr Pontex
ptext How do I remove the blank space in front of the table, marked by the green line in the picture, so that the text "- Aaa Bbb" moves just below the "- Ddd"? TIA. Best regards, Lukas TabIt.mkiv

[NTG-context] Re: How to get TABLE to start on the same page, split when needed?

2025-04-02 Thread Aditya Mahajan
to put it on the next page, > instead of just splitting that cell up. I believe that in natural tables the table cell cannot split over a page. If there is not enough space to place the first row in the current page, then the table moves to the next page. Aditya_

[NTG-context] Re: How to get TABLE to start on the same page, split when needed?

2025-04-02 Thread Joel via ntg-context
\starttext     \input knuth     \input knuth     \input knuth          {\boldface This is instructions.}          \bTABLE[split=yes, frame=off]     \bTR\bTD ... \eTD\bTD \input knuth \input knuth \eTD\eTR     \bTR\bTD ... \eTD\bTD ... \eTD\eTR     \bTR\bTD ... \eTD\bTD ... \eTD\eTR    

[NTG-context] How to get TABLE to start on the same page, split when needed?

2025-04-01 Thread Joel via ntg-context
I was using tabulate, but ended up with some strange error I could not track down. So I switched to using TABLE, the error went away, but now I have a new problem: If the TABLE is really big, but fits on the next page, it seems to add a \pagebreak before, then shows the table. This is wasting

[NTG-context] Re: Position of overflowing TABLE after split

2024-11-20 Thread Niklas von Hirschfeld
On Tue, 19 Nov 2024 at 15:11, Niklas von Hirschfeld > wrote: >> Hi there, >> >> when having an overflowing TABLE in width (e.g. with the TABLE option >> 'textwidth=\dimexpr\textwidth+\rightmarginwidth\relax') the position >> (horizontal) changes after a sp

[NTG-context] Re: Position of overflowing TABLE after split

2024-11-19 Thread Duncan Hothersall
things (page numbers, headers and footers for example). Duncan On Tue, 19 Nov 2024 at 15:11, Niklas von Hirschfeld wrote: > Hi there, > > when having an overflowing TABLE in width (e.g. with the TABLE option > 'textwidth=\dimexpr\textwidth+\rightmarginwidth\relax') the position

[NTG-context] Position of overflowing TABLE after split

2024-11-19 Thread Niklas von Hirschfeld
Hi there, when having an overflowing TABLE in width (e.g. with the TABLE option 'textwidth=\dimexpr\textwidth+\rightmarginwidth\relax') the position (horizontal) changes after a split. Before the first split the table overflows into the right margin. After that the position change

[NTG-context] Re: making TABLE spacing match tabulate/halign spacing

2024-10-15 Thread Kirill Davidov
unfortunately, enabling overlay collapses cell heights, ruining vertical alignment. Kirill ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / htt

[NTG-context] Re: making TABLE spacing match tabulate/halign spacing

2024-10-14 Thread Henning Hraban Ramm
Am 14.10.24 um 20:09 schrieb Kirill Davidov: i should have probably mentioned ahead of time that i needed this since i wanted to replicate a booktabs style table layout with normal text spacing, like one would have in LaTeX with the appropriate package. the plan was to have a top/bottom rule

[NTG-context] Re: making TABLE spacing match tabulate/halign spacing

2024-10-14 Thread Kirill Davidov
On 10/14/24 23:20, Wolfgang Schuster wrote: > You can use MetaPost to draw the table rules and keep the default > lines at 0pt, to add > additional vertical space when needed you can use the toffset and > boffset keys. > > Wolfgang oh, that's wonderful. just followed the

[NTG-context] Re: making TABLE spacing match tabulate/halign spacing

2024-10-14 Thread Wolfgang Schuster
Kirill Davidov schrieb am 14.10.2024 um 20:09: i should have probably mentioned ahead of time that i needed this since i wanted to replicate a booktabs style table layout with normal text spacing, like one would have in LaTeX with the appropriate package. the plan was to have a top/bottom rule

[NTG-context] Re: making TABLE spacing match tabulate/halign spacing

2024-10-14 Thread Kirill Davidov
i should have probably mentioned ahead of time that i needed this since i wanted to replicate a booktabs style table layout with normal text spacing, like one would have in LaTeX with the appropriate package. the plan was to have a top/bottom rule enabled for a row. sadly it seems like with this

[NTG-context] Re: making TABLE spacing match tabulate/halign spacing

2024-10-14 Thread Wolfgang Schuster
Kirill Davidov schrieb am 14.10.2024 um 10:12: Greetings, TABLE uses framed extensively to make its cells. it adds all sorts of offsets and paddings (especially vertical) to cells that annoy me greatly. i'd like to set up TABLEs to have the same vertical spacing as a regular tabulate tab

[NTG-context] making TABLE spacing match tabulate/halign spacing

2024-10-14 Thread Kirill Davidov
Greetings, TABLE uses framed extensively to make its cells. it adds all sorts of offsets and paddings (especially vertical) to cells that annoy me greatly. i'd like to set up TABLEs to have the same vertical spacing as a regular tabulate table or even halign, but i keep getting lost i

[NTG-context] Footnote in a cell inside a row into a table !

2024-10-11 Thread Jean-Pierre Delange
Dear users, I'm struggling with a bibliographic reference that I want to integrate after a name that happens to be in a cell, itself located in a table. All my code works, except for the bibliographic reference given by the footnote and the \cite command. Here's the line as it app

[NTG-context] configuring spitter (was: separatedlist with header repeating processing csv to table)

2024-10-08 Thread juh+ntg-context--- via ntg-context
Am 03.10.24 um 14:15 schrieb Wolfgang Schuster: begin example \setuplayout[tight] \setuppapersize[A8,landscape] \starttext \startbuffer[cattle] "Year","Cattle, total","Dairy cows" "2009","3968","1489" "2010","3975","1479" "2011","3885","1470" "2012","3879","1484" "2013","4000","1553" "20

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread Gerion Entrup
=yes, > style=\tfx\setupinterlinespace, > ] > > /Mikael > > On Sun, Oct 6, 2024 at 4:27 AM Gerion Entrup wrote: > > > > Hi, > > > > for my table of contents, I have set a style that makes sections and > > subsections smaller than chapters

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread mf
There's also \writetolist to add arbitrary content and make local adjustments. \writetolist[section]{}{\blank[...]} Massi Il 06/10/24 04:26, Gerion Entrup ha scritto: Hi, for my table of contents, I have set a style that makes sections and subsections smaller than chapters. Howeve

[NTG-context] Re: Vertical spacing in table of content

2024-10-06 Thread Mikael Sundqvist
Hi, not sure exactly what you want, but does adding \setupinterlinespace help you? As in \setuplist[section][ aligntitle=yes, style=\tfx\setupinterlinespace, ] /Mikael On Sun, Oct 6, 2024 at 4:27 AM Gerion Entrup wrote: > > Hi, > > for my table of contents, I have

[NTG-context] Vertical spacing in table of content

2024-10-05 Thread Gerion Entrup
Hi, for my table of contents, I have set a style that makes sections and subsections smaller than chapters. However, in the rendering the vertical space seems not to adapt: It remains equal for all entities. Is there a possibility to reduce the vertical space between subsections and sections

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread Wolfgang Schuster
vm via ntg-context schrieb am 03.10.2024 um 16:33: On 03/10/2024 14:15, Wolfgang Schuster wrote: Afterwards you can use a loop to create a TeX table out of the stored Lua table. just the freshup the mind, how do you include a \setupTABLE in the lua section? like \setupTABLE[r][first

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread vm via ntg-context
On 03/10/2024 14:15, Wolfgang Schuster wrote: Afterwards you can use a loop to create a TeX table out of the stored Lua table. just the freshup the mind, how do you include a \setupTABLE in the lua section? like \setupTABLE[r][first][background=color, backgroundcolor=yellow] .F

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread Wolfgang Schuster
the header into the before part of setupseparatedlist, but this does not work. I also fear that I cannot do it with this module. Are there other means to build a table from csv? ConTeXt has a better parser for csv files since many years (which is used by the already mentioned handlecsv module

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread vm via ntg-context
On 03/10/2024 10:49, juh+ntg-context--- via ntg-context wrote: I tried to put the header into the before part of setupseparatedlist, but this does not work. I also fear that I cannot do it with this module. Are there other means to build a table from csv? have you checked the handlecsv

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread juh+ntg-context--- via ntg-context
does not work. I also fear that I cannot do it with this module. Are there other means to build a table from csv? juh ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-03 Thread juh+ntg-context--- via ntg-context
Am 02.10.24 um 13:49 schrieb Henning Hraban Ramm: Did you try split=repeat instead of split=yes? Yes. No change. I guess that the first line in csv is not marked as a table header, so that ConTeXt does not know what to repeat. juh

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-02 Thread Henning Hraban Ramm
Am 02.10.24 um 13:49 schrieb Henning Hraban Ramm: Am 02.10.24 um 09:48 schrieb juh+ntg-context--- via ntg-context: Dear all, some years ago I asked about how to process a csv file in a table with repeating headers on following pages, but got no answer. https://www.mail-archive.com/ntg

[NTG-context] Re: separatedlist with header repeating processing csv to table

2024-10-02 Thread Henning Hraban Ramm
Am 02.10.24 um 09:48 schrieb juh+ntg-context--- via ntg-context: Dear all, some years ago I asked about how to process a csv file in a table with repeating headers on following pages, but got no answer. https://www.mail-archive.com/ntg-context@ntg.nl/msg98903.html Now I am again working on

[NTG-context] separatedlist with header repeating processing csv to table

2024-10-02 Thread juh+ntg-context--- via ntg-context
Dear all, some years ago I asked about how to process a csv file in a table with repeating headers on following pages, but got no answer. https://www.mail-archive.com/ntg-context@ntg.nl/msg98903.html Now I am again working on this problem. I wonder if there is a better way to process csv

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-19 Thread Gerion Entrup
utions in the Wiki (https://wiki.contextgarden.net/TABLE#Rotated_headline). Gerion signature.asc Description: This is a digitally signed message part. ___ If your question is of interest to others as well, please add an

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-19 Thread Hans Hagen
On 9/19/2024 1:03 PM, Gerion Entrup wrote: What is the meaning of \hss here? It seems to work just fine without it. a left over from trial and error - Hans Hagen | PRAGMA ADE

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-19 Thread Gerion Entrup
2024, 22:53:55 MESZ schrieb Wolfgang Schuster: > >>> Gerion Entrup schrieb am 18.09.2024 um 14:44: > >>>> Am Dienstag, 17. September 2024, 20:36:23 MESZ schrieb Gerion Entrup: > >>>>> Hi, > >>>>> > >>>>> I want to ty

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-19 Thread Hans Hagen via ntg-context
Entrup: Hi, I want to typeset a table where some of the column headings are really long, while in the columns itself consists only of numbers. Therefore, my idea was to rotate the column headings but not 90 degrees (I found some solutions for that) but 45 degree. It then would be beneficial to push

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Mikael Sundqvist
;> Hi, > > >> > > >> I want to typeset a table where some of the column headings are really > > >> long, while in the columns itself consists only of numbers. > > >> Therefore, my idea was to rotate the column headings but not 90 degrees >

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Gerion Entrup
Am Mittwoch, 18. September 2024, 22:53:55 MESZ schrieb Wolfgang Schuster: > Gerion Entrup schrieb am 18.09.2024 um 14:44: > > Am Dienstag, 17. September 2024, 20:36:23 MESZ schrieb Gerion Entrup: > >> Hi, > >> > >> I want to typeset a table where some of the c

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Hans Hagen
On 9/18/2024 10:53 PM, Wolfgang Schuster wrote: Gerion Entrup schrieb am 18.09.2024 um 14:44: Am Dienstag, 17. September 2024, 20:36:23 MESZ schrieb Gerion Entrup: Hi, I want to typeset a table where some of the column headings are really long, while in the columns itself consists only of

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Wolfgang Schuster
Gerion Entrup schrieb am 18.09.2024 um 14:44: Am Dienstag, 17. September 2024, 20:36:23 MESZ schrieb Gerion Entrup: Hi, I want to typeset a table where some of the column headings are really long, while in the columns itself consists only of numbers. Therefore, my idea was to rotate the

[NTG-context] Re: Table and rotation: push together 45 degree rotated cells

2024-09-18 Thread Gerion Entrup
Am Dienstag, 17. September 2024, 20:36:23 MESZ schrieb Gerion Entrup: > Hi, > > I want to typeset a table where some of the column headings are really long, > while in the columns itself consists only of numbers. > Therefore, my idea was to rotate the column headings but no

[NTG-context] Table and rotation: push together 45 degree rotated cells

2024-09-17 Thread Gerion Entrup
Hi, I want to typeset a table where some of the column headings are really long, while in the columns itself consists only of numbers. Therefore, my idea was to rotate the column headings but not 90 degrees (I found some solutions for that) but 45 degree. It then would be beneficial to push

[NTG-context] Re: table float split behavior

2024-07-10 Thread Henning Hraban Ramm
Am 17.06.24 um 18:36 schrieb Henning Hraban Ramm: Table floats split in odd places, independent of top/page/here location. There’s always a first part, then some not-float text, then the other parts. Even if the table would fit on two pages (with location=page), it always gets split into

[NTG-context] Re: table float split behavior

2024-07-08 Thread vm via ntg-context
On 08/07/2024 16:25, Henning Hraban Ramm wrote: Try #1, it often works where \recurselevel fails. That gives the intended numbers. Thank you ___ If your question is of interest to others as well, please add an e

[NTG-context] Re: table float split behavior

2024-07-08 Thread Henning Hraban Ramm
Am 08.07.24 um 15:48 schrieb vm via ntg-context: There is a reason that the \recurselevel do not work in this context; all \recurselevel show up as zero   {\bTABLE    \dorecurse{100}{    \bTR \bTD \recurselevel \eTD \bTD one \eTD \eTR    \bTR \bTD two \eTD \bTD \recurselevel \eTD \eTR    }

[NTG-context] Re: table float split behavior

2024-07-08 Thread Henning Hraban Ramm
se the parameters of \setupframed, see p.123.”. I’d like to have these hints only in the first caption, and they’re different for each table. It’s not that important, I can move the text somewhere else, but often enough in ConTeXt there are obscure features for advanced stuff. If I understand you cor

[NTG-context] Re: table float split behavior

2024-07-08 Thread vm via ntg-context
On 08/07/2024 14:39, Bruce Horrocks wrote: \defineselector [caption] [max=2] \starttext \setupfloatsplitting [inbetween={\setupselector[caption][n=2]}] \setupselector[caption][n=1] \placetable[split] {\select{caption} {Parameters of \type{\setupsomething}. You can also use the param

[NTG-context] Re: table float split behavior

2024-07-08 Thread Bruce Horrocks
ut I’d also give hints like “You can also use the > parameters of \setupframed, see p.123.”. I’d like to have these hints only in > the first caption, and they’re different for each table. > > It’s not that important, I can move the text somewhere else, but often enough > in ConTeXt there

[NTG-context] Re: table float split behavior

2024-07-07 Thread Henning Hraban Ramm
n, and they’re different for each table. It’s not that important, I can move the text somewhere else, but often enough in ConTeXt there are obscure features for advanced stuff. Hraban ___ If your question is of inter

[NTG-context] Re: table float split behavior

2024-07-07 Thread Bruce Horrocks
> On 7 Jul 2024, at 10:51, Henning Hraban Ramm wrote: > > Also, is it possible to have different captions in first and other parts? This previous thread might help. — Bruce Horrocks Hampshire, UK __

[NTG-context] Re: table float split behavior

2024-07-07 Thread Henning Hraban Ramm
This is a long-time open issue. Am I the only one affected by this? Also, \bTABLEfoot doesn’t repeat – I’d like to use it e.g for a line (rule). Also, is it possible to have different captions in first and other parts? Hraban Am 17.06.24 um 18:36 schrieb Henning Hraban Ramm: Table floats

[NTG-context] Re: How to specify a default formatting for TABLE

2024-07-01 Thread Gerion Entrup
mands > > in the header are not existent. > > My solution does not work, however. > > 1. Put your table settings in a setups-block and load the one you want > at the start of your table. > > 2. You don't need \setupcolors[state=start] because colors are enabled

[NTG-context] Re: How to specify a default formatting for TABLE

2024-07-01 Thread Wolfgang Schuster
? Here is a MWE: [...] The last two tables should be formatted as if the four setupTABLE commands in the header are not existent. My solution does not work, however. 1. Put your table settings in a setups-block and load the one you want at the start of your table. 2. You don't

[NTG-context] How to specify a default formatting for TABLE

2024-07-01 Thread Gerion Entrup
, offset=2pt] \setupTABLE[row][first][topframe=on, bottomframe=on, style=bf] \setupTABLE[row][last][bottomframe=on] \setupTABLE[row][even][background=color,backgroundcolor=red] \setupcolors[state=start] \starttext A table:\\ \bTABLE \bTR \bTD head1 \eTD \bTD head2 \eTD \eTR \bTR \bTD

[NTG-context] table float split behavior

2024-06-17 Thread Henning Hraban Ramm
Table floats split in odd places, independent of top/page/here location. There’s always a first part, then some not-float text, then the other parts. Even if the table would fit on two pages (with location=page), it always gets split into three. Can I influence this anyhow? Hraban

[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread Wolfgang Schuster
ai2472206...@yeah.net schrieb am 05.06.2024 um 16:03: As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} You can use \definehighlight to create a custom command for a style. The case where you want a slash before the text you have to

[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread ai2472206007
I was careless. thank you ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : ht

[NTG-context] Re: After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread Henning Hraban Ramm
Am 05.06.24 um 16:03 schrieb ai2472206...@yeah.net: As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} \starttext \placecontent% if i dont place toc command , ConText can render it. \chapter{anything else} \section{\cmdi{with command

[NTG-context] After using a custom command in the title, the table of contents is not generated properly

2024-06-05 Thread ai2472206007
As described, here is example: % \def\cmd#1{{\tt\textslash #1}} \def\cmdii#1{\tt #1} \def\cmdiii#1{\rm #1} \starttext \placecontent% if i dont place toc command , ConText can render it. \chapter{anything else} \section{\cmdi{with command} section} \section{\cmdii{with command} section} \sec

[NTG-context] Re: [ using horizontal table lines ]

2024-04-15 Thread Wolfgang Schuster
lines, with correct length, but above the wrong columns [...] diff: \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC\DC\DC\DC\DL[4]\DL[3]\AR \NC\DC\DC\DL[4]\DL[4]\AR There is (probably) a correct way to solve this. My suggestion is to switch to either natural table or extreme tables but it seems to me there

[NTG-context] [ using horizontal table lines ]

2024-04-15 Thread vm via ntg-context
I'm probably using the \starttable incorrectly: with this code I only get only *one* horizontal line in the header \starttable[|r|r|r|r|r|r|r|l|r|r|r|r|][bodyfont=9pt] \NC step\NC frac\NC ival\NC \NC\Use{4}[cI]{freq (Hz)}\NC~\NC\Use{4}[cI]{wavelength (m)}\AR \NC\DC\DC\DC\DL[4]\DL[4]\AR \NC 0

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-10 Thread Jim
er two} > \input ward > \stoptext > > Greetings Lutz > Am 9. September 2023 20:11:55 MESZ schrieb Jim : >>Hi, >>I am creating a document which is divided with the unnumbered levels >>(\title, \subject, ...). >>I would like a table of contents sho

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi Wolfgang, On Sat, Sep 9, 2023 at 23:12 (+0200), Wolfgang Schuster wrote: > Jim schrieb am 09.09.2023 um 22:34: >> Wolfgang, >> thanks very much for your help. As a long-time plain TeX user, but a >> ConTeXt n00b, that would have taken me a long time to figure out. >> Having said that (and

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
: > Jim schrieb am 09.09.2023 um 20:11: >> Hi, >> I am creating a document which is divided with the unnumbered levels >> (\title, \subject, ...). >> I would like a table of contents showing the names and page numbers, >> something like >> Bla

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 22:34: Wolfgang, thanks very much for your help. As a long-time plain TeX user, but a ConTeXt n00b, that would have taken me a long time to figure out. Having said that (and not to be ungrateful), for both of your examples below, in my tests only the subsubject sho

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Lutz Haseloff
Jim : >Hi, > >I am creating a document which is divided with the unnumbered levels >(\title, \subject, ...). > >I would like a table of contents showing the names and page numbers, >something like > >Blah blah blah2 >Blah blah 4 >... > >Howeve

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
Jim schrieb am 09.09.2023 um 20:11: Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what

[NTG-context] Table of contents of unnumbered titles

2023-09-09 Thread Jim
Hi, I am creating a document which is divided with the unnumbered levels (\title, \subject, ...). I would like a table of contents showing the names and page numbers, something like Blah blah blah2 Blah blah 4 ... However, notwithstanding what I see in https

[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
The following is a setuplist for the table of contents. Is there a way to have the section part only go to 80% of the page width, similar to width=0.8\textwidth \setuplist [chapter] [style={\bf}] \setuplist [section] [style={\tfx}] \setuplist [chapter,section] [headnumber=no

[NTG-context] Disable continued captions for table parts

2023-08-22 Thread Alexey Kryukov
Dear list, probably a stupid question, but is it possible to have a table splitted across pages without adding labels to all subsequent table parts except the first one? In my book I have captions above tables (\setupcaption[table][location=top]), so they are expected to behave like normal

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Alexey Kryukov
On Fri, 18 Aug 2023 21:11:38 +0200 Wolfgang Schuster wrote: > What you can do here is to put the table together piece by piece with > the collecting > mechanism which collect parts of the table until you flush the whole > collection > at the end with the \stopcollecting comman

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 18.08.2023 um 20:31: On Fri, 18 Aug 2023 20:12:33 +0200 Wolfgang Schuster wrote: Do you create the whole table with Lua? When this is the case a small change to the table section commands on the Lua side can fix your problems but otherwise a different approach is

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Alexey Kryukov
On Fri, 18 Aug 2023 20:12:33 +0200 Wolfgang Schuster wrote: > Do you create the whole table with Lua? When this is the case a small > change to the table section > commands on the Lua side can fix your problems but otherwise a > different approach is needed. Hi Wolfgang, thanks fo

[NTG-context] Re: Table head/body via lua

2023-08-18 Thread Wolfgang Schuster
Alexey Kryukov schrieb am 18.08.2023 um 19:02: Hi, I am trying to generate a table representation for some xml source. As the data structure doesn't directly correspond to the desired table structure, some manipulations via lua are required. So far everything works OK except table secti

[NTG-context] Table head/body via lua

2023-08-18 Thread Alexey Kryukov
Hi, I am trying to generate a table representation for some xml source. As the data structure doesn't directly correspond to the desired table structure, some manipulations via lua are required. So far everything works OK except table sectioning commands, like \bTABLEhead, \eTABLEhead, bTABL

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
> > It's chapter_5 that's the problem, but how do you know what's causing > > the table of contents not to appear ? > depends on the error : the toc comes from the

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Hans Hagen via ntg-context
On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote: It's chapter_5 that's the problem, but how do you know what's causing the table of contents not to appear ? depends on the error : the toc comes from the tuc file so if that o

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
It's chapter_5 that's the problem, but how do you know what's causing the table of contents not to appear ? Le ven. 21 avr. 2023 à 14:42, Fabrice Couvreur a écrit : > Hi Hans, > Alright, I'll compile by integrating one component at a time to figure out > whi

Re: [NTG-context] Table of contents not appearing.

2023-04-21 Thread Fabrice Couvreur via ntg-context
> I don't see why the table of contents does not appear. On the other > > hand, the 12 chapters are present. > > \startproduct[terminale-manual] > > \startfrontmatter > \starttitle[title=Table des matières] > \placelist >

Re: [NTG-context] Table of contents not appearing.

2023-04-20 Thread Hans Hagen via ntg-context
On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. \startproduct[terminale-manual] \startfrontmatter \starttitle[title=Table des matières] \plac

[NTG-context] Table of contents not appearing.

2023-04-20 Thread Fabrice Couvreur via ntg-context
Hi, I don't see why the table of contents does not appear. On the other hand, the 12 chapters are present. Thanks Fabrice \startproduct[terminale-manual] \project[terminale-environment] \startfrontmatter \setuppagenumbering [location=] \definefont [ChapterText

Re: [NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Alan Braslau via ntg-context
Try: \completecontent [criterium=all] Alan On Tue, 18 Apr 2023 01:06:02 +0200 Kalouguine Andre via ntg-context wrote: > Hi, > > I was trying to have my "Acknowledgements" section/chapter before the > table of contents but be contained within it. > > Is

[NTG-context] Table of contents in the middle of a document

2023-04-17 Thread Kalouguine Andre via ntg-context
Hi, I was trying to have my "Acknowledgements" section/chapter before the table of contents but be contained within it. Is it normal that the table of contents is empty if there is a chapter that begins before it? ``` \starttext \chapter{Acknowledgements} Thank you \compl

[NTG-context] natural table oddities

2023-04-01 Thread Henning Hraban Ramm via ntg-context
ormat the header using: \bTD ... \eTD but I'm not sure what the consequences might be, if any. You lose the default bold heading so maybe that's all /bTH.../eTH is adding? Yes, I also found that out – either I sent an incomplete email, or I forgot to add my later “research”. 🤔 T

Re: [NTG-context] natural table oddities

2023-03-27 Thread Bruce Horrocks via ntg-context
x [c][][body][...] could be an option. >> * I don’t understand the addressing options "start" and "one". Me neither. :) >> ## Formatting >> * maxwidth doesn’t seem to have an effect, neither on the whole table nor on >> a column. >> * textwidth works only

Re: [NTG-context] natural table oddities

2023-03-27 Thread Henning Hraban Ramm via ntg-context
re formatted, but not the same column in header. I couldn’t find how to format columns in header. * I don’t understand the addressing options "start" and "one". ## Formatting * maxwidth doesn’t seem to have an effect, neither on the whole table nor on a column. * textwid

  1   2   3   4   5   6   7   8   9   10   >