ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Problems with Pagenumbers in TOC, romannumerals and numbers
@ 2016-06-24 13:53 Ursula Hermann
  2016-06-24 16:34 ` Wolfgang Schuster
  0 siblings, 1 reply; 10+ messages in thread
From: Ursula Hermann @ 2016-06-24 13:53 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'


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

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


[-- Attachment #1.2: Type: text/html, Size: 6859 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  2016-06-24 13:53 Problems with Pagenumbers in TOC, romannumerals and numbers Ursula Hermann
@ 2016-06-24 16:34 ` Wolfgang Schuster
  2016-06-28 10:31   ` Ursula Hermann
  0 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2016-06-24 16:34 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  2016-06-24 16:34 ` Wolfgang Schuster
@ 2016-06-28 10:31   ` Ursula Hermann
  2016-06-28 12:15     ` Ursula Hermann
  0 siblings, 1 reply; 10+ messages in thread
From: Ursula Hermann @ 2016-06-28 10:31 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'


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

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


[-- Attachment #1.2: Type: text/html, Size: 5567 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  2016-06-28 10:31   ` Ursula Hermann
@ 2016-06-28 12:15     ` Ursula Hermann
  2016-06-28 20:53       ` Wolfgang Schuster
                         ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Ursula Hermann @ 2016-06-28 12:15 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'


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

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


[-- Attachment #1.2: Type: text/html, Size: 8415 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  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
  2 siblings, 1 reply; 10+ messages in thread
From: Wolfgang Schuster @ 2016-06-28 20:53 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

> 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

[-- Attachment #1.2: Type: text/html, Size: 4559 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  2016-06-28 20:53       ` Wolfgang Schuster
@ 2016-06-30  7:30         ` Ursula Hermann
  0 siblings, 0 replies; 10+ messages in thread
From: Ursula Hermann @ 2016-06-30  7:30 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'


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

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


[-- Attachment #1.2: Type: text/html, Size: 6088 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  2016-06-28 12:15     ` Ursula Hermann
  2016-06-28 20:53       ` Wolfgang Schuster
@ 2016-06-30  7:43       ` Otared Kavian
  2016-06-30 10:04       ` Otared Kavian
  2 siblings, 0 replies; 10+ messages in thread
From: Otared Kavian @ 2016-06-30  7:43 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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 <ursula.hermann@univie.ac.at> 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/>
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 23387 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  2016-06-28 12:15     ` Ursula Hermann
  2016-06-28 20:53       ` Wolfgang Schuster
  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
  2 siblings, 2 replies; 10+ messages in thread
From: Otared Kavian @ 2016-06-30 10:04 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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 <ursula.hermann@univie.ac.at> 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/>
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 23338 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  2016-06-30 10:04       ` Otared Kavian
@ 2016-07-01  7:56         ` Ursula Hermann
  2016-07-01  9:34         ` Ursula Hermann
  1 sibling, 0 replies; 10+ messages in thread
From: Ursula Hermann @ 2016-07-01  7:56 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'


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

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 <ursula.hermann@univie.ac.at> 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

 

 <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

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

maillist :  <mailto:ntg-context@ntg.nl> 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
___________________________________________________________________________________

 


[-- Attachment #1.2: Type: text/html, Size: 26914 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Problems with Pagenumbers in TOC, romannumerals and numbers
  2016-06-30 10:04       ` Otared Kavian
  2016-07-01  7:56         ` Ursula Hermann
@ 2016-07-01  9:34         ` Ursula Hermann
  1 sibling, 0 replies; 10+ messages in thread
From: Ursula Hermann @ 2016-07-01  9:34 UTC (permalink / raw)
  To: 'mailing list for ConTeXt users'


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

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 <ursula.hermann@univie.ac.at> 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

 

 <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

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

maillist :  <mailto:ntg-context@ntg.nl> 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
___________________________________________________________________________________

 


[-- Attachment #1.2: Type: text/html, Size: 28852 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-07-01  9:34 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 13:53 Problems with Pagenumbers in TOC, romannumerals and numbers Ursula Hermann
2016-06-24 16:34 ` Wolfgang Schuster
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

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).