From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Chapternumber and chaptertitle in footer
Date: Sun, 16 May 2021 19:28:11 +0200 [thread overview]
Message-ID: <6cd9dfa4-2003-d1cd-3ed2-4f82d3fc73c0@gmail.com> (raw)
In-Reply-To: <CAPtmdbNDcmNmmgcMvi5ncgE3QHFE1Cv6xLt5fZgnN9fmLeWNHQ@mail.gmail.com>
Jeroen schrieb am 16.05.2021 um 19:20:
> How can I combine in the footer the chapternumber and the chaptertitle
> in the footer. This way I can achieve the chaptertitle
>
> \setupfootertexts
> [chapter]
> [\pagenumber]
>
> \starttext
>
> \input{tufte}
>
> \stoptext
>
> The following I achieve this with the chapternumber
>
> \setupfootertexts
> [chapternumber]
> [\pagenumber]
>
> \starttext
>
> \input{tufte}
>
> \stoptext
Use \getmarking to access the title and number for the chapter.
\setupfootertexts
[{\getmarking[chapternumber]\ -- \getmarking[chapter]}]
[pagenumber]
\starttext
\chapter{Tufte}
\input{tufte}
\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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
prev parent reply other threads:[~2021-05-16 17:28 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-16 17:20 Jeroen
2021-05-16 17:28 ` Wolfgang Schuster [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6cd9dfa4-2003-d1cd-3ed2-4f82d3fc73c0@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).