[NTG-context] Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, I'm a bit puzzled by the mkiv /setuphead/ command of ConTeXt! The space *before* and *after* the /subject/ command can usually be set by the *before* and *after* arguments of the /setuphead/ command. Now I'd like to have _no vertical space_ before and after the header. I've tried just

[NTG-context] Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, I'm a bit puzzled by the mkiv setuphead command of ConTeXt! The space before and after the subject command can usually be set by the before and after arguments of the setuphead command. Now I'd like to have no vertical space before and after the header. I've tried just that by setting

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Wolfgang Schuster via ntg-context
Alan Braslau schrieb am 11.06.2023 um 20:12: On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote: Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right),

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-11 Thread Alan Braslau via ntg-context
On 10/06/23 10/06/23, 12:42, Wolfgang Schuster via ntg-context wrote: Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary.

Re: [NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Wolfgang Schuster via ntg-context
Alan Braslau via ntg-context schrieb am 10.06.2023 um 12:28: Hello, \setuphead   [part,chapter,title]   [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be truely blank, that is with no

[NTG-context] setuphead page=right and blank even page.

2023-06-10 Thread Alan Braslau via ntg-context
Hello, \setuphead [part,chapter,title] [page=right] will start a part, chapter, or title on an odd page (right), inserting a "blank" even page if necessary. How can I get this blank even page to be truely blank, that is with no headers nor footers? I tried several thinks and must be

Re: [NTG-context] \setuphead for a section block

2018-10-23 Thread Pablo Rodriguez
On 10/23/18 9:25 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 23.10.18 um 21:18: >> [...] >> But wasn’t there a command similar to the following one for such purposes? >> >> \setuphead[bodypart:chapter][style=\em] >> >> I remember that there was something similar to that command

Re: [NTG-context] \setuphead for a section block

2018-10-23 Thread Rik
On 10/23/2018 15:23, Rik wrote: On 10/23/2018 15:18, Pablo Rodriguez wrote: Dear list, imagine that I need a different setup for chapter in the bodymatter than in the frontmatter and appendices. The way to do it seems to be: \setuphead[chapter][style=\bf]

Re: [NTG-context] \setuphead for a section block

2018-10-23 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 23.10.18 um 21:18: Dear list, imagine that I need a different setup for chapter in the bodymatter than in the frontmatter and appendices. The way to do it seems to be: \setuphead[chapter][style=\bf] \startsectionblockenvironment[bodypart]

Re: [NTG-context] \setuphead for a section block

2018-10-23 Thread Rik
On 10/23/2018 15:18, Pablo Rodriguez wrote: Dear list, imagine that I need a different setup for chapter in the bodymatter than in the frontmatter and appendices. The way to do it seems to be: \setuphead[chapter][style=\bf] \startsectionblockenvironment[bodypart]

[NTG-context] \setuphead for a section block

2018-10-23 Thread Pablo Rodriguez
Dear list, imagine that I need a different setup for chapter in the bodymatter than in the frontmatter and appendices. The way to do it seems to be: \setuphead[chapter][style=\bf] \startsectionblockenvironment[bodypart] \setuphead[chapter][style=\em]

Re: [NTG-context] \setuphead[part] - special look

2015-06-29 Thread Wolfgang Schuster
Procházka Lukáš Ing. - Pontex s. r. o. mailto:l...@pontex.cz 29. Juni 2015 14:05 Hello, one more question. When I place \part into \...bodymatter and \...appendices, the \part in body matter yields Díl + number, which is OK, but in appendices it gives nothing + Roman number (I, II, ...).

Re: [NTG-context] \setuphead[part] - special look

2015-06-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Wolfgang, thanks again, it works perfectly. Best regards, Lukas On Mon, 29 Jun 2015 14:33:41 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Procházka Lukáš Ing. - Pontex s. r. o. mailto:l...@pontex.cz 29. Juni 2015 14:05 Hello, one more question. When I place \part

Re: [NTG-context] \setuphead[part] - special look

2015-06-29 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, one more question. When I place \part into \...bodymatter and \...appendices, the \part in body matter yields Díl + number, which is OK, but in appendices it gives nothing + Roman number (I, II, ...). What is the most systemic to \setuphead[part] to give Díl... in body matter and

Re: [NTG-context] \setuphead[part] - special look

2015-06-23 Thread Wolfgang Schuster
Procházka Lukáš Ing. - Pontex s. r. o. mailto:l...@pontex.cz 23. Juni 2015 09:45 Hello, I'm really satisfied with the way you coded the part page layout. I've modified a bit your code - just to highlight the dependencies (rendering setup, makeup and so on; if anyone interested, see the

Re: [NTG-context] \setuphead[part] - special look

2015-06-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm really satisfied with the way you coded the part page layout. I've modified a bit your code - just to highlight the dependencies (rendering setup, makeup and so on; if anyone interested, see the attachment). On Mon, 22 Jun 2015 18:36:03 +0200, Wolfgang Schuster

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
Procházka Lukáš Ing. - Pontex s. r. o. mailto:l...@pontex.cz 22. Juni 2015 11:42 Hello Wolfgang, thank you for the solution, it pretty systemic. Ad Ad 2: There was no question as succeeded placing page number and name into the page gold ratio, so just mentioned as one of the features

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Wolfgang Schuster
Procházka Lukáš Ing. - Pontex s. r. o. mailto:l...@pontex.cz 22. Juni 2015 09:35 Hello, I'm trying to \setuphead[part] to have the following features: 1. Part head to fill the whole page. 2. Part number and name to be placed (approx.) in the golden ratio of the page. 3. Page background

Re: [NTG-context] \setuphead[part] - special look

2015-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello Wolfgang, thank you for the solution, it pretty systemic. Ad Ad 2: There was no question as succeeded placing page number and name into the page gold ratio, so just mentioned as one of the features required. After some plying with your solution, I deduce: We have to derive a new

[NTG-context] \setuphead[part] - special look

2015-06-22 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, I'm trying to \setuphead[part] to have the following features: 1. Part head to fill the whole page. 2. Part number and name to be placed (approx.) in the golden ratio of the page. 3. Page background (for the \part only!) to be colored, e.g. blue. \define[2]\MyPartCmd{% {%

Re: [NTG-context] \setuphead for all existing sections

2015-04-21 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, On Tue, 21 Apr 2015 00:38:18 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The \setupheads command is only a synonym for \setuphead but there can be a difference between \setuphead[..,..=..,..] and \setuphead[section][..,..=..,..] Wolfgang confirmed:

Re: [NTG-context] \setuphead for all existing sections

2015-04-21 Thread Wolfgang Schuster
Am 21.04.2015 um 08:55 schrieb Procházka Lukáš Ing. - Pontex s. r. o. l...@pontex.cz: Hello, On Tue, 21 Apr 2015 00:38:18 +0200, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: The \setupheads command is only a synonym for \setuphead but there can be a difference between

Re: [NTG-context] \setuphead for all existing sections

2015-04-20 Thread Wolfgang Schuster
Am 20.04.2015 um 20:43 schrieb Lukáš Procházka l...@pontex.cz: Hello Pablo, \setupheads doesn't work for this - see the test: \setupheads[distance=1in] \setuphead[subsection][distance=2in] \starttext \section{Sec} \subsection{Subsec} \stoptext Subsection has

Re: [NTG-context] \setuphead for all existing sections

2015-04-20 Thread Lukáš Procházka
Hello Pablo, \setupheads doesn't work for this - see the test: \setupheads[distance=1in] \setuphead[subsection][distance=2in] \starttext \section{Sec} \subsection{Subsec} \stoptext Subsection has the specified distance of 1 in, whilst the section doesn't. Section was altered

Re: [NTG-context] \setuphead for all existing sections

2015-04-20 Thread Pablo Rodriguez
On 04/20/2015 08:43 PM, Lukáš Procházka wrote: Hello Pablo, \setupheads doesn't work for this - see the test: Hi Lukáš, sorry, I thought that the plural of \setup... had the same options than its singular form. My fault, since I was totally wrong. I agree that it would be useful to have the

[NTG-context] \setuphead for all existing sections

2015-04-17 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, is there a way to affect (setup) all sections that have been defined, like: \setuphead[*][distance=1.5em] instead of: \setuphead[part,chapter,section,subsection,subsubsection][distance=1.5em] The latter way needs to know all section names; the former way allows to

Re: [NTG-context] \setuphead for all existing sections

2015-04-17 Thread Pablo Rodriguez
On 04/17/2015 12:00 PM, Procházka Lukáš Ing. - Pontex s. r. o. wrote: Hello, is there a way to affect (setup) all sections that have been defined, like: \setuphead[*][distance=1.5em] instead of:

[NTG-context] setuphead bug?

2014-10-07 Thread Meer, H. van der
There seems to be a problem in \setuphead, it produces a spurious else from the alternative=middle. In the reference manual I see the possibilities: alternative = normal inmargin middle TEXT. Of these middle is the only one giving the else. minimal example:

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Otared Kavian
Don’t you mean rather \setuphead[chapter][align=middle] instead of « alternative »? Best regards: OK On 07 Oct 2014, at 17:28, Meer, H. van der h.vanderm...@uva.nl wrote: There seems to be a problem in \setuphead, it produces a spurious else from the alternative=middle. In the

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Meer, H. van der
\setuphead[chapter][align=middle] works out ok for me. Thanks! But then, \setuphead[chapter][alternative=middle] seems quite correct, following the manual. The else seems strange then. Hans van der Meer On 07 Oct 2014, at 17:59, Otared Kavian ota...@gmail.commailto:ota...@gmail.com wrote:

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Otared Kavian
Hi, You are right, it seems that there is a trailing « else » somewhere in the sources… Actually the possible keys for « alternative= » are alternative=paragraph normal inmargin margin middle top bottom IDENTIFIER and the following works fine also: \setuphead[chapter]

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Wolfgang Schuster
Am 07.10.2014 um 21:22 schrieb Otared Kavian ota...@gmail.com: Hi, You are right, it seems that there is a trailing « else » somewhere in the sources… Actually the possible keys for « alternative= » are alternative=paragraph normal inmargin margin middle top bottom

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Wolfgang Schuster
Am 07.10.2014 um 21:22 schrieb Otared Kavian ota...@gmail.com: Hi, You are right, it seems that there is a trailing « else » somewhere in the sources… Actually the possible keys for « alternative= » are alternative=paragraph normal inmargin margin middle top bottom

Re: [NTG-context] setuphead bug?

2014-10-07 Thread Hans Hagen
On 10/7/2014 10:32 PM, Wolfgang Schuster wrote: - else + \else \fakeheadnumbercontent % will also be done in the other ones (force consistency with numbered) \fi yes, a new thingie Hans -

[NTG-context] setuphead style 'underline'?

2014-08-17 Thread Gerben Wierda
Is there a way to get underlined headers with \setuphead? ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] setuphead style 'underline'?

2014-08-17 Thread Matthias Weber
I am not sure whether that’s what you want, but I use \setuphead [section] [numberstyle=bold, style={\tfb\bf\ss}, page=yes, continue=no,

Re: [NTG-context] setuphead style 'underline'?

2014-08-17 Thread Wolfgang Schuster
Am 17.08.2014 um 20:40 schrieb Gerben Wierda gerben.wie...@rna.nl: Is there a way to get underlined headers with \setuphead? \setuphead[chapter][textcommand=\underbar] \starttext \chapter{\input ward } \stoptext Wolfgang

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Herbert Voss
Am 27.07.2014 04:06, schrieb Yuri Teixeira: Hello, From command/setuphead http://wiki.contextgarden.net/Command/setuphead I inferred this should work to set linespace to 1.5 within the chapter/section but it doesn't. Should it? I read on \setupinterlinespace and it's resetting mechanic but

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Otared Kavian
Hi, Have a look at the following wiki page: http://wiki.contextgarden.net/setuplocalinterlinespace It may help you achieve what you want to do. Best regards: OK On 27 Jul 2014, at 04:06, Yuri Teixeira yuriteixeira...@gmail.com wrote: Hello, From command/setuphead I inferred this

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Yuri Teixeira
Thank you, this is really what I wanted. I found the source of my confusion too: \setupinterlinespace is local inside \start-stopnarrower \setupinterlinespace[5] % this has no effect before \starttext \starttext \input tufte % this is default small, not 5 \setupinterlinespace[big] \input tufte %

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Otared Kavian
You are right Yuri, I added your comment to the wiki page concerning setupinterlinespace: http://wiki.contextgarden.net/Command/setupinterlinespace Best regards: OK On 27 Jul 2014, at 16:16, Yuri Teixeira yuriteixeira...@gmail.com wrote: Thank you, this is really what I wanted. I

[NTG-context] setuphead interlinespace

2014-07-26 Thread Yuri Teixeira
Hello, From command/setuphead http://wiki.contextgarden.net/Command/setuphead I inferred this should work to set linespace to 1.5 within the chapter/section but it doesn't. Should it? I read on \setupinterlinespace and it's resetting mechanic but thought the parameter in setuphead would work.

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-13 Thread Wolfgang Schuster
Am 13.01.2014 um 04:41 schrieb Otared Kavian ota...@gmail.com: Hi Wolfgang, Thanks for the tip: I’ll try to adapt what you suggest to the case of blocks and question-hint-answer, and then let you know if I succeed. Out of curiosity, how can one access the counter associated to an

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Jaroslav Hajtmar
Hello Otared and Wolfgang. Thanks for launching this example. Is there a possibility to write the answers into a more compact form (more columns, one paragraph, etc) like in any textbooks? I tried experimenting, but I was unable to put answers into a compact form. Thanks Jaroslav Hajtmar

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Otared Kavian
Hi Jaroslav, Actually the formatting of what you put in the block determined for example by \beginanswer The answer is… \endanswer is independent of the block mechanism: you can use whatever structure you want. In the example we exchanged on, an enumeration such

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Jaroslav Hajtmar
OK. Thanx very much - for me it is a useful thing... Jaroslav Hajtmar Dne 12.1.2014 17:08, Otared Kavian napsal(a): Hi Jaroslav, Actually the formatting of what you put in the block determined for example by \beginanswer The answer is… \endanswer is

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Wolfgang Schuster
Am 11.01.2014 um 20:01 schrieb Otared Kavian ota...@gmail.com: I will put this example on the wiki, but before doing so I have another question: can one add two automatic links at the end of each question so that one can navigate easily to the respective hint or answer corresponding to

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Wolfgang Schuster
Am 12.01.2014 um 21:47 schrieb Otared Kavian ota...@gmail.com: On 12 janv. 2014, at 21:30, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 11.01.2014 um 20:01 schrieb Otared Kavian ota...@gmail.com: I will put this example on the wiki, but before doing so I have another

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Otared Kavian
Hi Wolfgang, Thanks for the tip: I’ll try to adapt what you suggest to the case of blocks and question-hint-answer, and then let you know if I succeed. Out of curiosity, how can one access the counter associated to an enumeration or an item? Also, if I understand correctly, the command

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-11 Thread Wolfgang Schuster
Am 11.01.2014 um 00:36 schrieb Otared Kavian ota...@gmail.com: Hi Wolfgang, In mkiv, even using \startanswer, \stopanswer (and the same syntax with questions and hints) the blocks mechanism seems to be broken. The error message is still the following: \dostopnormalblock ...meter

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-11 Thread Otared Kavian
Hi Wolfgang, Many thanks for your attention and insight. With your code everything works as expected. In case others would be interested, I give here a slight modification of what you sent, which works very well with mkiv: I only added

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-10 Thread Otared Kavian
Hi Wolfgang, In mkiv, even using \startanswer, \stopanswer (and the same syntax with questions and hints) the blocks mechanism seems to be broken. The error message is still the following: \dostopnormalblock ...meter \c!after \par \egroup

[NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
Hi all, this is my first message here. In the subsection head, I would like to suppress the newline between the number and the text, so it behaves like some kind of numbered subsubject. I tried to modify some examples from the wiki, but without success. In

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
On 2014–01–09 Jean-Guillaume wrote: In the subsection head, I would like to suppress the newline between the number and the text, That's controlled by the “after” key. \setuphead [Exercise] [after=] My purpose is to define something like: \definehead[Exercise][subsection]

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
Thanks for your reply, Marco. Here is a full example: \starttext \definehead[Exercise][subsection] \setuphead [Exercise] [after=] \startExercise[]{(this is the exercise's title)} The exercise's content. \stopExercise \stoptext After contexting it, it looks like: 1 (this is the

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
On 2014–01–09 Jean-Guillaume wrote: \starttext \definehead[Exercise][subsection] \setuphead [Exercise] [after=] \startExercise[]{(this is the exercise's title)} The exercise's content. \stopExercise \stoptext \definehead [Exercise] [subsection] [after=] \starttext

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
But this: \definehead [Exercise] [subsection] [after=] \starttext \startExercise [title=This is the exercise's title] The exercise's content. \stopExercise \stoptext results to: 1 This is the exercise's title The exercise's content. and I would like it to be: 1 This is the

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 14:23 schrieb Jean-Guillaume jng...@gmail.com: But this: \definehead [Exercise] [subsection] [after=] \starttext \startExercise [title=This is the exercise's title] The exercise's content. \stopExercise \stoptext results to: 1 This is the exercise's title

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
Hi Jean Guillaume, I guess Marco Patzer and Wolfgang Schuster gave you already the appropriate answers. Nevertheless, I wanted to share with you the definitions I use for the kind of work you want to do: %%% begin example-exercise.tex %%% % defining \startexo,

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Dne 9.1.2014 15:19, Otared Kavian napsal(a): %%% begin example-exercise.tex %%% % defining

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Hello Jaroslav, I have something like the

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Aditya Mahajan
On Thu, 9 Jan 2014, Otared Kavian wrote: On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Hello

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 16:36 schrieb Otared Kavian ota...@gmail.com: On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
Hi Wolfgang, Hi Aditya, Thanks for your attention. Unfortunately adding \keepblocks[question] the example I sent before does not work in mkiv, and changing location=hanging to alternative=hanging does not help neither… The error message in mkiv is:

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 18:36 schrieb Otared Kavian ota...@gmail.com: Hi Wolfgang, Hi Aditya, Thanks for your attention. Unfortunately adding \keepblocks[question] the example I sent before does not work in mkiv, and changing location=hanging to alternative=hanging does

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
Hello Wolfgang, Otared and Aditya. Thanks for your advice and treatments. It is there a complete working example? I am sorry, but I am not able to achieve the proposed modifications to make it work. Thanx. Jaroslav Hajtmar Dne 9.1.2014 18:41, Wolfgang Schuster napsal(a): Am 09.01.2014

[NTG-context] setuphead and Table of Content

2013-03-31 Thread Malte Stien
Hello everyone, I have defined my own set of heads with \setuphead like so, such that I can supply my own numbers: \definehead[foosection][section] \setuphead[foosection][number=yes, ownnumber=yes, sectionsegments=section] However, I need them to show up in the table of content. What's

Re: [NTG-context] setuphead and Table of Content

2013-03-31 Thread Sietse Brouwer
Hi Malte, On 31 March 2013 11:53, Malte Stien ma...@stien.de wrote: \definehead[foosection][section] \setuphead[foosection][number=yes, ownnumber=yes, sectionsegments=section] However, I need them to show up in the table of content. What's the trick? This is the trick:

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-27 Thread Willi Egger
Hi Wolfgang, nice feature. However when applying it, the numbering of the chapters is not correct. - See attached minimal example Willi \starttext \completecontent \startchapter[title=Chapter in list] \stopchapter \startchapter[title=Chapter not in list, saveinlist=no] \stopchapter

[NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
\setuplabeltext [chapter=Chapter ] enables a label in chapter headings. Sometimes, one wants to have an unnumbered chapter-level structure that otherwise appears in the table of contents, bookmarks, marking, etc. without having to make many special definitions. One suggests: \definehead

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Wolfgang Schuster
Am 26.03.2013 um 19:15 schrieb Alan BRASLAU alan.bras...@cea.fr: \setuplabeltext [chapter=Chapter ] enables a label in chapter headings. Sometimes, one wants to have an unnumbered chapter-level structure that otherwise appears in the table of contents, bookmarks, marking, etc. without

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Alan BRASLAU
On Tue, 26 Mar 2013 19:25:27 +0100 Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 26.03.2013 um 19:15 schrieb Alan BRASLAU alan.bras...@cea.fr: \setuplabeltext [chapter=Chapter ] enables a label in chapter headings. Sometimes, one wants to have an unnumbered

Re: [NTG-context] \setuphead [bodypartlabel=]

2013-03-26 Thread Wolfgang Schuster
Am 26.03.2013 um 19:54 schrieb Alan BRASLAU alan.bras...@cea.fr: All of this does not take care of handling NOchapter in marking, bookmarks, contents, etc. Consider: \setupheadertexts [chapter] \placebookmarks [chapter,section] [chapter] \definecombinedlist [content]

[NTG-context] setuphead command ! Argument of \xxx has an extra }.

2013-01-25 Thread Jean-Philippe Rey
Hi, I am trying to use a homemade command to display chapter heads but I systematically get the following error: ! Argument of \ChapterHead has an extra }. Here is my minimal example \def\ChapterHead#1#2{#1 --- #2} \setuphead[chapter][command=\ChapterHead] \starttext \chapter{Hello} Some

Re: [NTG-context] setuphead command ! Argument of \xxx has an extra }.

2013-01-25 Thread Marco Patzer
On 2013–01–25 Jean-Philippe Rey wrote: \def\ChapterHead#1#2{#1 --- #2} \define[2]\ChapterHead{#1 --- #2} or \unexpanded\def\ChapterHead#1#2{#1 --- #2} Marco signature.asc Description: Digital signature ___ If

Re: [NTG-context] setuphead command ! Argument of \xxx has an extra }.

2013-01-25 Thread Jean-Philippe Rey
Le 25 janv. 2013 à 17:00, Marco Patzer a écrit : On 2013–01–25 Jean-Philippe Rey wrote: \def\ChapterHead#1#2{#1 --- #2} \define[2]\ChapterHead{#1 --- #2} or \unexpanded\def\ChapterHead#1#2{#1 --- #2} It works. Thank you very much. -- Jean-Philippe Rey Professeur

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread Wolfgang Schuster
Am 09.12.2012 um 02:35 schrieb revic...@caesar.elte.hu: Hi, The following minimal example works on live.contextgarden.net but with the latest beta the command parameter doesn't seem work (the TEST does not appear in the margin). \showframe \starttext \define[2]\cmd{\inmargin{TEST}}

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread reviczky
Am 09.12.2012 um 02:35 schrieb revic...@caesar.elte.hu: Hi, The following minimal example works on live.contextgarden.net but with the latest beta the command parameter doesn't seem work (the TEST does not appear in the margin). \showframe \starttext \define[2]\cmd{\inmargin{TEST}}

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread Wolfgang Schuster
Am 09.12.2012 um 12:22 schrieb revic...@caesar.elte.hu: Thanks. I only apply commands for certain headings, so is there a way to have that working within the startsubject or is it not inheriting from setup heads? You can use the optional second argument for \start… to set your own

Re: [NTG-context] setuphead command changes?

2012-12-09 Thread Wolfgang Schuster
Am 09.12.2012 um 15:46 schrieb Wolfgang Schuster wolfgang.schus...@gmail.com: Am 09.12.2012 um 12:22 schrieb revic...@caesar.elte.hu: Thanks. I only apply commands for certain headings, so is there a way to have that working within the startsubject or is it not inheriting from setup

[NTG-context] setuphead command changes?

2012-12-08 Thread reviczky
Hi, The following minimal example works on live.contextgarden.net but with the latest beta the command parameter doesn't seem work (the TEST does not appear in the margin). \showframe \starttext \define[2]\cmd{\inmargin{TEST}} \startsubject[title=Title,command=\cmd] \input knuth

[NTG-context] setuphead and newline

2012-10-25 Thread WolfgangZ
Hello, I'm trying to insert a newline between the number and the head text (chaper). Where do I have to put the \crlf ? It sohould look like: 1 This is the chapter text Many thanks in advance WolfgangZ ___ If

Re: [NTG-context] setuphead and newline

2012-10-25 Thread Marco Patzer
2012-10-25 WolfgangZ: Hi WolfgangZ I'm trying to insert a newline between the number and the head text (chaper). Where do I have to put the \crlf ? It sohould look like: 1 This is the chapter text \defineheadalternative [mine] [renderingsetup=mine] \startsetups [mine]

Re: [NTG-context] setuphead and newline

2012-10-25 Thread Wolfgang
Am 25.10.2012 15:10, schrieb Marco Patzer: 2012-10-25 WolfgangZ: Hi WolfgangZ I'm trying to insert a newline between the number and the head text (chaper). Where do I have to put the \crlf ? It sohould look like: 1 This is the chapter text \defineheadalternative [mine]

Re: [NTG-context] setuphead and newline

2012-10-25 Thread Wolfgang Schuster
Am 25.10.2012 um 19:27 schrieb Wolfgang wol...@gmx.net: it works alsmost as I need, but I don't manage to get the text on grid. I tried linecorrection=on option at the framed text as well as \startlinecorrection. I'm also wondering why the chapter number is above the first line, see

[NTG-context] setuphead broken?

2012-09-13 Thread John Devereux
Hi, \setuphead seems to be broken for me in recent context (following upgrade of a ~year-old system). Problem happens when use the command= key. An example from the wiki fails, as does my own code. mtx-context | ConTeXt Process Management 0.60 mtx-context | mtx-context | main

Re: [NTG-context] setuphead broken?

2012-09-13 Thread Wolfgang Schuster
Am 13.09.2012 um 12:14 schrieb John Devereux j...@devereux.me.uk: Hi, \setuphead seems to be broken for me in recent context (following upgrade of a ~year-old system). Problem happens when use the command= key. An example from the wiki fails, as does my own code. mtx-context

Re: [NTG-context] setuphead broken?

2012-09-13 Thread John Devereux
Wolfgang Schuster wolfgang.schus...@gmail.com writes: Am 13.09.2012 um 12:14 schrieb John Devereux j...@devereux.me.uk: Hi, \setuphead seems to be broken for me in recent context (following upgrade of a ~year-old system). Problem happens when use the command= key. An example from

Re: [NTG-context] \setuphead and testpage

2012-07-14 Thread Wolfgang Schuster
Am 14.07.2012 um 00:32 schrieb Hans Hagen: On 13-7-2012 10:02, Wolfgang Schuster wrote: Hi Hans, can you add a testpage option to \setuphead? %\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}] \starttext \section{First} \dorecurse{36}{Line

[NTG-context] \setuphead and testpage

2012-07-13 Thread Wolfgang Schuster
Hi Hans, can you add a testpage option to \setuphead? %\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}] \starttext \section{First} \dorecurse{36}{Line \recurselevel\par} \section{Second} \dorecurse{36}{Line \recurselevel\par} \stoptext Wolfgang

Re: [NTG-context] \setuphead and testpage

2012-07-13 Thread Hans Hagen
On 13-7-2012 10:02, Wolfgang Schuster wrote: Hi Hans, can you add a testpage option to \setuphead? %\setuphead[section][testpage=4] \setuphead[section][before={\testpage[4]\blank[2*big]}] \starttext \section{First} \dorecurse{36}{Line \recurselevel\par} \section{Second}

[NTG-context] \setuphead and \startchapter request

2012-03-19 Thread Alan BRASLAU
I would like to use, for example, \setuphead [chapter] [after={\placecontent\blank}] But sometimes, I would like to use something like \startchapter [number=no,incrementnumber=no,after=, title={Conclusions of the first part}] \stopchapter 1. I request to have after=, (and other setup

Re: [NTG-context] \setuphead and \startchapter request

2012-03-19 Thread Wolfgang Schuster
Am 19.03.2012 um 12:45 schrieb Alan BRASLAU: I would like to use, for example, \setuphead [chapter] [after={\placecontent\blank}] But sometimes, I would like to use something like \startchapter [number=no,incrementnumber=no,after=, title={Conclusions of the first part}]

Re: [NTG-context] \setuphead and \startchapter request

2012-03-19 Thread Alan BRASLAU
Wolfgang, Thank you for the suggestions. However, I have tried many such, things... On Mon, 19 Mar 2012 12:50:14 +0100 Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 19.03.2012 um 12:45 schrieb Alan BRASLAU: I would like to use, for example, \setuphead [chapter]

Re: [NTG-context] \setuphead and \startchapter request

2012-03-19 Thread Wolfgang Schuster
Am 19.03.2012 um 16:16 schrieb Alan BRASLAU: Wolfgang, Thank you for the suggestions. However, I have tried many such, things… Is this what you want? \setuphead[title][incrementnumber=list] \setuplist[title][width=2em] % default value for chapter entry

Re: [NTG-context] \setuphead problem

2012-03-03 Thread Wolfgang Schuster
Am 02.03.2012 um 17:35 schrieb Alan Bowen: Wolfgang— In both MKII and MKIV (using the latest standalone which I installed this morning), with \setupheader[state=high] \setuppagenumbering[alternative=doublesided] \setuppagenumbering[location=,] \setuphead[title][page={header,yes}]

Re: [NTG-context] \setuphead problem

2012-03-03 Thread Alan Bowen
Excellent, Wolfgang. You are right. Many thanks. But if I may impose just a little longer on your patience, let me explain my problem further. In my example, that \page[makeup] to be removed stood for a key element in the sequence \page[makeup] \stoptext \stopcomponent that typically closes a

Re: [NTG-context] \setuphead problem

2012-03-03 Thread Wolfgang Schuster
Am 03.03.2012 um 14:43 schrieb Alan Bowen: Excellent, Wolfgang. You are right. Many thanks. But if I may impose just a little longer on your patience, let me explain my problem further. In my example, that \page[makeup] to be removed stood for a key element in the sequence \page[makeup]

Re: [NTG-context] \setuphead problem

2012-03-03 Thread Alan Bowen
Many thanks, Wolfgang, I will send you the files off list. Alan On Sat, Mar 3, 2012 at 9:58 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 03.03.2012 um 14:43 schrieb Alan Bowen: Excellent, Wolfgang. You are right. Many thanks. But if I may impose just a little longer on

Re: [NTG-context] \setuphead problem

2012-03-02 Thread Alan Bowen
Wolfgang— I checked and the example fails in both MKII andf MKIV. My apologies for carelessness. The problem arose originally in the pagination/headers for components in a component/product structure that I am tying to set using MKIV. In trying to devise a simple example by adapting the code in

  1   2   >