From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/95232 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Problems with Pagenumbers in TOC, romannumerals and numbers Date: Fri, 24 Jun 2016 18:34:03 +0200 Message-ID: <576D60FB.50400@gmail.com> References: <001201d1ce1f$be28fbc0$3a7af340$@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="===============9039815684885806528==" X-Trace: ger.gmane.org 1466786090 32696 80.91.229.3 (24 Jun 2016 16:34:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 24 Jun 2016 16:34:50 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Jun 24 18:34:38 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 1bGU3x-0007P9-Bj for gctc-ntg-context-518@m.gmane.org; Fri, 24 Jun 2016 18:34:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id F1CC810087; Fri, 24 Jun 2016 18:34:16 +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 LYtXWyvQxXWG; Fri, 24 Jun 2016 18:34:16 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [IPv6:::1]) by zapf.ntg.nl (Postfix) with ESMTP id 5285D1008A; Fri, 24 Jun 2016 18:34:16 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 2015510088 for ; Fri, 24 Jun 2016 18:34:16 +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 hoNoEpcY2pX6 for ; Fri, 24 Jun 2016 18:34:15 +0200 (CEST) Original-Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 0290710087 for ; Fri, 24 Jun 2016 18:34:04 +0200 (CEST) Original-Received: by mail-wm0-f53.google.com with SMTP id v199so28787508wmv.0 for ; Fri, 24 Jun 2016 09:34:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to; bh=tuHdAkcA1PNztfeY6cS+zBGc9pVSQt7mMN8ktVnluVs=; b=wVnRI2sAbMaFLSemt6fOgs0fmjhyxj3Wkdl0VVzM8uaKPgjsfjbP2SfpvBxLAZy8Cd TSxjlc+FGg1jpUOFNQD+asiD377kHnhDpu20213hb4PcafjIeweF+InGphTzO6mYDACb kSIDsu/8fMfX23toBBgPJGHwtBtu2/cTxbzqdBtbVq0k/WAz/zn1bLnImwtgIGd8dO3P D3ohgiJI0KFldk5vFkCLYydMLH49yTooak6UMQ9t7lH8l/YXtRCpB/GO0udI1eGZSyq1 xH/tNphsCIlCIA5QKRJ5LQVL00pODqUKVMl2N24Uw1R3MsFRiJ4pvq5QDmIS2LGhgwij oRMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to; bh=tuHdAkcA1PNztfeY6cS+zBGc9pVSQt7mMN8ktVnluVs=; b=XZ2Ek6sJhvW7+RHsb+f1tv6LgjFN++WIh/B2fCfxDC7iLDKKkYnwV+Py9vSZm/rMQB nhSo1niCW6GSw8WPWOT7XgTgdWYEEC6Q8n84wTF4fmuEYkWXDJPQt6hdQl2YYzKZS7RQ yP4MqGcc9+sAZ4AiSTqeNn5aj1K1gw7LcQ5HRl60praNL2sZoMRrl6nsKIvpbfhNdt7i AlndGCzle0/Ue/A30UsSruTJJZmf5r/U4Or7TeswADBlwTqwGZ1t6dMZcVbWvzGbyinm 0s6r+eFRtuvWR5cDbcc0J9owfQXV4n71/R5QYXp4l8vjj9qCk2lngLisZlhXJpa4dpRW PxCw== X-Gm-Message-State: ALyK8tJioJJfVJt9SwLpagx9p0JbeVF1tj9nWssuLKJpkKcAvUddb6s718lmUzvQKTXG6Q== X-Received: by 10.194.159.98 with SMTP id xb2mr5262560wjb.29.1466786044383; Fri, 24 Jun 2016 09:34:04 -0700 (PDT) Original-Received: from keima.localdomain (x2f2e5dc.dyn.telefonica.de. [2.242.229.220]) by smtp.gmail.com with ESMTPSA id jf3sm5848735wjb.41.2016.06.24.09.34.03 for (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 24 Jun 2016 09:34:03 -0700 (PDT) User-Agent: Postbox 4.0.8 (Macintosh/20151105) In-Reply-To: <001201d1ce1f$be28fbc0$3a7af340$@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:95232 Archived-At: This is a multi-part message in MIME format. --===============9039815684885806528== Content-Type: multipart/alternative; boundary="------------050603000301000608050009" This is a multi-part message in MIME format. --------------050603000301000608050009 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable > 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=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,sub= subsection}] > None of the above setups are needed for a minimal example, remove them=20 next time. > > \setupuserpagenumbering[conversion=3Dromannumerals] > You=E2=80=99re looking for the \setupuserpagenumber command (but=20 \setuppagenumber would also work because it=E2=80=99s a synonym for the command) and you have to= use=20 the numbercommand key to change the conversion. \setupuserpagenumber[numberconversion=3Dromannumerals] Wolfgang --------------050603000301000608050009 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
<= div style=3D"margin:30px 25px 10px 25px;" class=3D"__pbConvHr"> Ursula Hermann 24= .=20 Juni 2016 um 15:53
<!-- /* Font Definitions */ @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} a:link, span.MsoHyperlink {mso-style-priority:99; color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {mso-style-priority:99; color:purple; text-decoration:underline;} span.E-MailFormatvorlage17 {mso-style-type:personal-compose; font-family:"Calibri","sans-serif"; color:windowtext;} .MsoChpDefault {mso-style-type:export-only; font-family:"Calibri","sans-serif"; mso-fareast-language:EN-US;} @page WordSection1 {size:612.0pt 792.0pt; margin:70.85pt 70.85pt 2.0cm 70.85pt;} div.WordSection1 {page:WordSection1;} -->
Hello evrybody!

= =C2=A0

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

=C2=A0

I have written this one:

=C2=A0

\mainlang= uage[de]

=C2=A0

\setupin= teraction[state=3Dstart] % don't forget this line!

% make=20 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,s= ubsubsection}]

None of the above setups are needed for a minimal example, remove them=20 next time.
<= div style=3D"color: rgb(136, 136, 136); margin-left: 24px;=20 margin-right: 24px;" __pbrmquotes=3D"true" class=3D"__pbConvBody">

\setupuserpagenumbering[conversion=3Dromannumerals= ]

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

=C2=A0=C2=A0=C2=A0 \setupuserpagenumber[numberconversion=3Dromannumerals]=

Wolfgang

--------------050603000301000608050009-- --===============9039815684885806528== 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= --===============9039815684885806528==--