Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread Mikael Sundqvist
I do not recommend against the start/stop variant, but in this case I think you can also do \chapter[title=..., list=..., bookmark=...] /Mikael Den ons 12 aug. 2020 05:46jbf skrev: > That is clear enough and works (of course!) and reminds me that I'm > better off using the

[NTG-context] further to the earlier header question

2020-08-11 Thread jbf
Clearly I am now getting myself quite confused where headers are concerned, and have sought as much info as I can on the wiki, but am not getting the desired results. We are talking about ConTeXt MkIV and a doublesided document. If I only use \chapter throughout and have my setup as:

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
Nicola schrieb am 11.08.2020 um 22:21: On 2020-08-11, Pablo Rodriguez wrote: On 8/11/20 9:24 PM, Nicola wrote: Thank Pablo, Wolfgang, I have learned more by reading your replies than by myself in the rest of the afternoon. Hi Nicola, if you found replies useful, please update the wiki

Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread jbf
That is clear enough and works (of course!) and reminds me that I'm better off using the \starttitle...\stoptitle format than just \title as I have been. J On 12/8/20 1:23 pm, Aditya Mahajan wrote: [   title={Title of chapter},   list={What appears in TOC},   bookmark={What

Re: [NTG-context] \title with extra content in toc

2020-08-11 Thread Aditya Mahajan
On Wed, 12 Aug 2020, jbf wrote: Still dealing with \title, but am creating a separate thread because the question is different. As well as using \title within frontmatter (my previous question was about the header not appearing on final page if it is an odd/recto page) I am also using it in

Re: [NTG-context] \checkpage in the TOC

2020-08-11 Thread Hans Hagen
On 8/10/2020 11:02 PM, Willi Egger wrote: Hello! humble, in another book I am trying to improve the list of contents. On different places occur page breaks which should be addressed and corrected. I tried to use the method \checkpage[][], however my attempts are not succesful. For your

[NTG-context] \title with extra content in toc

2020-08-11 Thread jbf
Still dealing with \title, but am creating a separate thread because the question is different. As well as using \title within frontmatter (my previous question was about the header not appearing on final page if it is an odd/recto page) I am also using it in the main body for 'chapters' that

[NTG-context] header text on final page of section

2020-08-11 Thread jbf
I am using \title within frontmatter for an introduction. The \setupheadertexts for title (recto and verso pages) is: \setupheadertexts   [{\hfill\getmarking[title]\hfill}][]   [{\hfill\documentvariable{metadata:title}\hfill}][] Now, that setup (this time for [chapter]) works correctly for

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Otared Kavian
Hi Hans, Thanks for your explanations, which clarify why sometimes ConTeXt may not work straight of TeXLive. Nevertheless I will contact the people who maintain MacTeX in order for them to be aware of the issue I encounter, so that hopefully in the future releases people would be able to use

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 10:11 PM, Nicola wrote: >> Consider this example: >> >> \definemakeup[toc][align=middle] >> \setuppagenumbering[alternative=doublesided] >> \starttext >> \startfrontmatter >> \startmakeup[toc] >> \placecontent

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
On 2020-08-11, Pablo Rodriguez wrote: > On 8/11/20 9:24 PM, Nicola wrote: >> Thank Pablo, Wolfgang, >> I have learned more by reading your replies than by myself in the rest >> of the afternoon. > > Hi Nicola, > > if you found replies useful, please update the wiki (this may help others). > >>

