ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* chapter titles
@ 2013-03-21 16:16 H. van der Meer
  2013-03-21 16:28 ` Marco Patzer
  0 siblings, 1 reply; 7+ messages in thread
From: H. van der Meer @ 2013-03-21 16:16 UTC (permalink / raw)
  To: ConTeXt NTG


[-- Attachment #1.1: Type: text/plain, Size: 272 bytes --]

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




[-- Attachment #1.2: Type: text/html, Size: 1793 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: chapter titles
  2013-03-21 16:16 chapter titles H. van der Meer
@ 2013-03-21 16:28 ` Marco Patzer
  2013-03-21 18:31   ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Marco Patzer @ 2013-03-21 16:28 UTC (permalink / raw)
  To: ntg-context


[-- Attachment #1.1: Type: text/plain, Size: 416 bytes --]

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

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: chapter titles
  2013-03-21 16:28 ` Marco Patzer
@ 2013-03-21 18:31   ` Wolfgang Schuster
  2013-03-21 19:45     ` Meer H. van der
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2013-03-21 18:31 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.03.2013 um 17:28 schrieb Marco Patzer <homerow@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: chapter titles
  2013-03-21 18:31   ` Wolfgang Schuster
@ 2013-03-21 19:45     ` Meer H. van der
  2013-03-21 19:48       ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Meer H. van der @ 2013-03-21 19:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.wolfgang@gmail.com> wrote:

> 
> Am 21.03.2013 um 17:28 schrieb Marco Patzer <homerow@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: chapter titles
  2013-03-21 19:45     ` Meer H. van der
@ 2013-03-21 19:48       ` Wolfgang Schuster
  2013-03-21 20:35         ` Meer H. van der
  0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2013-03-21 19:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.03.2013 um 20:45 schrieb Meer H. van der <H.vanderMeer@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: chapter titles
  2013-03-21 19:48       ` Wolfgang Schuster
@ 2013-03-21 20:35         ` Meer H. van der
  2013-03-21 20:38           ` Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Meer H. van der @ 2013-03-21 20:35 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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.wolfgang@gmail.com> wrote:

> 
> Am 21.03.2013 um 20:45 schrieb Meer H. van der <H.vanderMeer@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: chapter titles
  2013-03-21 20:35         ` Meer H. van der
@ 2013-03-21 20:38           ` Wolfgang Schuster
  0 siblings, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2013-03-21 20:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.03.2013 um 21:35 schrieb Meer H. van der <H.vanderMeer@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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-03-21 20:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-03-21 16:16 chapter titles H. van der Meer
2013-03-21 16:28 ` Marco Patzer
2013-03-21 18:31   ` Wolfgang Schuster
2013-03-21 19:45     ` Meer H. van der
2013-03-21 19:48       ` Wolfgang Schuster
2013-03-21 20:35         ` Meer H. van der
2013-03-21 20:38           ` Wolfgang Schuster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).