From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95302 Path: news.gmane.org!not-for-mail From: "Ursula Hermann" Newsgroups: gmane.comp.tex.context Subject: Re: Problems with Pagenumbers in TOC, romannumerals and numbers Date: Fri, 1 Jul 2016 11:34:22 +0200 Message-ID: <001101d1d37b$c0133f20$4039bd60$@univie.ac.at> References: <001201d1ce1f$be28fbc0$3a7af340$@univie.ac.at> <576D60FB.50400@gmail.com> <001501d1d128$334ee300$99eca900$@univie.ac.at> <000001d1d136$d25303b0$76f90b10$@univie.ac.at> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8425837066943705744==" X-Trace: ger.gmane.org 1467365710 13989 80.91.229.3 (1 Jul 2016 09:35:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 1 Jul 2016 09:35:10 +0000 (UTC) To: "'mailing list for ConTeXt users'" Original-X-From: ntg-context-bounces@ntg.nl Fri Jul 01 11:34:56 2016 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bIuqZ-0000nX-TD for gctc-ntg-context-518@m.gmane.org; Fri, 01 Jul 2016 11:34:52 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id E071910A90; Fri, 1 Jul 2016 11:34:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f0E5hkyyBePs; Fri, 1 Jul 2016 11:34:38 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 12F6610A95; Fri, 1 Jul 2016 11:34:38 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 235D410A90 for ; Fri, 1 Jul 2016 11:34:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EyLnH8ZGd4UA for ; Fri, 1 Jul 2016 11:34:35 +0200 (CEST) Original-Received: from grace.univie.ac.at (grace.univie.ac.at [131.130.3.115]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 317EA10A8D for ; Fri, 1 Jul 2016 11:34:25 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=univie.ac.at; s=rev2; h=Content-Type:MIME-Version:Message-ID:Date:Subject: In-Reply-To:References:To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kmYyEk7msJUSOG95gJo+YO8hbYD7z0msphbjt8lbY+Q=; b=COmhPDLGy0q+iBmt+Hp8Zy8p+Z TlHGUnbKBEix4D1s0QmuHGO1gf6M1shCl24gv1tt9STadmkCUIcx/Ppo299hL40zNEbRnrraiOg41 LISflgx/32C0DNgqDn31W+w55CW9POPONEO74imxy2lhlfy/Vcfc5Rr1DUUut4QrYp78=; Original-Received: from joan.univie.ac.at ([131.130.3.110] helo=joan.univie.ac.at) by grace.univie.ac.at with esmtps (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1bIuq8-0005dW-MG for ntg-context@ntg.nl; Fri, 01 Jul 2016 11:34:24 +0200 Original-Received: from ubw246.ub.univie.ac.at ([131.130.198.246] helo=UBW246) by joan.univie.ac.at with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.87) (envelope-from ) id 1bIuq8-0001ea-BP for ntg-context@ntg.nl; Fri, 01 Jul 2016 11:34:24 +0200 In-Reply-To: X-Mailer: Microsoft Outlook 14.0 Thread-Index: AQJXo/jAnRsq7LgisCCAREsVMtEc9QHTP06PAmz1iPECQZCxtAEvbJmvnrolhsA= Content-Language: de X-Univie-Virus-Scan: scanned by ClamAV on joan.univie.ac.at X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.16 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.org gmane.comp.tex.context:95302 Archived-At: This is a multipart message in MIME format. --===============8425837066943705744== Content-Type: multipart/alternative; boundary="----=_NextPart_000_0012_01D1D38C.839EF550" Content-Language: de This is a multipart message in MIME format. ------=_NextPart_000_0012_01D1D38C.839EF550 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hello Otared! =20 At least the example is this. Now it works perfekt:=20 \starttext \placecontent \setupuserpagenumber[numberconversion=3Dromannumerals] \setcounter[userpage][2] \startchapter [title=3D{Danksagung}] \stopchapter \startchapter [title=3D{Bildbeschreibung der Cover-Grafik}] \stopchapter \startchapter [title=3D{Einleitung:"Entwicklung" behindern?}] \stopchapter \setupuserpagenumber[numberconversion=3Dnumbers] \setcounter[userpage][1] \startsection [title=3DActivit=C3=A9 2] \stopsection \startchapter [title=3D{Cours-M=C3=A9thodes}] =20 \startsection [title=3D{Coordonn=C3=A9es d'un point dans un rep=C3=A8re}] =20 \startsection [title=3D{Coordonn=C3=A9es du milieu d'un segment}] =20 \startchapter [title=3D{S'entra=C3=AEner}] =20 \startsection [title=3D{Coordonn=C3=A9es d'un point dans un rep=C3=A8re}] =20 \startsection [title=3D{Coordonn=C3=A9es du milieu d'un segment}] =20 \stoptext \definestructureconversionset [frontpart:pagenumber] [5] [numbers] =20 \setupmakeup [standard] [pagestate=3Dstart, style=3Dbigbodyfont, align=3Dmiddle] =20 \starttext =20 \startfrontmatter \completecontent \stopfrontmatter =20 \startbodymatter \startchapter [title=3DFirst chapter] \stopchapter \startchapter [title=3DSecond chapter] \stopchapter \stopbodymatter =20 \stoptext =20 Thank=E2=80=98s so much, for helping me .=20 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 =20 Hi again, =20 Maybe what you want to achieve is resetting the page numbers at some = point: in that case you can say: =20 \page \resetuserpagenumber =20 just before the chapter where you want your chapter with roman numerals = beginning at number 1. =20 Best regards: OK =20 On 28 Jun 2016, at 14:15, Ursula Hermann = wrote: =20 Hello Wolfgang! =20 I have now written as you told me.=20 \starttext \placecontent \setupuserpagenumber[numberconversion=3Dromannumerals] \startchapter \startchapter[title=3D{Bildbeschreibung der Cover-Grafik}] \setupuserpagenumber[numberconversion=3Dnumbers] \startchapter [title=3D{Einleitung:"Entwicklung" behindern?}] \stoptext =20 =C3=84hm where do i set the counter. I mean when I set\setcounter?=20 =20 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 =20 Hallo Wolfgang! =20 Thanks for helping me. It was perfekt.=20 =20 Uschi =20 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 =20 Ursula Hermann 24. Juni 2016 um 15:53 Hello evrybody! =20 I need in a Toc pagenumberings with romannumrals and numbers.=20 =20 I have written this one:=20 =20 \mainlanguage[de] =20 \setupinteraction[state=3Dstart] % don't forget this line! % make chapter, section bookmarks visible when opening document \placebookmarks[chapter,section,subsection][chapter,section] \setupinteractionscreen[option=3Dbookmark]\starttext \setuplist[chapter] \setuplist[section][width=3D1em] \setuplist[subsection][width=3D1.5em, margin=3D0.6em] \setuplist[subject][margin=3D1.5em] \setuppagenumbering \setupcombinedlist[content][list=3D{part,chapter,section,subsection,subsu= bsection}] None of the above setups are needed for a minimal example, remove them = next time. \setupuserpagenumbering[conversion=3Dromannumerals] You=E2=80=99re looking for the \setupuserpagenumber command (but = \setuppagenumber would also work because it=E2=80=99s a synonym for the command) and you have = to use the numbercommand key to change the conversion. \setupuserpagenumber[numberconversion=3Dromannumerals] 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://tex.aanhet.net archive : = http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net _________________________________________________________________________= __________ =20 ------=_NextPart_000_0012_01D1D38C.839EF550 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

Hello Otared!

 

At least the example is this. Now it works perfekt: =

\starttext

\placecontent

\setupuserpagenumber[numberconversion=3Dromannumerals]

\setcounter[userpage][2]

\startchapter

=C2=A0=C2=A0 [title=3D{Danksagung}]

\stopchapter

\startchapter

=C2=A0=C2=A0 [title=3D{Bildbeschreibung der = Cover-Grafik}]

\stopchapter

\startchapter

=C2=A0 [title=3D{Einleitung:"Entwicklung" = behindern?}]

\stopchapter

\setupuserpagenumber[numberconversion=3Dnumbers]

=

\setcounter[userpage][1]

\startsection

=C2=A0 [title=3DActivit=C3=A9 2]

\stopsection

\startchapter

=C2=A0=C2=A0 [title=3D{Cours-M=C3=A9thodes}]

 

\startsection

=C2=A0 [title=3D{Coordonn=C3=A9es d'un point dans un = rep=C3=A8re}]

 

\startsection

=C2=A0 [title=3D{Coordonn=C3=A9es du milieu d'un = segment}]

 

\startchapter

=C2=A0=C2=A0 [title=3D{S'entra=C3=AEner}]

 

\startsection

=C2=A0 [title=3D{Coordonn=C3=A9es d'un point dans un = rep=C3=A8re}]

 

\startsection

=C2=A0 [title=3D{Coordonn=C3=A9es du milieu d'un = segment}]

 

\stoptext

\definestructureconversionset [frontpart:pagenumber] [5] = [numbers]

 

\setupmakeup

=C2=A0 [standard]

=C2=A0 [pagestate=3Dstart,

=C2=A0=C2=A0 style=3Dbigbodyfont,

=C2=A0=C2=A0 align=3Dmiddle]

 

\starttext

 

\startfrontmatter

=C2=A0 \completecontent

\stopfrontmatter

 

\startbodymatter

=C2=A0 \startchapter [title=3DFirst chapter]

=C2=A0 \stopchapter

=C2=A0 \startchapter [title=3DSecond chapter]

=C2=A0 \stopchapter

\stopbodymatter

 

\stoptext

 

Thank=E2=80=98s so much, for helping me .

Uschi

Von:<= /b> = 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:

 

Von:<= /b> 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:<= /b> 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
=

 =

24. Juni 2016 um 15:53=

Hello = evrybody!

 =

I need in = a Toc pagenumberings with romannumrals and numbers. 

 =

I have = written this one: 

 =

\mainlangua= ge[de]

 =

\setupinter= action[state=3Dstart] % don't forget this = line!

% make = chapter, section bookmarks visible when opening = document

\placebookm= arks[chapter,section,subsection][chapter,section]

\setupinter= actionscreen[option=3Dbookmark]\starttext

\setuplist[= chapter]

\setuplist[= section][width=3D1em]

\setuplist[= subsection][width=3D1.5em, = margin=3D0.6em]

\setuplist[= subject][margin=3D1.5em]

\setuppagen= umbering

\setupcombi= nedlist[content][list=3D{part,chapter,section,subsection,subsubsection}]<= o:p>

None of the above setups = are needed for a minimal example, remove them next time.=

\setupuserp= agenumbering[conversion=3Dromannumerals]

You=E2=80=99re looking = for the \setupuserpagenumber command (but \setuppagenumber would
also = work because it=E2=80=99s a synonym for the command) and you have to use = the numbercommand
key to change the = conversion.

    = \setupuserpagenumber[numberconversion=3Dromannumerals]

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

<= /blockquote>

 

------=_NextPart_000_0012_01D1D38C.839EF550-- --===============8425837066943705744== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly90ZXguYWFuaGV0Lm5ldAphcmNoaXZlICA6IGh0dHA6Ly9mb3VuZHJ5LnN1cGVsZWMu ZnIvcHJvamVjdHMvY29udGV4dHJldi8Kd2lraSAgICAgOiBodHRwOi8vY29udGV4dGdhcmRlbi5u ZXQKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX18= --===============8425837066943705744==--