ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: Roman PDF labels
Date: Tue, 14 Sep 2021 14:53:42 +0200	[thread overview]
Message-ID: <5912532c-8123-460d-c583-37c51d0197bb@gmail.com> (raw)
In-Reply-To: <e6b7a904-1933-67b6-ca4e-3c4f694ab63b@gmx.es>



Pablo Rodriguez via ntg-context schrieb am 14.09.2021 um 14:38:
> On 9/14/21 1:58 PM, Sylvain Hubert via ntg-context wrote:
>> Dear List,
>>
>> Do we have something like "\pagenumbering{roman}" in latex, which sets
>> the pdf labels (page numbers for pdf viewers, not the ones rendered in
>> the footer) to roman numbers?
> Hi Sylvain,
>
> copied from
> https://wiki.contextgarden.net/Table_of_Contents#Page_numbering_in_ToC:
>
>    \definestructureconversionset[frontpart:pagenumber][][romannumerals]
>    \definestructureconversionset[bodypart:pagenumber] [][numbers]
>
>    \setuplist[chapter][pageconversionset=pagenumber]

There is no need to set the number conversion for list.

>    \startsectionblockenvironment[frontpart]
>    \setupuserpagenumber[numberconversion=romannumerals]
>    \setuppagenumber[number=1]
>    \stopsectionblockenvironment

No need for these settings because you already changed the number conversion
for the frontmatter and the counter starts at 1 by default.

Wolfgang

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2021-09-14 12:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-14 11:58 Sylvain Hubert via ntg-context
2021-09-14 12:38 ` Pablo Rodriguez via ntg-context
2021-09-14 12:53   ` Wolfgang Schuster via ntg-context [this message]

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=5912532c-8123-460d-c583-37c51d0197bb@gmail.com \
    --to=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).