ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: jbf <roma83537@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: [NTG-context] No roman numerals in frontmatter header
Date: Sat, 29 Jun 2024 14:49:17 +1000	[thread overview]
Message-ID: <60afdf79-91c1-4388-8273-f20b7e4d5304@gmail.com> (raw)


[-- 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
___________________________________________________________________________________

             reply	other threads:[~2024-06-29  4:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-29  4:49 jbf [this message]
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

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=60afdf79-91c1-4388-8273-f20b7e4d5304@gmail.com \
    --to=roma83537@gmail.com \
    --cc=ntg-context@ntg.nl \
    /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).