Re: [NTG-context] chapter number sought

2021-05-30 Thread Hans van der Meer
Thanks. This helps.
dr. Hans van der Meer


> On 30 May 2021, at 13:40, Adam Reviczky  wrote:
> 
> Hi Hans,
> 
> Does this help: 
> https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names
>  
> 
>  ?
> 
> \starttext
> \startchapter[title={First chapter}]
> \structurenumber\ - \structuretitle
> \stopchapter
> \stoptext
> 
> Although getmarking is probably what you're really after: 
> \getmarking[chapternumber] and \getmarking[chapter].
> 
> \starttext
> \startchapter[title={First chapter}]
> \getmarking[chapternumber][current]\ - \getmarking[chapter][current]
> \stopchapter
> \stoptext
> 
> Adam
> 
> On Sun, May 30, 2021 at 11:12 AM Hans van der Meer  > wrote:
> With \pagenumber I can call up the current pagenumber and typeset it.
> But \chapternumber is not defined.
> How can I typeset the current chapternumber or even the current 
> chapternumber.sectionnumber.subsectionnumber, for example?
> 
> dr. 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://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
> ___

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


Re: [NTG-context] chapter number sought

2021-05-30 Thread Adam Reviczky
Hi Hans,

Does this help:
https://tex.stackexchange.com/questions/134474/context-part-chapter-section-and-subsection-names
?

\starttext
\startchapter[title={First chapter}]
\structurenumber\ - \structuretitle
\stopchapter
\stoptext

Although getmarking is probably what you're really after:
\getmarking[chapternumber] and \getmarking[chapter].

\starttext
\startchapter[title={First chapter}]
\getmarking[chapternumber][current]\ - \getmarking[chapter][current]
\stopchapter
\stoptext

Adam

On Sun, May 30, 2021 at 11:12 AM Hans van der Meer 
wrote:

> With \pagenumber I can call up the current pagenumber and typeset it.
> But \chapternumber is not defined.
> How can I typeset the current chapternumber or even the current
> chapternumber.sectionnumber.subsectionnumber, for example?
>
> dr. 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://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] chapter number sought

2021-05-30 Thread Hans van der Meer
With \pagenumber I can call up the current pagenumber and typeset it.
But \chapternumber is not defined.
How can I typeset the current chapternumber or even the current 
chapternumber.sectionnumber.subsectionnumber, for example?

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