* [NTG-context] No roman numerals in frontmatter header
@ 2024-06-29 4:49 jbf
2024-06-29 8:10 ` [NTG-context] " Henning Hraban Ramm
0 siblings, 1 reply; 6+ messages in thread
From: jbf @ 2024-06-29 4:49 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 968 bytes --]
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
[-- Attachment #1.2: Type: text/html, Size: 4106 bytes --]
[-- Attachment #2: Type: text/plain, Size: 511 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: No roman numerals in frontmatter header
2024-06-29 4:49 [NTG-context] No roman numerals in frontmatter header jbf
@ 2024-06-29 8:10 ` Henning Hraban Ramm
2024-06-29 9:33 ` Wolfgang Schuster
2024-06-29 9:56 ` jbf
0 siblings, 2 replies; 6+ messages in thread
From: Henning Hraban Ramm @ 2024-06-29 8:10 UTC (permalink / raw)
To: ntg-context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: No roman numerals in frontmatter header
2024-06-29 8:10 ` [NTG-context] " Henning Hraban Ramm
@ 2024-06-29 9:33 ` Wolfgang Schuster
2024-06-29 10:02 ` jbf
2024-06-29 10:35 ` Henning Hraban Ramm
2024-06-29 9:56 ` jbf
1 sibling, 2 replies; 6+ messages in thread
From: Wolfgang Schuster @ 2024-06-29 9:33 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: No roman numerals in frontmatter header
2024-06-29 8:10 ` [NTG-context] " Henning Hraban Ramm
2024-06-29 9:33 ` Wolfgang Schuster
@ 2024-06-29 9:56 ` jbf
1 sibling, 0 replies; 6+ messages in thread
From: jbf @ 2024-06-29 9:56 UTC (permalink / raw)
To: Henning Hraban Ramm; +Cc: mailing list for ConTeXt users
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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: No roman numerals in frontmatter header
2024-06-29 9:33 ` Wolfgang Schuster
@ 2024-06-29 10:02 ` jbf
2024-06-29 10:35 ` Henning Hraban Ramm
1 sibling, 0 replies; 6+ messages in thread
From: jbf @ 2024-06-29 10:02 UTC (permalink / raw)
To: Wolfgang Schuster; +Cc: mailing list for ConTeXt users
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
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
* [NTG-context] Re: No roman numerals in frontmatter header
2024-06-29 9:33 ` Wolfgang Schuster
2024-06-29 10:02 ` jbf
@ 2024-06-29 10:35 ` Henning Hraban Ramm
1 sibling, 0 replies; 6+ messages in thread
From: Henning Hraban Ramm @ 2024-06-29 10:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
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
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2024-06-29 10:37 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-29 4:49 [NTG-context] No roman numerals in frontmatter header jbf
2024-06-29 8:10 ` [NTG-context] " Henning Hraban Ramm
2024-06-29 9:33 ` Wolfgang Schuster
2024-06-29 10:02 ` jbf
2024-06-29 10:35 ` Henning Hraban Ramm
2024-06-29 9:56 ` jbf
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).