From: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>,
Willi Egger <context@boede.nl>
Subject: Re: Pagenumbering with \setupcounter[userpagenumber]
Date: Wed, 29 Jul 2020 22:05:10 +0200 [thread overview]
Message-ID: <84e49ada-b7c6-dc2e-ede0-998ffd07aa2a@gmail.com> (raw)
In-Reply-To: <6CA37FA8-F7A7-426E-8F60-77554D4B4942@boede.nl>
Willi Egger schrieb am 29.07.2020 um 21:43:
> Good evening!
>
> I am trying to make use of the userpagenumber counter. I have a book at hand, where I need to adjust the start of the pagenumbering.
>
> It appears to me, that the \setupcounter[userpagenumber[state=stop] and later the \setupcounter[userpagenumber][state=start,start=7] is not giving the expected result.
>
> MWE:
>
> [...]
>
>
> Is this a bug or do I miss something?
The second one.
The name of the counter isn't "userpagenumber" and you don't even have
to know the name of the counter because \setupuserpagenumber has the
same options (and passes the values to \setupcounter).
\setupfootertexts[\userpagenumber]
\starttext
\setupuserpagenumber[state=stop]
\dorecurse{10}{\input knuth }
\page \setupuserpagenumber[state=start,number=7]
\dorecurse{10}{\input zapf }
\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:[~2020-07-29 20:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-29 19:43 Willi Egger
2020-07-29 20:05 ` 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=84e49ada-b7c6-dc2e-ede0-998ffd07aa2a@gmail.com \
--to=wolfgang.schuster.lists@gmail.com \
--cc=context@boede.nl \
--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).