[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

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

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

2023-04-21 Thread Fabrice Couvreur via ntg-context
An extra parenthesis in a section title seems to be the problem but I'm not sure. I compiled the file line by line and it works now. Thanks Fabrice Le ven. 21 avr. 2023 à 14:37, Hans Hagen via ntg-context a écrit : > On 4/21/2023 5:05 PM, Fabrice Couvreur via ntg-context wrote: > > It's

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 one is not made ...

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 > which one is causing the problem. >

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

2023-04-21 Thread Fabrice Couvreur via ntg-context
Hi Hans, Alright, I'll compile by integrating one component at a time to figure out which one is causing the problem. Thanks. Fabrice Le jeu. 20 avr. 2023 à 15:52, Hans Hagen via ntg-context a écrit : > On 4/20/2023 6:59 PM, Fabrice Couvreur via ntg-context wrote: > > Hi, > > I don't see why

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] \placelist

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

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 it normal that the table of

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

Re: [NTG-context] Table

2023-03-13 Thread Ursula Hermann via ntg-context
Dear Mikael! Many thanks, that works great! Uschi Von: ntg-context Im Auftrag von Mikael Sundqvist via ntg-context Gesendet: Montag, 13. März 2023 14:16 An: mailing list for ConTeXt users Cc: Mikael Sundqvist Betreff: Re: [NTG-context] Table Hi Uschi, On Mon, Mar 13, 2023 at 1:03 PM

Re: [NTG-context] Table

2023-03-13 Thread Mikael Sundqvist via ntg-context
Hi Uschi, On Mon, Mar 13, 2023 at 1:03 PM Ursula Hermann via ntg-context < ntg-context@ntg.nl> wrote: > I’d like to do a Table lik this one > > [image: enter image description here] > > I have no example. How can I do that? > > > > Many thanks > > Uschi > There are probably better ways, but

[NTG-context] Table

2023-03-13 Thread Ursula Hermann via ntg-context
I'd like to do a Table lik this one [enter image description here] I have no example. How can I do that? Many thanks Uschi ___ If your question is of interest to others as well, please add an entry to the Wiki!

Re: [NTG-context] Table of Contents empty for unknown reason

2022-06-13 Thread Aditya Mahajan via ntg-context
On Sun, 12 Jun 2022, Joel via ntg-context wrote: > I need to display a table of contents, but only displaying chapters. > > Here is my minimum working example: You need to add "criterium=all" to both placelist and completecontent. See below: > \starttext >     \startfrontmatter >         

[NTG-context] Table of Contents empty for unknown reason

2022-06-12 Thread Joel via ntg-context
I need to display a table of contents, but only displaying chapters. Here is my minimum working example: \starttext     \startfrontmatter         \startchapter[title={Contents}]             \placelist[chapter]         \stopchapter         \completecontent     \stopfrontmatter     \startbodymatter

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread śrīrāma via ntg-context
On 5/15/22 6:18 PM Bruce Horrocks wrote: > Too slow!! > > I'd already added https://wiki.contextgarden.net/ TABLE#Tables_in_page_headers. Hmm. I searched the wiki for '\bTABLEnested' and this did not show up there. I just now checked the edit history now and you seemed to have added it just

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread Bruce Horrocks via ntg-context
Too slow!! I'd already added https://wiki.contextgarden.net/TABLE#Tables_in_page_headers. > On 15 May 2022, at 12:00, śrīrāma via ntg-context wrote: > > On 5/15/22 2:20 PM Wolfgang Schuster via ntg-context wrote: >> Use the TABLEnested environment in your document header which was added >> to

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread śrīrāma via ntg-context
On 5/15/22 2:20 PM Wolfgang Schuster via ntg-context wrote: > Use the TABLEnested environment in your document header which was added > to avoid problems like in your example. > > \startsetups headertext > \bTABLEnested[setups=headertable,option=stretch] > ... > \eTABLEnested > \stopsetups

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-15 Thread Wolfgang Schuster via ntg-context
Stefan Nedeljkovic via ntg-context schrieb am 13.05.2022 um 09:00: Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files. Use the TABLEnested environment in your document header which was

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
Wow, thank you very, very much! On Sun, 15 May 2022, 05:35 śrīrāma, wrote: > On 5/13/22 12:30 PM Stefan Nedeljkovic via ntg-context wrote: > > Dear list I need your help with a table that seems to completely screw up > > the page when it spans across multiple pages. I'm attaching all the > >

