From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/68630 Path: news.gmane.org!not-for-mail From: Mathieu DUPONT Newsgroups: gmane.comp.tex.context Subject: Re: Roman numbers for chapters in chapter lines but not in section lines Date: Mon, 23 May 2011 14:02:47 -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="===============0673936660==" X-Trace: dough.gmane.org 1306173811 2028 80.91.229.12 (23 May 2011 18:03:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 May 2011 18:03:31 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Mon May 23 20:03:28 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 1QOZTB-0003sf-V9 for gctc-ntg-context-518@m.gmane.org; Mon, 23 May 2011 20:03:10 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 36E52CAD50; Mon, 23 May 2011 20:03:09 +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 g+8hXw8WzXmf; Mon, 23 May 2011 20:03:08 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 46BC3CAD51; Mon, 23 May 2011 20:03:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BACEBCAD51 for ; Mon, 23 May 2011 20:03:04 +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 cu3sQ1d84O5M for ; Mon, 23 May 2011 20:02:50 +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 DF373CAD50 for ; Mon, 23 May 2011 20:02:50 +0200 (CEST) Original-Received: from col0-omc2-s3.col0.hotmail.com (col0-omc2-s3.col0.hotmail.com [65.55.34.77]) by filter2-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p4NI2ncb028270 for ; Mon, 23 May 2011 20:02:50 +0200 Original-Received: from COL107-W29 ([65.55.34.73]) by col0-omc2-s3.col0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 May 2011 11:02:49 -0700 X-Originating-IP: [70.30.197.40] Importance: Normal X-OriginalArrivalTime: 23 May 2011 18:02:49.0209 (UTC) FILETIME=[A087CE90:01CC1973] X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=65.55.34.77; 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: 0rEL62NFp - 71204ec9c94a - 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:68630 Archived-At: --===============0673936660== Content-Type: multipart/alternative; boundary="_e8591ed1-e20e-4778-8822-c568b9d5e2d6_" --_e8591ed1-e20e-4778-8822-c568b9d5e2d6_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable This code : \setuplabeltext[chapter=3DCHAPITRE~]\definestructureconversionset[mathieu][= numbers=2CRomannumerals][numbers]\setuphead[chapter][sectionconversionset= =3Dmathieu]\setuplist[chapter][label=3Dyes=2Cwidth=3D7em] \starttext \placecontent \chapter{Title of chapter}\section{Title of section}\subsection{Title of su= bsection} \stoptext results in : CHAPITRE I Title of chapterI.I Title of sectionI.I.I Title of subsection Now everything is in Roman ! Mathieu = --_e8591ed1-e20e-4778-8822-c568b9d5e2d6_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

This code :

\setuplabeltext[ch= apter=3DCHAPITRE~]
\definestructureconversionset[mathieu][nu= mbers=2CRomannumerals][numbers]
\setuphead[chapter][sectionconver= sionset=3Dmathieu]
\setuplist[chapter][label=3Dyes=2Cwidth=3D7em]=

\starttext

\placecontent=

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

\stoptext

results in :

CHAPITRE I Title of chapter<= /span>
I.I Title of section
<= div>I.I.I Title of subsection

=
Now everything is in Roman !


Mathieu=


= --_e8591ed1-e20e-4778-8822-c568b9d5e2d6_-- --===============0673936660== 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 ___________________________________________________________________________________ --===============0673936660==--