ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Get number of chapter and section
@ 2017-07-25 21:52 Gerion Entrup
  2017-07-25 22:56 ` Henri
  0 siblings, 1 reply; 2+ messages in thread
From: Gerion Entrup @ 2017-07-25 21:52 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

* Re: Get number of chapter and section
  2017-07-25 21:52 Get number of chapter and section Gerion Entrup
@ 2017-07-25 22:56 ` Henri
  0 siblings, 0 replies; 2+ messages in thread
From: Henri @ 2017-07-25 22:56 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________

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

end of thread, other threads:[~2017-07-25 22:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-07-25 21:52 Get number of chapter and section Gerion Entrup
2017-07-25 22:56 ` Henri

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).