Difference between revisions of "Command/setuppagenumber"

From Wiki
Jump to navigation Jump to search
m (add reference to setuppagenumbering)
Line 3: Line 3:
== [[Help:Reference|Syntax]] (autogenerated) ==
== [[Help:Reference|Syntax]] ==
== [[Help:Reference|Syntax]] ==

Revision as of 13:52, 18 November 2019


Syntax (autogenerated)

statestart stop none keep empty
...=...,...inherits from \setupcounter


way bytext byblock bychapter ... — reset the counter to one at the start of the text / every block/chapter/section/...
prefix no yes — add the current [prefixset] number as a prefix
prefixset part chapter section ... — write the part/chapter/... number as a prefix to the page number
prefixconnector \endashmark to separate the prefix from the page number
start start/resume page numbering on this page, at the last counter value
stop stop placing page numbers, and stop incrementing the counter.
number 1 2 3 ... — Set the page number. Mkii only.


Setup the way the pages are numbered.

In mkii, this command can be used to manually set the page number: \setuppagenumber[number=4].

To manually set the pagenumber in mkiv: \setcounter[userpage][4].


% mode=mkiv


\section{One by one (fragment)}

one by one
our friends
filled with joy and quest
begin to arrive

one by one our friends
the worshipers of ecstasy
begin to arrive

more friends and sweethearts
filling you with love
are on their way

\rightaligned{---Rumi, {\it trans.} Nader Khalili}

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: