Thank you very much for this. After you mentioned \userpagenumber I was able to discover its (single) mention in https://wiki.contextgarden.net/Headers_and_Footers. But perhaps in any reorganisation of the wiki, this could be more clearly indicated as applying more specifically to the need to get roman numerals in \setupheadertexts situations, as my own case demonstrates. Grateful as always, Julian On 29/6/24 19:33, Wolfgang Schuster wrote:
Henning Hraban Ramm schrieb am 29.06.2024 um 10:10:
Am 29.06.24 um 06:49 schrieb jbf:
But if I change to \setuppagenumbering[location= ], and choose, for example:
\setupheadertexts
[ ] [{\getmarking[chapter]\hskip1em \pagenumber}]
[{\pagenumber \hskip1em \documentvariable{metadata:title}}] [ ]
I get my header texts with page numbers in arabic numerals in frontmatter. I have tried various \setupheadertexts options, but I still get arabic numerals in frontmatter. The conversion does not work.
What am I missing or doing wrong?
Try \convertnumber{R}{\pagenumber}
Just use \userpagenumber.
Wolfgang