ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: jbf <roma83537@gmail.com>
To: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] Re: No roman numerals in frontmatter header
Date: Sat, 29 Jun 2024 20:02:45 +1000	[thread overview]
Message-ID: <f2964670-f54d-4945-8248-aa93202a6e26@gmail.com> (raw)
In-Reply-To: <4ecf9d7a-d7ee-7c7f-6024-f1d0b9a06348@gmail.com>

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
___________________________________________________________________________________

  reply	other threads:[~2024-06-29 10:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-29  4:49 [NTG-context] " jbf
2024-06-29  8:10 ` [NTG-context] " Henning Hraban Ramm
2024-06-29  9:33   ` Wolfgang Schuster
2024-06-29 10:02     ` jbf [this message]
2024-06-29 10:35     ` Henning Hraban Ramm
2024-06-29  9:56   ` jbf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f2964670-f54d-4945-8248-aa93202a6e26@gmail.com \
    --to=roma83537@gmail.com \
    --cc=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).