Difference between revisions of "Command/setupuserpagenumber"

From Wiki
Jump to navigation Jump to search
m (Fix example)
 
Line 6: Line 6:
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
== [[Help:Reference|Syntax]] (autogenerated) ==
 
<syntax>setupuserpagenumber</syntax>
 
<syntax>setupuserpagenumber</syntax>
 
== [[Help:Reference|Syntax]] ==
 
<table cellspacing="4" cellpadding="2" class="cmd">
 
  <tr>
 
    <td colspan="2" class="cmd">\setupuserpagenumber<span class="first" >[...,...=...,...]</span></td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">{{key|numberconversion}}</td>
 
    <td>numbers characters Characters romannumerals Romannumerals</td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">{{key|number}}</td>
 
    <td>NUMBER</td>
 
  </tr>
 
  <tr valign="top" class="first">
 
    <td class="cmd">{{key|...}}</td>
 
    <td>...</td>
 
  </tr>
 
</table>
 
  
 
== Description ==  
 
== Description ==  
Line 41: Line 22:
  
 
\showframe[edge]
 
\showframe[edge]
 
+
\starttext
% Fails, probably due to old context installation on server.
 
 
(Page number conversion, location and style changed.)
 
(Page number conversion, location and style changed.)
 
+
\stoptext
 
</context>
 
</context>
  

Latest revision as of 20:59, 29 July 2020

\setupuserpagenumber

Syntax (autogenerated)

\setupuserpagenumber[...=...,...]
viewerprefixtext
statestart stop none keep empty
...=...,...inherits from \setupcounter


Description

This page needs to be expanded!


From the mailing list: It seems that, in mkiv, \setupuserpagenumber is used instead of \setuppagenumbering to change the number conversion format for page numbering. This may well be true for other attributes as well, but I do not have time right now to browse the source and see what else is supported.

Example

\setuppapersize[A10]
\setuppagenumbering[location={footer,middle},style=\bfc]
\setupuserpagenumber[numberconversion=romannumerals]

\showframe[edge]
\starttext
(Page number conversion, location and style changed.)
\stoptext

See also

Help from ConTeXt-Mailinglist/Forum

All issues with: