Perhaps someone can advise me where I am going wrong. I have no trouble getting roman numeral page numbers in the footer text in frontmatter with \startsectionblockenvironment [frontpart] \setupuserpagenumber [numberconversion=romannumerals] \setcounter [userpage] [5] \stopsectionblockenvironment \startsectionblockenvironment [bodypart] \setcounter [userpage] [1] \stopsectionblockenvironment \setuppagenumbering [alternative=doublesided,location={footer,middle}] 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? Julian
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} Hraban
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
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
Am 29.06.24 um 11:33 schrieb Wolfgang Schuster:
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.
Right, another detail missing in my book and apparently in the wiki. I already marked sooo many emails to process the interesting code in them, at least this is easy. Hraban
Thanks for this... though the later indication from Wolfgang is clearly the easiest. On 29/6/24 18:10, Henning Hraban Ramm wrote:
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}
Hraban ___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________
participants (3)
-
Henning Hraban Ramm
-
jbf
-
Wolfgang Schuster