Re: [NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 10:11 PM, Nicola wrote: > Consider this example: > > \definemakeup[toc][align=middle] > \setuppagenumbering[alternative=doublesided] > \starttext > \startfrontmatter > \startmakeup[toc] > \placecontent > \stopmakeup >

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 8:34 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 11.08.2020 um 14:53: >> On 8/11/20 1:32 PM, Nicola wrote: >> [...] >>> 3. Suppress page numbers and headers in all blank pages. >> >> Break pages with \page[yes, blank]. > > Not the best solution for empty pages before a new

[NTG-context] Page number 0 in Table of Contents with makeup

2020-08-11 Thread Nicola
Consider this example: \definemakeup[toc][align=middle] \setuppagenumbering[alternative=doublesided] \starttext \startfrontmatter \startmakeup[toc] \placecontent \stopmakeup %\setuppagenumber[number=1]

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 9:24 PM, Nicola wrote: > Thank Pablo, Wolfgang, > I have learned more by reading your replies than by myself in the rest > of the afternoon. Hi Nicola, if you found replies useful, please update the wiki (this may help others). > Just one more thing: > [...] > I'd prefer all the

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
Thank Pablo, Wolfgang, I have learned more by reading your replies than by myself in the rest of the afternoon. Just one more thing: >>> 1. Increase the space between Roman numbers and titles in the ToC. >> >> distance with dimension is the key in \setuplist. > > Correct but it's also important

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 11.08.2020 um 14:53: On 8/11/20 1:32 PM, Nicola wrote: Hi, first of all, let me say *thank you* for the vast improvements on ConTeXt Garden! Browsing the documentation and finding stuff is so much easier and pleasant than it used to be (also the site seems faster).

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
Mike Cooper schrieb am 11.08.2020 um 19:20: -Original Message- From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] Sent: Tuesday, August 11, 2020 10:07 AM To: mailing list for ConTeXt users Cc: Mike Cooper Subject: Re: [NTG-context] custom header/footer for 1st/other

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Mike Cooper
> -Original Message- > From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] > Sent: Tuesday, August 11, 2020 11:15 AM > To: mailing list for ConTeXt users > Cc: Mike Cooper > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of section > > Mike Cooper

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Mike Cooper
> -Original Message- > From: Wolfgang Schuster [mailto:wolfgang.schuster.li...@gmail.com] > Sent: Tuesday, August 11, 2020 10:07 AM > To: mailing list for ConTeXt users > Cc: Mike Cooper > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of section > > > Mike Cooper

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
Mike Cooper schrieb am 11.08.2020 um 19:01: -Original Message- From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning Hraban Ramm Sent: Tuesday, August 11, 2020 12:37 AM To: mailing list for ConTeXt users Subject: Re: [NTG-context] custom header/footer for

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Mike Cooper
> -Original Message- > From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Henning > Hraban Ramm > Sent: Tuesday, August 11, 2020 12:37 AM > To: mailing list for ConTeXt users > Subject: Re: [NTG-context] custom header/footer for 1st/other pages of section > > > One thing

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Wolfgang Schuster
Mike Cooper schrieb am 10.08.2020 um 23:40: -Original Message- From: ntg-context [mailto:ntg-context-boun...@ntg.nl] On Behalf Of Wolfgang Schuster Sent: Thursday, August 06, 2020 2:58 PM To: mailing list for ConTeXt users Subject: Re: [NTG-context] custom header/footer for 1st/other

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Hans Hagen
Hi, A few remarks. In a mkiv luatex setup there are (on a unix system): luatex : binary mtxrun : a copy of mtxrun.lua context : a shell script starting mtxrun Now, the problem there is that these shebang lines are limited, i.e. there is no way to pass an argument and we need to start

Re: [NTG-context] How can I use ConTeXt from TeXLive2020 ?

2020-08-11 Thread Otared Kavian
Hi Adam, Thanks for your attention to my problem. > On 11 Aug 2020, at 03:44, Adam Reviczky wrote: > > Hi Otared, > > Not sure this will help at all, but I've seen similar errors when > "texmfcnf.lua" wasn't found (alongside texmf.cnf). > > Although I am not using TeXLive2020, I have the

[NTG-context] new upload - matching gimmick

2020-08-11 Thread Hans Hagen
Hi, For those who like playing around you can use lua pettern matching in a match loop: \starttext \doloopovermatch {(\letterpercent w+) *(\letterpercent w*)} {aa bb cc dd} { [ \doloopovermatch {(\letterpercent w)(\letterpercent w)} {#1}

[NTG-context] new upload - hyphenation

2020-08-11 Thread Hans Hagen
Hi, One can suppress hyphenation with: \setupalign[nothyphenated] but it has some limitations. The low level switches are \nohyphens and \dohyphens. Anyway, this mechanism has now been improved a bit: \starttext \startbuffer NEDERLANDS\par Nederlands\par nederlands\par \CONTEXT \par

Re: [NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Pablo Rodriguez
On 8/11/20 1:32 PM, Nicola wrote: > Hi, > first of all, let me say *thank you* for the vast improvements on > ConTeXt Garden! Browsing the documentation and finding stuff is so > much easier and pleasant than it used to be (also the site seems > faster). Hi Nicola, Garulfo invested a lot of time

[NTG-context] Help on tweaking alignment, page numbers and ToC

2020-08-11 Thread Nicola
Hi, first of all, let me say *thank you* for the vast improvements on ConTeXt Garden! Browsing the documentation and finding stuff is so much easier and pleasant than it used to be (also the site seems faster). Thanks to the docs, dropcaps and protrusion have no secrets for me, but I am still

[NTG-context] Same counter for figures as theorems

2020-08-11 Thread Tim Steenvoorden
Hi all, I’ve a text where chapters are numbered 1, 2, 3, … and sections 1.1, 1.2, 1.3, … Now I’d like all elements (figures, tables, examples, definitions, theorems, …) to be numbered consecutively prefixed by the chapter and section number, so 1.1.1, 1.1.2, 1.2.1, ... I’ve managed to change

[NTG-context] \checkpage in the TOC

2020-08-11 Thread Willi Egger
Hello! humble, in another book I am trying to improve the list of contents. On different places occur page breaks which should be addressed and corrected. I tried to use the method \checkpage[][], however my attempts are not succesful. For your reference I include a screenshot of the

Re: [NTG-context] custom header/footer for 1st/other pages of section

2020-08-11 Thread Henning Hraban Ramm
> One thing I *CANNOT* figure out: I've been using \doifoddpageelse to put in > a blank/empty page at the end of a section (if needed) so that new sections > always start on an odd page. This is still working with the change to > chapters from sections, EXCEPT for the first chapter (after