[NTG-context] Re: chapter counter?

2024-08-26 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 26.08.2024 um 20:14: Am 26.08.24 um 17:57 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 26.08.2024 um 17:41: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t

[NTG-context] Re: chapter counter?

2024-08-26 Thread Henning Hraban Ramm
Am 26.08.24 um 17:58 schrieb Aditya Mahajan: On Mon, 26 Aug 2024, Henning Hraban Ramm wrote: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong otherwise.

[NTG-context] Re: chapter counter?

2024-08-26 Thread Henning Hraban Ramm
Am 26.08.24 um 17:57 schrieb Wolfgang Schuster: Henning Hraban Ramm schrieb am 26.08.2024 um 17:41: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong

[NTG-context] Re: chapter counter?

2024-08-26 Thread Aditya Mahajan
On Mon, 26 Aug 2024, Henning Hraban Ramm wrote: > Hi, > I’d like to check the chapter number like > > \ifodd\rawcountervalue[chapter] > What an odd chapter! > \fi > > but apparently the counter isn’t called "chapter", or I’m doing it wrong > otherwise

[NTG-context] Re: chapter counter?

2024-08-26 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 26.08.2024 um 17:41: Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong otherwise. Could you enlighten me? \namedheadnumb

[NTG-context] chapter counter?

