Changes

Jump to navigation Jump to search
no edit summary
</tr>
<tr valign="top" class="first">
<td class="cmd">[[Command/keyword:number|number]]way</td> <td>[[Command'''bytext''' byblock bychapter ... — ''reset the counter to one at the start of the text / every block/chapter/section/value:number|number]] ...</td>
</tr>
<tr valign="top" class="first">
<td class="cmd">prefix</td> <td>'''no''' yes — ''add the current [[Commandprefixset] number as a prefix</td> </tr> <tr valign="top" class="first"> <td class="cmd">prefixset</td> <td>'''part''' chapter section ... — ''write the part/chapter/... number as a prefix to the page number''</td> </tr> <tr valign="top" class="first"> <td class="cmd">prefixconnector</td> <td>'''\endash''' — ''mark to separate the prefix from the page number''</td> </keyword:state|tr> <tr valign="top" class="first"> <td class="cmd">state]]</td> <td>[[Command/value{| class=wikitable|- style="vertical-align:top"| '''start''' ||start]] [[Command/resume page numbering on this page, at the last counter value|- style="vertical-align:top"| stop ||stop]] [[Commandplacing page numbers, and stop incrementing the counter.|} </td> </tr> <tr valign="top" class="first"> <td class="cmd">number</value:keep|keep]] td> <td>1 2 3 ... — ''Set the page number. Mkii only.''</td>
</tr>
</table>
== Description ==
 
Setup the way the pages are numbered.
In mkii, this command can be used to manually set the page number: {{cmd|setuppagenumber|2== Description == The option [number=NUMBER, where NUMBER is the pagenumber at which the document starts, is gone and replaced by \setcounter[userpage][NUMBER4] (mkiv)}}.
To manually set the pagenumber in mkiv: {{cmd|setcounter|[userpage][4]}}.
== Example ==
<!texcode>% mode=mkiv\setuppagenumber [way=bytext, prefix=yes, prefixset=section, prefixconnector=\endash, state=start] \setuppapersize[A7]\showframe[] \starttext\section{One by one (fragment)} \startlinesone by oneour friendsfilled with joy and questbegin to arrive one by one our friendsthe worshipers of ecstasybegin to arrive more friends and sweetheartsfilling you with loveare on their way\stoplines \rightaligned{-- Please fill in an example if you can --Rumi, {\it trans.} Nader Khalili}\stoptext </texcode>
== See also ==
<!-- something like * {{cmd|gotosetupsubpagenumber}}* {{cmd|setcounter}} -->
== Help from ConTeXt-Mailinglist/Forum ==

Navigation menu