Open main menu

Changes

renewed from non-template page
<cd:commandgroup name="setupuserpagenumber" xmlns:cd="http://wiki.contextgarden.net/commanddoc/20200807">
<cd:shortdesc><!-- a short command summary goes here -->
The command <tt>\setupuserpagenumber</tt> is used to change the page number conversion and construction.
</cd:shortdesc>
<cd:variants>
<cd:command category="counter" file="strc-pag.mkiv" interfacedate="2020-07-14T09:24" interfacefile="i-pagenumber.xml" keywords="structure" level="style" name="setupuserpagenumber" variantnumber="1">
<cd:arguments>
<cd:assignments list="yes" ordinal="1">
<cd:assignmentsdoc></cd:assignmentsdoc>
<cd:parameter name="viewerprefix">
<cd:paramdoc></cd:paramdoc>
<cd:constant type="cd:text"></cd:constant>
</cd:parameter>
<cd:parameter name="state">
<cd:paramdoc></cd:paramdoc>
<cd:constant type="start"></cd:constant>
<cd:constant type="stop"></cd:constant>
<cd:constant type="none"></cd:constant>
<cd:constant type="keep"></cd:constant>
<cd:constant type="empty"></cd:constant>
</cd:parameter>
<cd:inherit name="setupcounter"></cd:inherit>
</cd:assignments>
</cd:arguments>
</cd:command>
</cd:variants>
<cd:description><!-- the long description of the command goes here -->
</cd:description>
<cd:examples><cd:example title=""><context source="yes">
\setuppapersize[A10]
\setuppagenumbering[location={footer,middle},style=\bfc]
\setupuserpagenumber[numberconversion=romannumerals]

\showframe[edge]
\starttext
(Page number conversion, location and style changed.)
\stoptext
</context>
</cd:example></cd:examples>
<cd:notes></cd:notes>
<cd:seealso>
<cd:commandref name="definecounter" originator="system"></cd:commandref>
<cd:commandref name="setupcounter" originator="system"></cd:commandref>
<cd:source file="strc-pag.mkiv" originator="system"></cd:source>
<cd:wikipage originator="system" page="Category:Counter"></cd:wikipage>
<cd:wikipage originator="system" page="Keywords:Structure"></cd:wikipage>
<cd:commandref name="setuppagenumbering"></cd:commandref>
<cd:commandref name="setuppagenumber"></cd:commandref>
<cd:commandref name="convertnumber"></cd:commandref></cd:seealso>
</cd:commandgroup>