2024-08-26 Thread Henning Hraban Ramm
Hi, I’d like to check the chapter number like \ifodd\rawcountervalue[chapter] What an odd chapter! \fi but apparently the counter isn’t called "chapter", or I’m doing it wrong otherwise. Could you enlighten m

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
Hi, Finally got it working with:; \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \define[2]\MyChapterCommand {\framed[align=flushright, width=\textwidth, frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}} \framed[backgroundcolor=maincolor, background=color

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
Hi, My final version is below: \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \define[2]\MyChapterCommand {\framed[align=flushright, frame=off]{\rotate[rotation=90]{\rm\small\sc \headtext{chapter}} \framed[backgroundcolor=maincolor, background=color, frame=off

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
This is what I came up with: \setupcolors[state=start] \definecolor [maincolor] [r=, g=.5, b=.7] \setupinteraction [ state=start, color=maincolor, contrastcolor=maincolor, style=, ] \define[2]\MyChapterCommand% {\rotate[rotation=90]{\rm\small\sc \headtext{chapter

[NTG-context] Re: Customizing chapter titles

2024-08-06 Thread Henning Hraban Ramm
Am 06.08.24 um 21:26 schrieb Shiv Shankar Dayal: What is the general method of customizing chapter titles? For example, I would like something like the attachment. Is it achievable without using Metapost? If you can create it with a macro, you can use it for a title. This looks just like

[NTG-context] Customizing chapter titles

2024-08-06 Thread Shiv Shankar Dayal
Hi, What is the general method of customizing chapter titles? For example, I would like something like the attachment. Is it achievable without using Metapost? -- Respect, Shiv Shankar Dayal ___ If your question is

[NTG-context] Re: Customizing chapter and page no. styles

2024-08-02 Thread Duncan Hothersall
chapter titles: \startuniqueMPgraphic{titled} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; pickup pencircle scaled 1mm ; drawoptions(withcolor .625yellow) ; draw llcorner p -- lrcorner p ; setbounds currentpicture to p ; \stopuniqueMPgraphic \defineoverlay

[NTG-context] Customizing chapter and page no. styles

2024-08-02 Thread Shiv Shankar Dayal
Hi, I was going through the Metafun manual, the print version, which comes with distribution. I see how page no. and chapters are styles. How can I customize for that kind of output in the current version of ConTeXt? -- Respect, Shiv Shankar Dayal

[NTG-context] Re: Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 20:35: I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1

[NTG-context] Suppress the Chapter Number in the Section Numbering

2024-03-19 Thread Jeroen
I am trying to suppress the chapter number in a section number as below as in 1., 2., etc instead of 1.1, 1.2, etc. Is there a simple way to achieve this? 1. The First Chapter 1. The First Section ... 2. The Second Section ... 2. The Second Chapter 1. The Third Section ... 2. The Fourth Section

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Wolfgang Schuster
Jeroen schrieb am 19.03.2024 um 12:59: I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Jeroen
I have been able to achieve it as following, but the first frame width is fixed so will cause problems with other chapter numbers such as VIII \unexpanded\def\HeadTitle#1#2% {\hbox to \hsize \bgroup \hfill \setupframed[offset=.5em,frame=off] \tbox{\framed[width=22mm,align=right]{#1}}% \tbox

[NTG-context] Re: Adjusted Chapter Headings

2024-03-19 Thread Hraban Ramm
Hi Jeroen, it might make sense to use \setuphead[chapter][ conversion=R, ] \setuplabeltext[nl][chapter={Boek }] instead of ownnumber. I would use one command for number and title and put both in the same kind of frame. Probably you should use a \strut in the text or \inframed[strut=yes

[NTG-context] Adjusted Chapter Headings

2024-03-19 Thread Jeroen
I have some style adjustments for the chapters. The chapter "numbers" need to be Boek I, Boek II, etc. A vertical separator was introduced with an inframe. The chapter title at the right side does not vertically align properly with the chapter number in the frame (inside the frame is

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Wolfgang Schuster
Jeroen schrieb am 16.09.2023 um 22:28: This MWE has a framed text for some verbatim text (code) with as title ref. a counter 1, 2, etc.. Is there a way to change this frame text title as following with the chapter number and a sequential number and the title. Code Fragment 1.1 (The First

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Jeroen
That works fine except that the following line does only issue the sequential number and not the chapter number. Refer to \in{code fragment}[tit1] bla MWE: \startuseMPgraphic{CountFrame} picture p; numeric w, h, o; p := textext.rt("\wrappedcurrentconstruction"); w := Overlay

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Bruce Horrocks
> On 16 Sep 2023, at 21:28, Jeroen wrote: > > This MWE has a framed text for some verbatim text (code) with as title ref. a > counter 1, 2, etc.. Is there a way to change this frame text title as > following with the chapter number and a sequential number and the ti

[NTG-context] Framed Text with Chapter Numbers as Counter

2023-09-16 Thread Jeroen
This MWE has a framed text for some verbatim text (code) with as title ref. a counter 1, 2, etc.. Is there a way to change this frame text title as following with the chapter number and a sequential number and the title. Code Fragment 1.1 (The First Title) Code Fragment 1.2 (The Second Title

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread jbf
using alternative=d, which I confess I had entirely overlooked! Julian On 5/9/23 08:43, Max Chernoff wrote: Hi Julian, I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Has anyone put together

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-04 Thread Max Chernoff
Hi Julian, > I am attempting to get a TOC that looks like the following (in other > words with section titles and their relative page numbers in a block > below the chapter): > Has > anyone put together a TOC of this kind and might be able to give me a > hint to follo

[NTG-context] Re: TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-03 Thread Wolfgang Schuster
jbf schrieb am 04.09.2023 um 08:34: I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6

[NTG-context] TOC with sections titles and page numbers like a paragraph beneath chapter

2023-09-03 Thread jbf
I am attempting to get a TOC that looks like the following (in other words with section titles and their relative page numbers in a block below the chapter): Chapter 1 ...5 Section 1   5, Section 2  6, Section 3  7, Section 4   8, Section 5   9

Re: [NTG-context] How to show bibliography only for the chapter?

2023-05-06 Thread Alan Braslau via ntg-context
On Sat, 6 May 2023 12:09:10 + (UTC) Joel via ntg-context wrote: > I am trying to place a bibliography at the end of the chapter, not > the end of the whole document. I tried various code such as > `criteria=bychapter` etc., but it will only show the entire > bibliography f

[NTG-context] How to show bibliography only for the chapter?

2023-05-06 Thread Joel via ntg-context
I am trying to place a bibliography at the end of the chapter, not the end of the whole document. I tried various code such as `criteria=bychapter` etc., but it will only show the entire bibliography for the whole document. How can I limit the list to the material falling within that chapter

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
à 14:24, Bruce Horrocks via ntg-context a écrit : Hi Alex, I couldn't get it to work with \tabulate so I switched to TABLE instead. The workaround for the horizontal mode problem is to put the chapter title into row two of the table. Hopefully this works with your actual text. Also I'm

Re: [NTG-context] Chapter cover page

2023-02-23 Thread Bruce Horrocks via ntg-context
Hi Alex, I couldn't get it to work with \tabulate so I switched to TABLE instead. The workaround for the horizontal mode problem is to put the chapter title into row two of the table. Hopefully this works with your actual text. Also I'm not sure where \layoutcolumnwidth is coming

[NTG-context] Chapter cover page

2023-02-23 Thread Alex Leray via ntg-context
Hello, I'm trying to figure out how to design a chapter page for a custom head section with uservariables defined. I'd like to have the chapter page start on a right page. I'd like this page to feature the title of the chapter (here: an interview) along with some othe

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
I somehow found a way. It doesn't work on my minimal example but it does in my real doc. I tested a lot of thing but I think it was thanks to the offset=none parameters For the record: ### \define[2]\MySection{ \framed[ location=top, strut=no, offset=none,

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut=no,     conve

Re: [NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Rik Kabel via ntg-context
On 2023-02-15 08:44, Alex Leray via ntg-context wrote: \showframe \showlayout \showgrid \setuplayout[     grid=yes, ] \define[2]\MySection{\framed[     location=keep,     frame=on,     width=broad,     % height=22pt,     align=middle ]{{#1.\\#2}}} \setuphead[section][     strut=no,     conve

[NTG-context] Chapter number and titles in separate lines with grid layout

2023-02-15 Thread Alex Leray via ntg-context
Hello again, I'm having another issue: I'd like Chapter/Section number and titles in separate lines but with grid alignement. I followed that advice: https://wiki.contextgarden.net/Titles#Chapter_number_and_titles_in_separate_lines I'm having an issue though: I can't

Re: [NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
오후 9:05, Jeong Dal via ntg-context 작성: > > Dear all, > > I copied the code of defining chapter command from metafun-000.tex, and run > it. > But the result is different from that in MetaFun Manual. > There is a big spaces between the number and the title which yields the

[NTG-context] Chapter title in MetaFun manual.

2023-02-10 Thread Jeong Dal via ntg-context
Dear all, I copied the code of defining chapter command from metafun-000.tex, and run it. But the result is different from that in MetaFun Manual. There is a big spaces between the number and the title which yields the number cannot be seen. I commented out several lines which seems to be not

Re: [NTG-context] Write a long chapter title in two lines

2022-08-19 Thread Hans Hagen via ntg-context
On 8/19/2022 3:03 AM, Jeong Dal wrote: Dear all, A few days ago, I sent an email as follows. But it is linked to another subject because I choose reply of another subject. So, I send the same mail again. \startuseMPgraphic{outlineT} draw lmt_outline [ text = \MPvar{tt},

[NTG-context] Write a long chapter title in two lines

2022-08-18 Thread Jeong Dal via ntg-context
Dear all, A few days ago, I sent an email as follows. But it is linked to another subject because I choose reply of another subject. So, I send the same mail again. Thank you for reading. Best regards, Dalyoung ** I’d like to write a long chapter title in two lines if it is longer

[NTG-context] Write a long chapter title in two lines

2022-08-15 Thread Jeong Dal via ntg-context
Dear all, I’d like to write a long chapter title in two lines if it is longer than the textwidth. It is OK when I use just bigger fonts. But it writes the long title in one line if I use outlined font for title as in MWE. Is there a way to write it in two lines using the outlined font

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Willi Egger via ntg-context
Hi Joel, I think you can achieve what you want by using \placelist[chapter,section] instead of \completecontent. Then you can start the TOC by \startchapter[Content] \placelist…. \stopchapter. The same approach can be used for other lists/indexes. Kind regards Willli > On 8 May 2022, at

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Denis Maier via ntg-context
> -Ursprüngliche Nachricht- > Von: Taco Hoekwater > Gesendet: Montag, 9. Mai 2022 09:48 > An: mailing list for ConTeXt users > Cc: Maier, Denis Christian (UB) > Betreff: Re: [NTG-context] How to place "Content" and other chapter-level > titles the same

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Taco Hoekwater via ntg-context
Don't know, but consider this : > > % > \setuppapersize[A6][A6] > \setupbodyfont[8pt] > \define[2]\MyChapterCommand{#1 #2} % does work > %\def\MyChapterCommand#1#2{#1 #2} % does not work > \setuphead[chapter][ >

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-09 Thread Denis Maier via ntg-context
d will cause me to report a runaway argument that might be the root of the problem. Maybe some expansion thing. Don't know, but consider this : % \setuppapersize[A6][A6] \setupbodyfont[8pt] \define[2]\MyChapterCommand{#1 #2} % does work %\def\My

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-08 Thread Denis Maier via ntg-context
Or change the setup of unnumbered chapter titles... Add a forced blank before there. Denis Von: Maier, Denis Christian (UB) Gesendet: Sonntag, 8. Mai 2022 09:24:51 An: mailing list for ConTeXt users Cc: Joel Betreff: AW: [NTG-context] How to place

Re: [NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-08 Thread Denis Maier via ntg-context
Maybe define your own chapter command and use a vbox. Look at this example from the wiki: \setuppapersize[A6][A6] \setupbodyfont[8pt] \def\MyChapterCommand#1#2% {\vbox to 4cm\bgroup {#1\hskip.75em #2} \vss \egroup} \setuphead[chapter][header=nomarking, command=\MyChapterCommand

[NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-07 Thread Joel via ntg-context
I created a chapter title style with a large number telling the chapter number, and below it the title of the chapter. It looks like this: -    1   <--really big chapter number=== <-- there is a border created by a background image between

Re: [NTG-context] How to group list of figures and list of tables by chapter?

2022-03-31 Thread Werner Schmidt via ntg-context
Thanks a lot it works! I just had to add \noindent because for some strange reason the chapter title was indented after adding the \writebetweenlist hook to \setuphead. before={ \noindent \writebetweenlist [figure] [location=here] {\blank} \writebetweenlist [table] [location=here] {\blank

Re: [NTG-context] How to group list of figures and list of tables by chapter?

2022-03-30 Thread Duncan Hothersall via ntg-context
You could try using \writebetweenlist hooked into \setuphead[chapter]? Something like (untested): \setuphead[chapter][before={\writebetweenlist[figure][location=here]{\blank}}] (Sorry, can't currently test this.) Duncan On Thu, 31 Mar 2022 at 06:31, Werner Schmidt via ntg-context < ntg

[NTG-context] How to group list of figures and list of tables by chapter?

2022-03-30 Thread Werner Schmidt via ntg-context
Hi, How can I set up \placelistoffigures and \placelistoftables that figures and tables are grouped by chapter, i.e. separated by a blank line between chapters (see example below)? Thanks in advance for your help! Best Werner (Default:) Figures 1.1 Caption Chapter01-Section01-01

Re: [NTG-context] Chapter number retrieval

2022-03-23 Thread Willi Egger via ntg-context
Hello Adam, What I am actually using (at least basically) is the code given in the second example on the wiki. So this moving graphic is not the problem. The problem lays in the fact, that I need the chapter number for calculating the position of the graphic along the outer edge of the page

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Adam Reviczky via ntg-context
cessible variables at: > https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names > > > > Maybe you want something like this? > > > > \starttext > > \setuphead[chapter][number=no] > > \startchapter[title={My Chapter}] >

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
presented by Sreeram. Again thank you so much! Kind regards Willi > On 22 Mar 2022, at 01:21, Adam Reviczky via ntg-context > wrote: > > Hi, > > There is a good overview of accessible variables at: > https://tex.stackexchange.com/questions/134474/context-part-chapter-s

Re: [NTG-context] Chapter number retrieval

2022-03-22 Thread Willi Egger via ntg-context
lli Egger via ntg-context wrote: >> I would like to typeset the chapter title without number in the text. — >> However I still would need to retrieve the number for a calculation in a >> MetaFun graphic. I assume, that even though this number is not typeset, it >> is kept i

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread śrīrāma via ntg-context
On Tuesday, March 22, 2022 2:17 AM Willi Egger via ntg-context wrote: > I would like to typeset the chapter title without number in the text. — > However I still would need to retrieve the number for a calculation in a > MetaFun graphic. I assume, that even though this number is not ty

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread Adam Reviczky via ntg-context
Hi, There is a good overview of accessible variables at: https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names Maybe you want something like this? \starttext \setuphead[chapter][number=no] \startchapter[title={My Chapter}] Hello world! \startMPcode

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread jbf via ntg-context
2011 at https://wiki.contextgarden.net/Last_Head_Number I wonder if this helps? Julian On 22/3/22 07:47, Willi Egger via ntg-context wrote: Hello everybody! I would like to typeset the chapter title without number in the text. — However I still would need to retrieve the number for a calculati

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread Willi Egger via ntg-context
ourself back in 2011 at > https://wiki.contextgarden.net/Last_Head_Number > > I wonder if this helps? > > Julian > > On 22/3/22 07:47, Willi Egger via ntg-context wrote: >> Hello everybody! >> >> >> I would like to typeset the chapter title wit

Re: [NTG-context] Chapter number retrieval

2022-03-21 Thread jbf via ntg-context
Willi, I see a comment by yourself back in 2011 at https://wiki.contextgarden.net/Last_Head_Number I wonder if this helps? Julian On 22/3/22 07:47, Willi Egger via ntg-context wrote: Hello everybody! I would like to typeset the chapter title without number in the text. — However I still

[NTG-context] Chapter number retrieval

2022-03-21 Thread Willi Egger via ntg-context
Hello everybody! I would like to typeset the chapter title without number in the text. — However I still would need to retrieve the number for a calculation in a MetaFun graphic. I assume, that even though this number is not typeset, it is kept in the background. How to retrieve it? Kind

Re: [NTG-context] Calling in chapter number in list={}

2022-03-17 Thread jbf via ntg-context
But thanks anyway and also to Jean-Pierre (although I do understand sufficient German and could also have made headway in French if it came to that!). The \currentlistentry... options were what I needed. I was playing with wrong options (for this particular problem) like \currentheadnumber. J

Re: [NTG-context] Calling in chapter number in list={}

2022-03-17 Thread Henning Hraban Ramm via ntg-context
Am 17.03.22 um 11:31 schrieb Jean-Pierre Delange via ntg-context: Which could be translated in English ! Yes, I was a bit lazy and Thunderbird also messed up the line breaking. HR ___ If your question is of interes

Re: [NTG-context] Calling in chapter number in list={}

2022-03-17 Thread Jean-Pierre Delange via ntg-context
Which could be translated in English ! \currentlistentrylocation = Consecutive number of the list entry \namedstructureheadlocation{section} = Section number of the specified hierarchy level (chapter, section, etc.) \currentlistentrynumber = section number of the current list entry

Re: [NTG-context] Calling in chapter number in list={}

2022-03-17 Thread Henning Hraban Ramm via ntg-context
Hi Julian, have fun with: \currentlistentrylocation = Laufende Nummer des Listeneintrags \namedstructureheadlocation{section} = Abschnittsnummer der angegebenen Hier­archiestufe (chapter, section usw.) \currentlistentrynumber = Abschnittsnummer des aktuellen Listen­ eintrags

[NTG-context] Calling in chapter number in list={}

2022-03-16 Thread jbf via ntg-context
I wonder if there is a way I can call in the chapter number in the TOC, although that number is not used for chapters as such. I know the chapter number is 'remembered' anyway, so there is probably a way I can call it in just for the TOC. The context for this question is the layou

Re: [NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread fv leung via ntg-context
can use this for the header: \setupheadertexts [text] [{\namedstructurevariable{chapter}{title}}] [] [] [{\namedstructurevariable{chapter}{title}}] juh via ntg-context 於 2022年1月5日 週三 上午12:28寫道: > Hi all, > > I know how to put the current chapter in the header. > > But how can

[NTG-context] how to place getmarking[title] in header instead of getmarking[chapter]

2022-01-04 Thread juh via ntg-context
Hi all, I know how to put the current chapter in the header. But how can I also put the value of \starttitle in the header. In this mwe the \starttitle command does not modify the header. Is it possible to do something like: \getmarking[chapter or title] I cannot include \setmarking

Re: [NTG-context] No pagebreak before chapter

2021-12-23 Thread Rik Kabel via ntg-context
On 2021-12-23 14:15, juh via ntg-context wrote: Dear all, if I don't want pagebreaks before a chapter, I can do this: \setuphead [chapter,title] [style=\tfb, align=center, number=no, after=, page=no, sectionsegments=chapter, header=empty]

[NTG-context] No pagebreak before chapter

2021-12-23 Thread juh via ntg-context
Dear all, if I don't want pagebreaks before a chapter, I can do this: \setuphead [chapter,title] [style=\tfb, align=center, number=no, after=, page=no, sectionsegments=chapter, header=empty] In my project this does not work. All chapters start on

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Thomas A. Schmitz via ntg-context
On 11/12/21 18:13, Henning Hraban Ramm via ntg-context wrote: You’re right, tabular numbers are nonproportional. I meant versal (“normal”) numbers in opposite of oldstyle (mediaeval) numbers. I think there are two mutually exclusive feature pairs that you're mixing up: lnum vs onum: lining

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Henning Hraban Ramm via ntg-context
> Am 12.11.2021 um 09:47 schrieb jbf via ntg-context : > > In fact, in this instance, adjusting the roffset solved the problem, and I > didn't see any marked change using the proportional tabular (monospaced?) > fontfeature you suggest, though it is an interesting point to bear in mind in > t

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Wolfgang Schuster via ntg-context
Henning Hraban Ramm via ntg-context schrieb am 12.11.2021 um 09:09: Am 12.11.2021 um 06:26 schrieb jbf via ntg-context : It does seem, though, just using '1' as the chapter number for the moment, that the underline is not quite centered; almost but not quite. So am playing around

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread jbf via ntg-context
In fact, in this instance, adjusting the roffset solved the problem, and I didn't see any marked change using the proportional tabular (monospaced?) fontfeature you suggest, though it is an interesting point to bear in mind in the future. I'd always thought of proportional versus tabular rather

Re: [NTG-context] rule beneath chapter number

2021-11-12 Thread Henning Hraban Ramm via ntg-context
> Am 12.11.2021 um 06:26 schrieb jbf via ntg-context : > > It does seem, though, just using '1' as the chapter number for the moment, > that the underline is not quite centered; almost but not quite. So am playing > around with the roffset to adjust that. It

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
Thanks Aditya. Option 1 is simple enough. Not sure why that eluded me earlier! Option 2 gives me a little more choice, I think. I'd being playing with framed but could quite get it right. It does seem, though, just using '1' as the chapter number for the moment, that the u

Re: [NTG-context] rule beneath chapter number

2021-11-11 Thread Aditya Mahajan via ntg-context
On Fri, 12 Nov 2021, jbf via ntg-context wrote: > The following MWE deliberately shows two ways of getting a short rule > beneath a chapter number, but neither achieve what I want. \underbar is > too close to the number \setupbar[underbar][offset=-0.8] % play around with the numb

[NTG-context] rule beneath chapter number

2021-11-11 Thread jbf via ntg-context
The following MWE deliberately shows two ways of getting a short rule beneath a chapter number, but neither achieve what I want. \underbar is too close to the number and \crlf\blackrule too far below. So basically my question is: is there a way of adjusting the position of a brief rule beneath

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-25 Thread Bruce Horrocks via ntg-context
Hi Gerben, See below... > On 24 Oct 2021, at 17:04, Gerben Wierda via ntg-context > wrote: > > On 24 Oct 2021, at 16:38, Wolfgang Schuster > wrote: >> >> Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: >>> My double-sided layout starts

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
On 24 Oct 2021, at 16:38, Wolfgang Schuster wrote: > > Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: >> My double-sided layout starts each chapter on a right page with a quote on >> the opposing left page. I’d like to move the page number of that right page

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Wolfgang Schuster via ntg-context
Gerben Wierda via ntg-context schrieb am 24.10.2021 um 15:42: My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation

Re: [NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
, Gerben Wierda via ntg-context > wrote: > > My double-sided layout starts each chapter on a right page with a quote on > the opposing left page. I’d like to move the page number of that right page > to the footer, but haven’t been able to find how to do this is the &g

[NTG-context] How do I get the first page of the chapter to display the page number in the footer in this setup?

2021-10-24 Thread Gerben Wierda via ntg-context
My double-sided layout starts each chapter on a right page with a quote on the opposing left page. I’d like to move the page number of that right page to the footer, but haven’t been able to find how to do this is the documentation. How can I do this? Example: \setuplayout[location

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Wolfgang Schuster via ntg-context
Fabrice Couvreur via ntg-context schrieb am 16.08.2021 um 12:18: Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin project \startproject[terminale-environment] \environment[terminale-style]  ... \stopproject end proje

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
rence] ... \endcomponent end component begin environment \startenvironment[terminale-style] ... \startsetups [section:chapter] \setuphead [chapter] [align=flushright, textcommand=\groupedcommand{\blank[medium]}{}, numbercolor=darkgray, textstyle=ChapterTextStyle, number

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
Pablo Rodriguez via ntg-context schrieb am 15.08.2021 um 18:33: On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: A small note : this method works if I compile the project but if I compile only one chapter, the header no longer appears. Hi Fabrice, I have never used projects and

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
roject but if I > > compile only one chapter, the header no longer appears. > > Hi Fabrice, > > I have never used projects and chapters (or whatever the right name is). > > I’m not sure I get what you’re experiencing: with a single chapter, do > you have the fancy layout or n

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Pablo Rodriguez via ntg-context
On 8/15/21 6:02 PM, Fabrice Couvreur via ntg-context wrote: > A small note : this method works if I compile the project but if I > compile only one chapter, the header no longer appears. Hi Fabrice, I have never used projects and chapters (or whatever the right name is). I’m not sure I ge

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
A small note : this method works if I compile the project but if I compile only one chapter, the header no longer appears. Le dim. 15 août 2021 à 17:01, Fabrice Couvreur a écrit : > Hi Pablo, > Thanks, it works. > Fabrice > > Le dim. 15 août 2021 à 16:20, Pablo Rodriguez via ntg-

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
ail/ntg-context/2021/102870.html > > for the chapters of my book. > > How can I prevent this header from appearing on the page with the table > > of contents ? > > Hi Fabrice, > > a simple way would be: > > \startsectionblockenvironment[bodypart]

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Pablo Rodriguez via ntg-context
ents ? Hi Fabrice, a simple way would be: \startsectionblockenvironment[bodypart] \setuphead [chapter] [align=flushright, textcommand=\groupedcommand{\blank[medium]}{}, numbercolor=darkgray, textstyle=ChapterTextStyle, numberstyle=ChapterNumberSty

[NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Fabrice Couvreur via ntg-context
Hello, Wolfgang created a heading https://mailman.ntg.nl/pipermail/ntg-context/2021/102870.html for the chapters of my book. How can I prevent this header from appearing on the page with the table of contents ? Thanks Fabrice _

Re: [NTG-context] Problem with chapter numbering

2021-07-15 Thread Fabrice Couvreur
Hi Bruce, Thanks for the suggestion, it works fine. Fabrice Le mer. 14 juil. 2021 à 22:54, Bruce Horrocks a écrit : > On 13 Jul 2021, at 18:47, Fabrice Couvreur > wrote: > > > > Hi, > > For my book, the header for each chapter should be like the attached > image. I d

Re: [NTG-context] Problem with chapter numbering

2021-07-14 Thread Bruce Horrocks
On 13 Jul 2021, at 18:47, Fabrice Couvreur wrote: > > Hi, > For my book, the header for each chapter should be like the attached image. I > don't know if I am using the best method, but the result looks like what I > want. Nevertheless, I am having a problem. > I don

[NTG-context] Problem with chapter numbering

2021-07-13 Thread Fabrice Couvreur
Hi, For my book, the header for each chapter should be like the attached image. I don't know if I am using the best method, but the result looks like what I want. Nevertheless, I am having a problem. I don't understand why the first chapter is not numbered while the second is with nu

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-07-02 Thread denis.maier
Thanks for this. I'll look into it. > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Rik Kabel > Gesendet: Mittwoch, 30. Juni 2021 21:40 > An: ntg-context@ntg.nl > Betreff: Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes > > F

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen
On 6/30/2021 9:04 PM, denis.ma...@unibe.ch wrote: Von: Hans Hagen On 6/30/2021 4:57 PM, denis.ma...@unibe.ch wrote: [...] Will this interfere with how parts are displayed in the regular table of contents? sure but you can group \start .. flush the list \stop although it's not re

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Rik Kabel
. %--% % Endnote apparatus adapted for parts % \mainlanguage  [en] \language  [en] \setupinteraction  [state=start] \setuppagenumbering[alternative=doublesided] \setupheadertexts [{\it\getmarking[part]}][{\it\getmarking[section]}] [{\it\getmarking[chapter]}][{\it\getmarking

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread denis.maier
> Von: Hans Hagen > > On 6/30/2021 4:57 PM, denis.ma...@unibe.ch wrote: > > > [...] > > > > Will this interfere with how parts are displayed in the regular table > > of contents? > > sure but you can group > > \start >.. flush the list > \stop > > although it's not really needed when you

Re: [NTG-context] Heading for endnotes / grouped by chapter endnotes

2021-06-30 Thread Hans Hagen
This is the right test: \setuphead[part][placehead=yes] \setupnotations [endnote] [way=bypart] \setupnotes [endnote] [location=list] \starttext \part{First Part} asdf\endnote{asdf} jklö\endnote{jklö} \part{Second Part} asdf\endnote{asdf} jklö\endnote{jklö} \page \setuplist [par

  1   2   3   4   5   6   7   8   9   10   >