* [NTG-context] roman numerals frontpart
@ 2024-06-26 0:52 jbf
2024-06-26 1:43 ` [NTG-context] " jbf
0 siblings, 1 reply; 2+ messages in thread
From: jbf @ 2024-06-26 0:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 876 bytes --]
Something that has worked for me in the past is not working for me at
the moment, and I cannot figure out why:
\startsectionblockenvironment [frontpart]
\setupuserpagenumber [numberconversion=romannumerals]
\setcounter [userpage] [5]
\stopsectionblockenvironment
\startsectionblockenvironment [bodypart]
\setcounter [userpage] [1]
\stopsectionblockenvironment
gives me roman numerals in the TOC but not on the frontmatter pages,
which are arabic. Bodymatter is okay. What could I possibly be doing wrong?
Even with a different setup I get the same result:
\definestructureconversionset [frontpart:pagenumber] [] [romannumerals]
\setupheads[title][sectionconversionset=section]
\startsectionblockenvironment[frontpart]
\setupuserpagenumber[numberconversion=romannumerals]
\setuppagenumber[number=1]
\stopsectionblockenvironment
Puzzling (for me at least).
Julian
[-- Attachment #1.2: Type: text/html, Size: 2008 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] 2+ messages in thread
* [NTG-context] Re: roman numerals frontpart
2024-06-26 0:52 [NTG-context] roman numerals frontpart jbf
@ 2024-06-26 1:43 ` jbf
0 siblings, 0 replies; 2+ messages in thread
From: jbf @ 2024-06-26 1:43 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1472 bytes --]
I have found the problem, but am still seeking a little help:
I had created a setup to raise the page number in the footer. Calling
this setup resulted in the frontpart pages reverting to arabic instead
of roman:
\startsetups pnfooter
\setuppagenumbering[alternative=doublesided,location=]
\setupfooter
[style=normal]
\setupfootertexts
[{\framed[width=max,frame=off,boffset=2mm]{\pagenumber}}]
\stopsetups
How can I continue to use the setup but still get my roman numerals in
the frontpart?
Julian
On 26/6/24 10:52, jbf wrote:
>
> Something that has worked for me in the past is not working for me at
> the moment, and I cannot figure out why:
>
> \startsectionblockenvironment [frontpart]
> \setupuserpagenumber [numberconversion=romannumerals]
> \setcounter [userpage] [5]
> \stopsectionblockenvironment
> \startsectionblockenvironment [bodypart]
> \setcounter [userpage] [1]
> \stopsectionblockenvironment
>
> gives me roman numerals in the TOC but not on the frontmatter pages,
> which are arabic. Bodymatter is okay. What could I possibly be doing
> wrong?
>
> Even with a different setup I get the same result:
>
> \definestructureconversionset [frontpart:pagenumber] [] [romannumerals]
> \setupheads[title][sectionconversionset=section]
> \startsectionblockenvironment[frontpart]
> \setupuserpagenumber[numberconversion=romannumerals]
> \setuppagenumber[number=1]
> \stopsectionblockenvironment
>
> Puzzling (for me at least).
>
> Julian
>
[-- Attachment #1.2: Type: text/html, Size: 3879 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] 2+ messages in thread
end of thread, other threads:[~2024-06-26 1:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-26 0:52 [NTG-context] roman numerals frontpart jbf
2024-06-26 1:43 ` [NTG-context] " 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).