Re: [NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread śrīrāma via ntg-context
On 5/13/22 12:30 PM Stefan Nedeljkovic via ntg-context wrote: > Dear list I need your help with a table that seems to completely screw up > the page when it spans across multiple pages. I'm attaching all the > necessary files. > > Kind regards, > Stefan This seems to be a known issue for quite a

[NTG-context] Table breaks incorrectly between pages

2022-05-14 Thread Stefan Nedeljkovic via ntg-context
Dear list I need your help with a table that seems to completely screw up the page when it spans across multiple pages. I'm attaching all the necessary files. Kind regards, Stefan \input fonts \usetypescript[ibmplex][uc] \setupbodyfont[ibmplex,rm,9pt] \setuppapersize[A4] \setuplayout[

Re: [NTG-context] Table of Contents Header?

2021-12-30 Thread kauśika via ntg-context
On Friday, December 31, 2021 7:53:08 AM IST Michael Urban via ntg-context wrote: > Or is there some more foolproof way of getting those headers into the right > place? Here is something I quickly wrote up: First, define some labels for the columns of the ToC —

[NTG-context] Table of Contents Header?

2021-12-30 Thread Michael Urban via ntg-context
I am playing around with imitating the design of fiction books from the early 20th century. The table of contents for these books often has small headings, 'CHAPTER' (or 'CHAP.') and 'PAGE' over the respective columns. How might this best be accomplished in ConTeXt? Just add a carefully

Re: [NTG-context] Table disappears in floatcombination

2021-03-28 Thread Christoph Reller
On Mon, Jan 4, 2021 at 7:59 PM Christoph Reller wrote: > On Sat, Dec 26, 2020 at 3:01 PM Hans Hagen wrote: > >> On 12/26/2020 2:56 PM, Christoph Reller wrote: >> > >> > On Sat, Dec 26, 2020 at 10:54 AM Hans Hagen > > > wrote: >> > >> > On 12/25/2020 9:47 PM,

Re: [NTG-context] Table of Content

2021-02-12 Thread Hans Hagen
On 2/12/2021 4:52 PM, Pablo Rodriguez wrote: On 2/12/21 4:40 PM, Hans Hagen wrote: On 2/12/2021 3:43 PM, Pablo Rodriguez wrote: [...] "\page\null\page" does the trick in your case. \page[left,empty,right] etc Hans, I never thought this were possible: \starttext

Re: [NTG-context] Table of Content

2021-02-12 Thread Pablo Rodriguez
On 2/12/21 4:40 PM, Hans Hagen wrote: > On 2/12/2021 3:43 PM, Pablo Rodriguez wrote: >> [...] >> "\page\null\page" does the trick in your case. > > \page[left,empty,right] etc Hans, I never thought this were possible: \starttext \page[left,empty,right, left,empty,right,

Re: [NTG-context] Table of Content

2021-02-12 Thread Pablo Rodriguez
On 2/11/21 12:11 PM, Ursula Hermann wrote: > Dear List! > > > I did this example, which works perfect. If i would like to  take a new > page after the Table of Content, is \page the right way?  Hi Ursula, "\page\null\page" does the trick in your case. "\setuppagenumber[alternative=doublesided]"

[NTG-context] Table of Content

2021-02-11 Thread Ursula Hermann
Dear List! I did this example, which works perfect. If i would like to take a new page after the Table of Content, is \page the right way? % mode=mkiv \setuppapersize[A7][A7] \language[de] %list the "subject" sections in the ToC but don't modify the "section" counter: \setuphead[subject]

Re: [NTG-context] Table disappears in floatcombination

2020-12-26 Thread Christoph Reller
On Sat, Dec 26, 2020 at 10:54 AM Hans Hagen wrote: > On 12/25/2020 9:47 PM, Christoph Reller wrote: > > Hi, > > > > Consider the following MWE: > > > > \definefloat[combination][figure] > > \setupcaptions[ > >number=no, %<- comment and table appears > >align=flushright] > > \starttext >

Re: [NTG-context] Table disappears in floatcombination

2020-12-26 Thread Hans Hagen
On 12/25/2020 9:47 PM, Christoph Reller wrote: Hi, Consider the following MWE: \definefloat[combination][figure] \setupcaptions[   number=no, %<- comment and table appears   align=flushright] \starttext \startplacecombination[title=Combination]   \startfloatcombination    

[NTG-context] Table disappears in floatcombination

2020-12-25 Thread Christoph Reller
Hi, Consider the following MWE: \definefloat[combination][figure] \setupcaptions[ number=no, %<- comment and table appears align=flushright] \starttext \startplacecombination[title=Combination] \startfloatcombination \startplacetable%[title=Table] %<- uncomment and table appears

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

2020-03-31 Thread Christian Prim
Hello Hans many thanks for the fix! Christian Am Mo., 30. März 2020 um 22:45 Uhr schrieb Hans Hagen : > On 3/30/2020 6:23 PM, Christian Prim wrote: > > Hello list > > > > following MWE gives a strange error "(interwoven alignment preambles are > > not allowed)" when processed with lmtx: > > >

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

2020-03-30 Thread Hans Hagen
On 3/30/2020 6:23 PM, Christian Prim wrote: Hello list following MWE gives a strange error "(interwoven alignment preambles are not allowed)" when processed with lmtx: \definetabletemplate[fosa][s0|xp(3.5cm)|lw(0.7cm)|xp(5cm)s2|lw(2.5cm)|] \starttext \starttable[fosa] \NC Cell 1

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

2020-03-30 Thread Wolfgang Schuster
Christian Prim schrieb am 30.03.2020 um 18:23: Hello list following MWE gives a strange error "(interwoven alignment preambles are not allowed)" when processed with lmtx: \definetabletemplate[fosa][s0|xp(3.5cm)|lw(0.7cm)|xp(5cm)s2|lw(2.5cm)|] \starttext \starttable[fosa] \NC Cell 1

[NTG-context] Table-bug in lmtx?

2020-03-30 Thread Christian Prim
Hello list following MWE gives a strange error "(interwoven alignment preambles are not allowed)" when processed with lmtx: \definetabletemplate[fosa][s0|xp(3.5cm)|lw(0.7cm)|xp(5cm)s2|lw(2.5cm)|] \starttext \starttable[fosa] \NC Cell 1 \NC\Use3[p(8cm)]{A longer cell}\NC\AR \MR \NC Cell 1 \NC

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

2018-12-16 Thread Wolfgang Schuster
Aditya Mahajan schrieb am 14.12.18 um 15:18: On Thu, 13 Dec 2018, Taco Hoekwater wrote: I am attempting to process html tables that are styled using css, and I have problem with the ‘height’ property. CSS (or rather, the html browser) interprets ‘height’ as if it was a “minheight”, and if

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

2018-12-14 Thread Taco Hoekwater
Hi all, Offlist, Wolfgang sent me a patch for \framed (which \eTD inherits from) that adds a minheight key, and Hans promised to add that to the next beta :) Best wishes, Taco > On 14 Dec 2018, at 15:18, Aditya Mahajan wrote: > > On Thu, 13 Dec 2018, Taco Hoekwater wrote: > >> I am

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

2018-12-14 Thread Aditya Mahajan
On Thu, 13 Dec 2018, Taco Hoekwater wrote: I am attempting to process html tables that are styled using css, and I have problem with the ‘height’ property. CSS (or rather, the html browser) interprets ‘height’ as if it was a “minheight”, and if the content does not fit, it will just enlarge

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

2018-12-13 Thread Taco Hoekwater
Hi all, I am attempting to process html tables that are styled using css, and I have problem with the ‘height’ property. CSS (or rather, the html browser) interprets ‘height’ as if it was a “minheight”, and if the content does not fit, it will just enlarge the height until it does fit. Needless

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
Hi Wolfgang and Henri, Thank you so much. What is the document that allows me to find more information about context and lua ? Fabrice Le dim. 11 nov. 2018 à 09:57, Wolfgang Schuster < wolfgang.schuster.li...@gmail.com> a écrit : > > > Henri Menke schrieb am 11.11.18 um 01:25: > > > > On

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

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.startxtable({"align=middle, width=1.25cm"}) >

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.startxtable({"align=middle, width=1.25cm"}) >

[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.5cm"})

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
On 28/10/2018 16:06, Joseph Wright wrote: 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

Re: [NTG-context] Table "modules"

2018-10-28 Thread Hans Hagen
On 10/28/2018 5:06 PM, Joseph Wright wrote: 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

[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] 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
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 using? On my installation of context, columns are

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

[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] 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] 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
On 7/28/2018 11:09 AM, Henning Hraban Ramm wrote: Meanwhile I had a look into the manuals folder and found the xtables manual. Section 5 about \definextable and \starttexdefinition is especially interesting. I guess I need to try both. (My ConTeXt fu is always outdated, it seems...) not much

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[mystyle], and then \setupTABLE[mystyle][...] ?

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 like

[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

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

2018-06-27 Thread Wolfgang Schuster
Xavier Dionne 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. It uses

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
Remove the alignment environment, floats are centered by default. Wolfgang Procházka Lukáš Ing. 9. Juni 2018 um 20:33 Hello, I have two questions about TABLEs. Suppose having the following code: \setuplayout[page]

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[none] was not "enough",

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

2018-06-21 Thread Procházka Lukáš Ing .
Hello, thanks, it works: \startalignment[middle] \startplacetable[location={split,force,none}] \bTABLE[split=repeat] \bTABLEhead \bTR\bTH A\eTH\bTH B\eTH\eTR \eTABLEhead \bTABLEbody \dorecurse{60}{ \bTR \bTD

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

2018-06-20 Thread Aditya Mahajan
On Sat, 9 Jun 2018, Procházka Lukáš Ing. wrote: Hello, I have two questions about TABLEs. Suppose having the following code: \setuplayout[page] \starttext \startalignment[middle]

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

2018-06-20 Thread Wolfgang Schuster
Procházka Lukáš Ing. 20. Juni 2018 um 07:43 Hello, On Sat, 09 Jun 2018 20:33:30 +0200, Procházka Lukáš Ing. wrote: any reaction? E.g. "splitted TABLE cannot be centered on pages - the alg is not implemented, and won't be" or "splitted TABLE cannot be centered on

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

2018-06-19 Thread Procházka Lukáš Ing .
Hello, On Sat, 09 Jun 2018 20:33:30 +0200, Procházka Lukáš Ing. wrote: - How to make the "uuu - vvv" table - which goes into several pages - centered on each page, like "aaa - bbb" (non splitting) table is? any reaction? E.g. "splitted TABLE cannot be centered on pages - the alg is not

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

2018-06-19 Thread Xavier Dionne
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. It uses the eXtreme table format and supports many features including : - Borders,

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

2018-06-09 Thread Procházka Lukáš Ing .
Hello, I have two questions about TABLEs. Suppose having the following code: \setuplayout[page] \starttext \startalignment[middle] \dontleavehmode

Re: [NTG-context] table and tabulate "negative" extra spacing

2018-05-21 Thread Alan Braslau
On Mon, 21 May 2018 15:47:41 -0400 (EDT) Aditya Mahajan wrote: > On Mon, 21 May 2018, Alan Braslau wrote: > > > Hello, > > > > In \starttable and \starttabulate, one can add extra blank space > > between rows using \TB[...]. > > > > Is there some way to add "negative"

Re: [NTG-context] table and tabulate "negative" extra spacing

2018-05-21 Thread Aditya Mahajan
On Mon, 21 May 2018, Alan Braslau wrote: Hello, In \starttable and \starttabulate, one can add extra blank space between rows using \TB[...]. Is there some way to add "negative" spacing, that is to tighten or reduce the spacing between any two rows? Just use negative space: \TB[-line] or

[NTG-context] table and tabulate "negative" extra spacing

2018-05-21 Thread Alan Braslau
Hello, In \starttable and \starttabulate, one can add extra blank space between rows using \TB[...]. Is there some way to add "negative" spacing, that is to tighten or reduce the spacing between any two rows? Thanks, Alan

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 04 Mar 2018 06:29:53 -0700, Hans Hagen wrote: A working minimal example follows. Is this the recommended practice? Can it be streamlined further? : \placecontent \placelist[content] [subject,section,subsection,subsubsection] Hm, toggling lines 12-13 below:

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
On 3/4/2018 2:01 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sun, 04 Mar 2018 02:47:17 -0700, Hans Hagen wrote: On 3/4/2018 4:27 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang,  Here's a strange situation:  In approach I) we get the subject heading in the TOC,

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Idris Samawi Hamid ادريس سماوي حامد
On Sun, 04 Mar 2018 02:47:17 -0700, Hans Hagen wrote: On 3/4/2018 4:27 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Here's a strange situation: In approach I) we get the subject heading in the TOC, but style=bold doesn't work. In approach II) style=bold works,

Re: [NTG-context] Table of contents: style and subject

2018-03-04 Thread Hans Hagen
On 3/4/2018 4:27 AM, Idris Samawi Hamid ادريس سماوي حامد wrote: Dear gang, Here's a strange situation: In approach I) we get the subject heading in the TOC, but style=bold doesn't work. In approach II) style=bold works, but the subject heading doesn't show up. For each approach, how do we

[NTG-context] Table of contents: style and subject

2018-03-03 Thread Idris Samawi Hamid ادريس سماوي حامد
Dear gang, Here's a strange situation: In approach I) we get the subject heading in the TOC, but style=bold doesn't work. In approach II) style=bold works, but the subject heading doesn't show up. For each approach, how do we get both subject heading and style=bold in the TOC? Between

