[NTG-context] chapter titles

2013-03-21 Thread H. van der Meer
I would like to put something directly after each chapter number, like so:

Chapter 5 add something everytime Title of Chapter

Is there an option for this? \setuphead? \setupheader? which parameter?

I looked up the wiki, but it made me no wiser.

Hans van der Meer



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] chapter titles

2013-03-21 Thread Marco Patzer
On 2013–03–21 H. van der Meer wrote:

 I would like to put something directly after each chapter number, like so:
 
 Chapter 5 add something everytime Title of Chapter
 
 Is there an option for this? \setuphead? \setupheader? which parameter?

http://article.gmane.org/gmane.comp.tex.context/77262

There should be more examples on the mailing list, search for
\defineheadalternative

Marco


signature.asc
Description: Digital signature
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] chapter titles

2013-03-21 Thread Wolfgang Schuster

Am 21.03.2013 um 17:28 schrieb Marco Patzer home...@lavabit.com:

 On 2013–03–21 H. van der Meer wrote:
 
 I would like to put something directly after each chapter number, like so:
 
 Chapter 5 add something everytime Title of Chapter
 
 Is there an option for this? \setuphead? \setupheader? which parameter?
 
 http://article.gmane.org/gmane.comp.tex.context/77262
 
 There should be more examples on the mailing list, search for
 \defineheadalternative

When the text etc. after the number change one could change the label text which
allows text at the left and right side of the number. Another method is to use
the numbercommand key to put content after the number.

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] chapter titles

2013-03-21 Thread Meer H. van der
I have not the faintest idea how to apply that.
\setupheads explored: 
  separator=+ no change in chapter titles observed, nor in the sections
  stopper =+  no change in chapter titles observed, nor in the sections
\setuphead has a numbercommand parameter, but I have no idea how to apply it to 
get a separator between the chapter number and the title; the example in the 
wiki page is a mystery to me.

Hans van der Meer



On 21 mrt. 2013, at 19:31, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 21.03.2013 um 17:28 schrieb Marco Patzer home...@lavabit.com:
 
 On 2013–03–21 H. van der Meer wrote:
 
 I would like to put something directly after each chapter number, like so:
 
 Chapter 5 add something everytime Title of Chapter
 
 Is there an option for this? \setuphead? \setupheader? which parameter?
 
 http://article.gmane.org/gmane.comp.tex.context/77262
 
 There should be more examples on the mailing list, search for
 \defineheadalternative
 
 When the text etc. after the number change one could change the label text 
 which
 allows text at the left and right side of the number. Another method is to use
 the numbercommand key to put content after the number.
 
 Wolfgang
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] chapter titles

2013-03-21 Thread Wolfgang Schuster

Am 21.03.2013 um 20:45 schrieb Meer H. van der h.vanderm...@uva.nl:

 I have not the faintest idea how to apply that.
 \setupheads explored: 
  separator=+ no change in chapter titles observed, nor in the sections
  stopper =+  no change in chapter titles observed, nor in the sections
 \setuphead has a numbercommand parameter, but I have no idea how to apply it 
 to get a separator between the chapter number and the title; the example in 
 the wiki page is a mystery to me.

You can give us a hint to solve the mystery with a better example what do you 
want to achieve.

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] chapter titles

2013-03-21 Thread Meer H. van der
At the moment my chapters are defined with
  \startchapter[title=Its title,reference=chap:thisone]
producing
  Chapter 1 Its title

This I would like to systematically change to
  Chapter 1 - Its title

So I want to put something between the chapter number and the title. Doing 
this, of course,  with a setup for all chapters at once. Thus being able to 
change that something globally, and not by changing all chapter titles 
indivdually. The latter would amount to a series of changes like
  \startchapter[title=- Its title,reference=chap:thisone]
to
  \startchapter[title=+ Its title,reference=chap:thisone]
to achieve Chapter 1 + Its title instead.

I hope this clarifies the problem I posed to myself in wanting this.

Hans van der Meer



On 21 mrt. 2013, at 20:48, Wolfgang Schuster schuster.wolfg...@gmail.com 
wrote:

 
 Am 21.03.2013 um 20:45 schrieb Meer H. van der h.vanderm...@uva.nl:
 
 I have not the faintest idea how to apply that.
 \setupheads explored: 
 separator=+ no change in chapter titles observed, nor in the sections
 stopper =+  no change in chapter titles observed, nor in the sections
 \setuphead has a numbercommand parameter, but I have no idea how to apply it 
 to get a separator between the chapter number and the title; the example in 
 the wiki page is a mystery to me.
 
 You can give us a hint to solve the mystery with a better example what do you 
 want to achieve.
 
 Wolfgang
 
 ___
 If your question is of interest to others as well, please add an entry to the 
 Wiki!
 
 maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
 webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
 archive  : http://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] chapter titles

2013-03-21 Thread Wolfgang Schuster

Am 21.03.2013 um 21:35 schrieb Meer H. van der h.vanderm...@uva.nl:

 At the moment my chapters are defined with
  \startchapter[title=Its title,reference=chap:thisone]
 producing
  Chapter 1 Its title
 
 This I would like to systematically change to
  Chapter 1 - Its title
 
 So I want to put something between the chapter number and the title. Doing 
 this, of course,  with a setup for all chapters at once. Thus being able to 
 change that something globally, and not by changing all chapter titles 
 indivdually. The latter would amount to a series of changes like
  \startchapter[title=- Its title,reference=chap:thisone]
 to
  \startchapter[title=+ Its title,reference=chap:thisone]
 to achieve Chapter 1 + Its title instead.
 
 I hope this clarifies the problem I posed to myself in wanting this.

\setuplabeltext[chapter=Chapter ]
\setuphead[chapter][sectionstopper= – ]

\starttext
\chapter{Test}
\stoptext

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___