ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Problems with Pagenumbers in TOC, romannumerals and numbers
Date: Fri, 24 Jun 2016 18:34:03 +0200	[thread overview]
Message-ID: <576D60FB.50400@gmail.com> (raw)
In-Reply-To: <001201d1ce1f$be28fbc0$3a7af340$@univie.ac.at>


[-- Attachment #1.1: Type: text/plain, Size: 1187 bytes --]

> Ursula Hermann <mailto:ursula.hermann@univie.ac.at>
> 24. Juni 2016 um 15:53
>
> Hello evrybody!
>
> I need in a Toc pagenumberings with romannumrals and numbers.
>
> I have written this one:
>
> \mainlanguage[de]
>
> \setupinteraction[state=start] % don't forget this line!
>
> % make chapter, section bookmarks visible when opening document
>
> \placebookmarks[chapter,section,subsection][chapter,section]
>
> \setupinteractionscreen[option=bookmark]\starttext
>
> \setuplist[chapter]
>
> \setuplist[section][width=1em]
>
> \setuplist[subsection][width=1.5em, margin=0.6em]
>
> \setuplist[subject][margin=1.5em]
>
> \setuppagenumbering
>
> \setupcombinedlist[content][list={part,chapter,section,subsection,subsubsection}]
>
None of the above setups are needed for a minimal example, remove them 
next time.
>
> \setupuserpagenumbering[conversion=romannumerals]
>
You’re looking for the \setupuserpagenumber command (but 
\setuppagenumber would
also work because it’s a synonym for the command) and you have to use 
the numbercommand
key to change the conversion.

     \setupuserpagenumber[numberconversion=romannumerals]

Wolfgang


[-- Attachment #1.2: Type: text/html, Size: 4622 bytes --]

[-- Attachment #2: Type: text/plain, Size: 485 bytes --]

___________________________________________________________________________________
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://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2016-06-24 16:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-24 13:53 Ursula Hermann
2016-06-24 16:34 ` Wolfgang Schuster [this message]
2016-06-28 10:31   ` Ursula Hermann
2016-06-28 12:15     ` Ursula Hermann
2016-06-28 20:53       ` Wolfgang Schuster
2016-06-30  7:30         ` Ursula Hermann
2016-06-30  7:43       ` Otared Kavian
2016-06-30 10:04       ` Otared Kavian
2016-07-01  7:56         ` Ursula Hermann
2016-07-01  9:34         ` Ursula Hermann

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=576D60FB.50400@gmail.com \
    --to=schuster.wolfgang@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).