Re: [NTG-context] Table of content in presentation example

2017-05-13 Thread Hans Hagen
On 5/12/2017 10:08 PM, cryo shock wrote: \placecontent \placelist[chapter,section][criterium=all] by default you get a local one (you can also ask for one level up and so) - Hans

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
Sorry, another side question: Is there no way to set the distance from the title in the TOC to the page number? I tried alternative=c with width, maxwidth, distance... I still can't set it tighter. Going from the far left to the far right is not good from the audience's POV. I saw some example

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
Sorry, me again. After fiddling around I found out why it didn't work: because \placecontent was *within* the subject that it had to print. Kind of a Gordian Knot or what was it called...? I modified my code a little, so that it looks better, but still one thing is missing... That's what my code

Re: [NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
I forgot to add that I also tried a modified \setuplist: \setuplist[subject][width=2cm,margin=2cm] and \setuplist[subject][margin=2cm] I also added the following line to the component: \setupcombinedlist[content][list={chapter,subject,subsubject,section,subsection,slide}] Yet the Toc page

[NTG-context] Table of content in presentation example

2017-05-12 Thread cryo shock
Hi guys, I downloaded a sample presentation with component and example presentation from a link off of ctxwiki. I will attach both files and a premade PDF that shows what I mean. So far I edited the component a little in display style, yet I don't know why I can't get a simple table of content on

[NTG-context] Table on two pages (natural tables)

2017-01-10 Thread Fabrice Couvreur
Hello, My table does not fit on the first page that contains the title of the evaluation and I would like it to continue on the second page. I tried using the key split = yes but my table moves to the second page and there is more than the title of the first. thank you, Fabrice

[NTG-context] TABLE breaking is weird

2016-12-19 Thread Henri Menke
Dear list, the problem is hard to describe but TABLE breaking behaves in a weird way. Please try out the MWE below. It is reproducible on TL2016 and latest beta. Cheers, Henri --- MWE --- \starttext \dorecurse{10}{\input lorem} \startplacetable [ title={Landscape table},

Re: [NTG-context] table and \setuptables questions

2016-11-17 Thread Csikos Bela
Hans Hagen írta: >On 11/11/2016 4:26 PM, Csikos Bela wrote: >> Dear list members: >> >> I have this simple table: >> >> \starttext >> \placetable[here]{title}{ >> \setuptables[bodyfont=8pt,rulethickness=0.04em] >> \start >> \setuplocalinterlinespace[2.2ex] >> \starttable[|lp(5cm)|lp(5cm)|cp(2cm)|]

Re: [NTG-context] table and \setuptables questions

2016-11-17 Thread Csikos Bela
Please disregard my last message. I haven't noticed that an answer arrived a little bit earlier I posted it. But I don't understand why it didn't go in a new thread. Best regards, bcsikos ___ If your question is of

[NTG-context] table and \setuptables questions

2016-11-17 Thread Csikos Bela
Dear list members: Last time I sent this message to the wrong thread accidentally. Now I send it again, hopefully to a new thread. I have this simple table: \starttext \placetable[here]{title}{ \setuptables[bodyfont=8pt,rulethickness=0.04em] \start \setuplocalinterlinespace[2.2ex]

Re: [NTG-context] table and \setuptables questions

2016-11-17 Thread Hans Hagen
On 11/11/2016 4:26 PM, Csikos Bela wrote: Dear list members: I have this simple table: \starttext \placetable[here]{title}{ \setuptables[bodyfont=8pt,rulethickness=0.04em] \start \setuplocalinterlinespace[2.2ex] \starttable[|lp(5cm)|lp(5cm)|cp(2cm)|] \HL[2] \NC \bf First Column \NC \bf Second

[NTG-context] table and \setuptables questions

2016-11-11 Thread Csikos Bela
Dear list members: I have this simple table: \starttext \placetable[here]{title}{ \setuptables[bodyfont=8pt,rulethickness=0.04em] \start \setuplocalinterlinespace[2.2ex] \starttable[|lp(5cm)|lp(5cm)|cp(2cm)|] \HL[2] \NC \bf First Column \NC \bf Second Column \NC \bf Third Column \NC \SR \HL \NC

  1   2   3   4   5   >