Re: [NTG-context] Get number of chapter and section

2017-07-25 Thread Henri
On Tue, 2017-07-25 at 23:52 +0200, Gerion Entrup wrote:
> Hi,
> 
> I've another question. Currently I'm experimenting with the header and can 
> retrieve the chapter
> name with \getmarkin[chapter].
> How can I get the current number of the chapter (\getnumber[chapter] does not 
> work) and the
> section?

\getmarking[chapternumber]

> 
> Regards,
> Gerion
> ___
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Get number of chapter and section

2017-07-25 Thread Gerion Entrup
Hi,

I've another question. Currently I'm experimenting with the header and can 
retrieve the chapter name with \getmarkin[chapter].
How can I get the current number of the chapter (\getnumber[chapter] does not 
work) and the section?

Regards,
Gerion
___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___