Problems with Pagenumbers in TOC, romannumerals and numbers
![](https://secure.gravatar.com/avatar/261cdd98d6f2bcadf17d1aefd59d3bab.jpg?s=120&d=mm&r=g)
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,subsubsect ion}] \setupuserpagenumbering[conversion=romannumerals] \setupinteraction [state=start, style=, color=, contrastcolor=] \setuplist [chapter] [after={\blank[line]}] \setupcombinedlist [content] [aligntitle=yes, alternative=c, interaction=all] \setuphead [part] [sectionresetset=, conversion=Romannumerals, placehead=yes, bodypartlabel=chapter] \setuphead [chapter] [sectionresetset=, conversion=, number=no, placehead=yes, bodypartlabel=part, sectionsegments=chater:chapter] \setuphead [section] [sectionsegments=section:section] \starttext \placecontent \startpart [title={Danksagung}] \startchapter [title={Bildbeschreibung der Cover-Grafik}] \startchapter [title={Einleitung:"Entwicklung" behindern?}] \startsection [title=Activité 2] \startchapter [title={Cours-Méthodes}] \startsection [title={Coordonnées d'un point dans un repère}] \startsection [title={Coordonnées du milieu d'un segment}] \startchapter [title={S'entraîner}] \startsection [title={Coordonnées d'un point dans un repère}] \startsection [title={Coordonnées du milieu d'un segment}] \stoptext The mistake is ,that i have writen after compiling comes: error in line 13: \setupuserpagenumbering[conversion=romannumerals] Whats wrong here? Uschi
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
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
![](https://secure.gravatar.com/avatar/261cdd98d6f2bcadf17d1aefd59d3bab.jpg?s=120&d=mm&r=g)
Hallo Wolfgang! Thanks for helping me. It was perfekt. Uschi Von: ntg-context [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Wolfgang Schuster Gesendet: Freitag, 24. Juni 2016 18:34 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers mailto:ursula.hermann@univie.ac.at Ursula Hermann 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
![](https://secure.gravatar.com/avatar/261cdd98d6f2bcadf17d1aefd59d3bab.jpg?s=120&d=mm&r=g)
Hello Wolfgang! I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung:"Entwicklung" behindern?}] \stoptext Ähm where do i set the counter. I mean when I set\setcounter? Uschi Von: ntg-context [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Ursula Hermann Gesendet: Dienstag, 28. Juni 2016 12:31 An: 'mailing list for ConTeXt users' Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers Hallo Wolfgang! Thanks for helping me. It was perfekt. Uschi Von: ntg-context [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Wolfgang Schuster Gesendet: Freitag, 24. Juni 2016 18:34 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers mailto:ursula.hermann@univie.ac.at Ursula Hermann 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
![](https://secure.gravatar.com/avatar/b79687264c3e06cba13b54d05b12a9f5.jpg?s=120&d=mm&r=g)
Ursula Hermann mailto:ursula.hermann@univie.ac.at 28. Juni 2016 um 14:15
Hello Wolfgang!
I have now written as you told me.
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\startchapter
\startchapter[title={Bildbeschreibung der Cover-Grafik}]
\setupuserpagenumber[numberconversion=numbers]
\startchapter
[title={Einleitung:"Entwicklung" behindern?}]
\stoptext
Ähm where do i set the counter. I mean when I set\setcounter?
Where and why do you want to change the page counter. Wolfgang
![](https://secure.gravatar.com/avatar/261cdd98d6f2bcadf17d1aefd59d3bab.jpg?s=120&d=mm&r=g)
Hello Wolfgang! I woud like to change the counter because there is a wrong pagenumber at the numbers, not at the romannumerals . I have compiled but I always have 2 instead of 6.This ist the pagenumber I need. Thanks Uschi Von: ntg-context [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Wolfgang Schuster Gesendet: Dienstag, 28. Juni 2016 22:53 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers mailto:ursula.hermann@univie.ac.at Ursula Hermann 28. Juni 2016 um 14:15 Hello Wolfgang! I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung:"Entwicklung" behindern?}] \stoptext Ähm where do i set the counter. I mean when I set\setcounter? Where and why do you want to change the page counter. Wolfgang
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
Hello Ursula, I don’t know whether the example you sent is what you typeset, but you should pay attention to close each \startchpater by a corresponding \stopchapter. The same remark applies to other \startSOMETHING command, which should have a corresponding \stopSOMETHING. This is probably not related to the question you are asking, but nevertheless is important in many instances. Best regards: OK
On 28 Jun 2016, at 14:15, Ursula Hermann
wrote: Hello Wolfgang!
I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung:"Entwicklung" behindern?}] \stoptext
Ähm where do i set the counter. I mean when I set\setcounter?
Uschi Von: ntg-context [mailto:ntg-context-bounces@ntg.nl mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Ursula Hermann Gesendet: Dienstag, 28. Juni 2016 12:31 An: 'mailing list for ConTeXt users' Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers
Hallo Wolfgang!
Thanks for helping me. It was perfekt.
Uschi
Von: ntg-context [mailto:ntg-context-bounces@ntg.nl mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Wolfgang Schuster Gesendet: Freitag, 24. Juni 2016 18:34 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers
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
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://tex.aanhet.net http://tex.aanhet.net/ archive : http://foundry.supelec.fr/projects/contextrev/ http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/5faea8b4fa0adb143383811dc94f0d22.jpg?s=120&d=mm&r=g)
Hi again, Maybe what you want to achieve is resetting the page numbers at some point: in that case you can say: \page \resetuserpagenumber just before the chapter where you want your chapter with roman numerals beginning at number 1. Best regards: OK
On 28 Jun 2016, at 14:15, Ursula Hermann
wrote: Hello Wolfgang!
I have now written as you told me. \starttext \placecontent \setupuserpagenumber[numberconversion=romannumerals] \startchapter \startchapter[title={Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=numbers] \startchapter [title={Einleitung:"Entwicklung" behindern?}] \stoptext
Ähm where do i set the counter. I mean when I set\setcounter?
Uschi Von: ntg-context [mailto:ntg-context-bounces@ntg.nl mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Ursula Hermann Gesendet: Dienstag, 28. Juni 2016 12:31 An: 'mailing list for ConTeXt users' Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers
Hallo Wolfgang!
Thanks for helping me. It was perfekt.
Uschi
Von: ntg-context [mailto:ntg-context-bounces@ntg.nl mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Wolfgang Schuster Gesendet: Freitag, 24. Juni 2016 18:34 An: mailing list for ConTeXt users Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers
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
___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl mailto:ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl http://www.pragma-ade.nl/ / http://tex.aanhet.net http://tex.aanhet.net/ archive : http://foundry.supelec.fr/projects/contextrev/ http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net http://contextgarden.net/ ___________________________________________________________________________________
![](https://secure.gravatar.com/avatar/261cdd98d6f2bcadf17d1aefd59d3bab.jpg?s=120&d=mm&r=g)
Hello Otared!
I have it. I found an mail on the mailinglist . This works. It is:
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][5]
\startpart
[title={Danksagung}]
\stoppart
\startchapter
[title={Bildbeschreibung der Cover-Grafik}]
\setupuserpagenumber[numberconversion=numbers]
\startchapter
[title={Einleitung:"Entwicklung" behindern?}]
\startpart
[title={Danksagung}]
\startchapter
[title={Bildbeschreibung der Cover-Grafik}]
\startchapter
[title={Einleitung:"Entwicklung" behindern?}]
\startsection
[title=Activité 2]
\startchapter
[title={Cours-Méthodes}]
\startsection
[title={Coordonnées d'un point dans un repère}]
\startsection
[title={Coordonnées du milieu d'un segment}]
\startchapter
[title={S'entraîner}]
\startsection
[title={Coordonnées d'un point dans un repère}]
\startsection
[title={Coordonnées du milieu d'un segment}]
\stoptext
And thanks for the other tip.
Von: ntg-context [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Otared Kavian
Gesendet: Donnerstag, 30. Juni 2016 12:05
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers
Hi again,
Maybe what you want to achieve is resetting the page numbers at some point: in that case you can say:
\page
\resetuserpagenumber
just before the chapter where you want your chapter with roman numerals beginning at number 1.
Best regards: OK
On 28 Jun 2016, at 14:15, Ursula Hermann
![](https://secure.gravatar.com/avatar/261cdd98d6f2bcadf17d1aefd59d3bab.jpg?s=120&d=mm&r=g)
Hello Otared!
At least the example is this. Now it works perfekt:
\starttext
\placecontent
\setupuserpagenumber[numberconversion=romannumerals]
\setcounter[userpage][2]
\startchapter
[title={Danksagung}]
\stopchapter
\startchapter
[title={Bildbeschreibung der Cover-Grafik}]
\stopchapter
\startchapter
[title={Einleitung:"Entwicklung" behindern?}]
\stopchapter
\setupuserpagenumber[numberconversion=numbers]
\setcounter[userpage][1]
\startsection
[title=Activité 2]
\stopsection
\startchapter
[title={Cours-Méthodes}]
\startsection
[title={Coordonnées d'un point dans un repère}]
\startsection
[title={Coordonnées du milieu d'un segment}]
\startchapter
[title={S'entraîner}]
\startsection
[title={Coordonnées d'un point dans un repère}]
\startsection
[title={Coordonnées du milieu d'un segment}]
\stoptext
\definestructureconversionset [frontpart:pagenumber] [5] [numbers]
\setupmakeup
[standard]
[pagestate=start,
style=bigbodyfont,
align=middle]
\starttext
\startfrontmatter
\completecontent
\stopfrontmatter
\startbodymatter
\startchapter [title=First chapter]
\stopchapter
\startchapter [title=Second chapter]
\stopchapter
\stopbodymatter
\stoptext
Thank‘s so much, for helping me .
Uschi
Von: ntg-context [mailto:ntg-context-bounces@ntg.nl] Im Auftrag von Otared Kavian
Gesendet: Donnerstag, 30. Juni 2016 12:05
An: mailing list for ConTeXt users
Betreff: Re: [NTG-context] Problems with Pagenumbers in TOC, romannumerals and numbers
Hi again,
Maybe what you want to achieve is resetting the page numbers at some point: in that case you can say:
\page
\resetuserpagenumber
just before the chapter where you want your chapter with roman numerals beginning at number 1.
Best regards: OK
On 28 Jun 2016, at 14:15, Ursula Hermann
participants (3)
-
Otared Kavian
-
Ursula Hermann
-
Wolfgang Schuster