From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68596 Path: news.gmane.org!not-for-mail From: Mathieu DUPONT Newsgroups: gmane.comp.tex.context Subject: Roman numbers for chapters in chapter lines but not in section lines Date: Sun, 22 May 2011 22:33:06 -0400 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1463745305==" X-Trace: dough.gmane.org 1306118021 27411 80.91.229.12 (23 May 2011 02:33:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 02:33:41 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 04:33:37 2011 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOKxd-0001CD-JQ for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 04:33:37 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 97EF0CAD2C; Mon, 23 May 2011 04:33:36 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vIHQhjRW7Eag; Mon, 23 May 2011 04:33:34 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id CBFA2CAD29; Mon, 23 May 2011 04:33:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9F481CAD29 for ; Mon, 23 May 2011 04:33:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id u-6wcV2lRDZO for ; Mon, 23 May 2011 04:33:19 +0200 (CEST) Original-Received: from filter2-ams.mf.surf.net (filter2-ams.mf.surf.net [192.87.102.70]) by balder.ntg.nl (Postfix) with ESMTP id 9B170CAD24 for ; Mon, 23 May 2011 04:33:19 +0200 (CEST) Original-Received: from col0-omc2-s15.col0.hotmail.com (col0-omc2-s15.col0.hotmail.com [65.55.34.89]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4N2XHMj031453 for ; Mon, 23 May 2011 04:33:18 +0200 Original-Received: from COL107-W49 ([65.55.34.71]) by col0-omc2-s15.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 22 May 2011 19:33:06 -0700 X-Originating-IP: [70.30.197.40] Importance: Normal X-OriginalArrivalTime: 23 May 2011 02:33:06.0874 (UTC) FILETIME=[BFAAF9A0:01CC18F1] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.55.34.89; country=US; region=WA; city=Redmond; postalcode=98052; latitude=47.6801; longitude=-122.1206; metrocode=819; areacode=425; http://maps.google.com/maps?q=47.6801,-122.1206&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0rEKOxil8 - 5ec516ef5edb - 20110523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.70 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:68596 Archived-At: --===============1463745305== Content-Type: multipart/alternative; boundary="_2c1662f6-0b77-47d7-8345-9ae49189974d_" --_2c1662f6-0b77-47d7-8345-9ae49189974d_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi=2C I am trying to obtain the following result : CHAPITRE I Title of chapter1.1 Title of section1.1.1 Title of subsection In other words=2C I need my chapter numbers to be in roman number=2C but no= t in the numbers of the sections and subsections (1.1.1 and not I.1.1). Here is the base code : \setuplist [chapter] [label=3Dyes=2Cstyle=3D{\blank[0cm]}]\setupsection[sec= tion-2][conversion=3DRomannumerals]\setuplabeltext[chapter=3DCHAPITRE~] \starttext \placecontent \chapter{Title of chapter}\section{Title of section}\subsection{Title of su= bsection} \stoptext=20 which results in : CHAPITRE I Title of chapterI.1 Title of sectionI.1.1 Title of subsection Any idea ?All help is greatly appreciated. Thanks a bunch=2C Mathieu = --_2c1662f6-0b77-47d7-8345-9ae49189974d_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hi=2C

I am trying to obtain the following= result :

CHAPITRE I Title of chapter

1.1 = Title of section<= /p>

<= font class=3D"Apple-style-span" color=3D"#C00000">1.1.1 Title of subsection


In oth= er words=2C I need my chapter numbers to be in roman number=2C but not in t= he numbers of the sections and subsections (1.1.1 and not I.1.1).

Here= is the base code :

\setuplist [chapter] [label=3Dyes=2Cstyle=3D{\bla= nk[0cm]}]
\setupsection[section-2][conversion=3DRomannumerals]
\setuplabeltext[chapter=3D= CHAPITRE~]

\starttext

\placecontent

\chapter{Title of chapter}
\section{Title of section}
\subsection{Title of s= ubsection}

\stoptext =3B

which results in = :

C= HAPITRE I Title of chapter

I.1 <= font class=3D"Apple-style-span" color=3D"#C00000">Title of section

I.1.1 Title of subsection


An= y idea ?
All help is greatly appreciated.

Thanks a bunch=2C


=
Mathieu

= --_2c1662f6-0b77-47d7-8345-9ae49189974d_-- --===============1463745305== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============1463745305==--