ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* chapter no. in header
@ 2020-10-07 11:45 Henning Hraban Ramm
  2020-10-07 12:30 ` Tomas Hala
  0 siblings, 1 reply; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-10-07 11:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users

This should be simple, but I can’t find it:
I need not only the chapter title, but also the chapter number in my headertext.

ATM I have (minus formatting):

\setupheadertexts
  [{\getmarking[section]}]
  [{\pagenumber}]
  [{\pagenumber}]
  [{\getmarking[chapter]}]



Hraban
___________________________________________________________________________________
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] 3+ messages in thread

* Re: chapter no. in header
  2020-10-07 11:45 chapter no. in header Henning Hraban Ramm
@ 2020-10-07 12:30 ` Tomas Hala
  2020-10-07 13:24   ` Henning Hraban Ramm
  0 siblings, 1 reply; 3+ messages in thread
From: Tomas Hala @ 2020-10-07 12:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi Hraban,

\setupheadertexts
  [{\getmarking[sectionnumber]\getmarking[section]}]
  [{\pagenumber}]
  [{\pagenumber}]
  [{\getmarking[chapternumber]\getmarking[chapter]}]

Best wishes,

Tomáš 

Wed, Oct 07, 2020 ve 01:45:46PM +0200 Henning Hraban Ramm napsal(a):
# This should be simple, but I can’t find it:
# I need not only the chapter title, but also the chapter number in my headertext.
# 
# ATM I have (minus formatting):
# 
# \setupheadertexts
#   [{\getmarking[section]}]
#   [{\pagenumber}]
#   [{\pagenumber}]
#   [{\getmarking[chapter]}]
# 
# 
# 
# Hraban
# ___________________________________________________________________________________
# 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
# ___________________________________________________________________________________

                                         Tomáš Hála
--------------------------------------------------------------------
Mendelova univerzita, Provozně ekonomická fakulta, ústav informatiky
Zemědělská 1, CZ-613 00 Brno,  tel. +420 545 13 22 28
--------------------------------------------------------------------
http://akela.mendelu.cz/~thala
___________________________________________________________________________________
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] 3+ messages in thread

* Re: chapter no. in header
  2020-10-07 12:30 ` Tomas Hala
@ 2020-10-07 13:24   ` Henning Hraban Ramm
  0 siblings, 0 replies; 3+ messages in thread
From: Henning Hraban Ramm @ 2020-10-07 13:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users


> Am 07.10.2020 um 14:30 schrieb Tomas Hala <tomas.hala@mendelu.cz>:
> 
> Hi Hraban,
> 
> \setupheadertexts
>  [{\getmarking[sectionnumber]\getmarking[section]}]
>  [{\pagenumber}]
>  [{\pagenumber}]
>  [{\getmarking[chapternumber]\getmarking[chapter]}]

Thank you! I could have just tried that...

Hraban
___________________________________________________________________________________
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] 3+ messages in thread

end of thread, other threads:[~2020-10-07 13:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-07 11:45 chapter no. in header Henning Hraban Ramm
2020-10-07 12:30 ` Tomas Hala
2020-10-07 13:24   ` Henning Hraban Ramm

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