From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68608 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Roman numbers for chapters in chapter lines but not in section lines Date: Mon, 23 May 2011 13:02:46 +0200 Message-ID: <97880B13-7D8E-4AF6-8FEC-9AE919FE6B51@googlemail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1084) Content-Type: multipart/mixed; boundary="===============1775842446==" X-Trace: dough.gmane.org 1306148609 24825 80.91.229.12 (23 May 2011 11:03:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 11:03:29 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 13:03:24 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 1QOSux-0008WK-0M for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 13:03:23 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46DFDCAD45; Mon, 23 May 2011 13:03:20 +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 DKtYEap1aU7U; Mon, 23 May 2011 13:03:04 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 604F4CAD3D; Mon, 23 May 2011 13:03:04 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B096BCAD3D for ; Mon, 23 May 2011 13:03:02 +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 EImSUH5PQVaO for ; Mon, 23 May 2011 13:02:51 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 5CFC8CAD3C for ; Mon, 23 May 2011 13:02:51 +0200 (CEST) Original-Received: from mail-fx0-f41.google.com (mail-fx0-f41.google.com [209.85.161.41]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4NB2oV5017724 for ; Mon, 23 May 2011 13:02:50 +0200 Original-Received: by fxm18 with SMTP id 18so5338297fxm.14 for ; Mon, 23 May 2011 04:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:from:mime-version:content-type:subject:date :in-reply-to:to:references:message-id:x-mailer; bh=bmUnPQtFKfzHWVcmI57eZIUkvKZGvbEGFcCCWjtcqUY=; b=ryFcMQh9L9t3idPSxyGXGXUVpcMJW30Y30S67kSAym45+MVaR+pTjT4NmHC8XXcUnk WcUfZzldgfuQ7M4Qyspq9nZQPw2EYW57qCMFE6EdnO2eVMza4E1xcoWI1C90ZcGLLVTL zhW+wVjx8Oq3Rkj0QJJdqMWJIiNBkpboxAjO8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:mime-version:content-type:subject:date:in-reply-to:to :references:message-id:x-mailer; b=oI6+s2lGbw02kDjGF3QvbafKIa8HDd/3UdImNex3/LRYgHLDspa/dmkzKsN5k3WMI9 057hxrORk6j84j+wiAdd4lK7lbqdC+wfkcrz1Tp696Pr8NFOU0q0qo1hTIH/RUFK3tNJ zasC2S9JuIgTjaOLuZ1MUG1+4IMdk2MxYesLI= Original-Received: by 10.223.75.133 with SMTP id y5mr2254946faj.136.1306148569954; Mon, 23 May 2011 04:02:49 -0700 (PDT) Original-Received: from [192.168.2.34] (p5B29496D.dip.t-dialin.net [91.41.73.109]) by mx.google.com with ESMTPS id c24sm2289592fak.31.2011.05.23.04.02.47 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 23 May 2011 04:02:49 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.1084) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.161.41; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0cEKX2O4o - c8de386a1fe1 - 20110523 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 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:68608 Archived-At: --===============1775842446== Content-Type: multipart/alternative; boundary=Apple-Mail-17--723631711 --Apple-Mail-17--723631711 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Am 23.05.2011 um 04:33 schrieb Mathieu DUPONT: >=20 > Hi, >=20 > I am trying to obtain the following result : >=20 > CHAPITRE I Title of chapter > 1.1 Title of section > 1.1.1 Title of subsection >=20 > In other words, I need my chapter numbers to be in roman number, but = not in the numbers of the sections and subsections (1.1.1 and not = I.1.1). >=20 > Here is the base code : >=20 > \setuplist [chapter] [label=3Dyes,style=3D{\blank[0cm]}] > \setupsection[section-2][conversion=3DRomannumerals] > \setuplabeltext[chapter=3DCHAPITRE~] >=20 > \starttext >=20 > \placecontent >=20 > \chapter{Title of chapter} > \section{Title of section} > \subsection{Title of subsection} >=20 > \stoptext=20 >=20 > which results in : >=20 > CHAPITRE I Title of chapter > I.1 Title of section > I.1.1 Title of subsection >=20 > Any idea ? > All help is greatly appreciated. MkIV: \setuplabeltext[chapter=3DCHAPITRE~] \definestructureconversionset[mathieu][numbers,Romannumerals][numbers] \setuphead[chapter][sectionconversionset=3Dmathieu] \setuplist[chapter][label=3Dyes,width=3D7em] \starttext \placecontent \chapter{Title of chapter} \section{Title of section} \subsection{Title of subsection} \stoptext Wolfgang --Apple-Mail-17--723631711 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii
Am 23.05.2011 um 04:33 schrieb = Mathieu DUPONT:


Hi,

I = am trying to obtain the following result :

CHAPITRE = I Title of chapter
1.1 Title of = section
1.1.1 Title of = subsection

In other words, I need = my chapter numbers to be in roman number, but not 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,style=3D{\blank[0cm]}]
\setupsection[section-2][conversion=3DRomannumerals]
\setuplabeltext[chapter=3DCHAPITRE~]

\starttext

\placecontent

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

\stoptext 

wh= ich results in :

CHAPITRE I Title of = chapter
I.1 Title of section
I.1.1 Title of = subsection

Any idea = ?
All help is greatly = appreciated.

MkIV:

\setuplabeltext[chapter=3DCHAPITRE~]
\defi= nestructureconversionset[mathieu][numbers,Romannumerals][numbers]
\setuphead[chapter][sectionconversionset=3Dmathieu]
\setuplist= [chapter][label=3Dyes,width=3D7em]

\starttext

\placecontent

\chapter{Titl= e of chapter}
\section{Title of = section}
\subsection{Title of = subsection}

\stoptext

Wo= lfgang


= --Apple-Mail-17--723631711-- --===============1775842446== 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 ___________________________________________________________________________________ --===============1775842446==--