From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36227 Path: news.gmane.org!not-for-mail From: "Wolfgang Schuster" Newsgroups: gmane.comp.tex.context Subject: Re: subsection number independent of section Date: Mon, 27 Aug 2007 09:23:42 +0200 Message-ID: <115224fb0708270023j2b3d9897ic18bf101b2f19812@mail.gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1188199440 12314 80.91.229.12 (27 Aug 2007 07:24:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2007 07:24:00 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 27 09:23:58 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1IPYx4-00033K-1N for gctc-ntg-context-518@m.gmane.org; Mon, 27 Aug 2007 09:23:58 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4B3982024A; Mon, 27 Aug 2007 09:23:57 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06813-07-17; Mon, 27 Aug 2007 09:23:50 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 17F212022A; Mon, 27 Aug 2007 09:23:50 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6CB2B2022A for ; Mon, 27 Aug 2007 09:23:48 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06813-07-16 for ; Mon, 27 Aug 2007 09:23:44 +0200 (CEST) Original-Received: from wx-out-0506.google.com (wx-out-0506.google.com [66.249.82.226]) by ronja.ntg.nl (Postfix) with ESMTP id 48C96201EF for ; Mon, 27 Aug 2007 09:23:44 +0200 (CEST) Original-Received: by wx-out-0506.google.com with SMTP id i27so1673642wxd for ; Mon, 27 Aug 2007 00:23:43 -0700 (PDT) Original-Received: by 10.90.28.13 with SMTP id b13mr5328617agb.1188199422958; Mon, 27 Aug 2007 00:23:42 -0700 (PDT) Original-Received: by 10.90.104.4 with HTTP; Mon, 27 Aug 2007 00:23:42 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:36227 Archived-At: 2007/8/27, Michael : > > Hi, I am trying to write up a legal document, in which I want the numbers > for section and subsection look like: > > ,---- > | I. A Section Title > | > | A. A Subsection Title > `---- > > > So far, I can only get > > ,---- > | I. A Section Title > | > | I.A. A Subsection Title > `---- > > Commend used: > > \setupsection[section-3][conversion=Romannumerals] > \setuplabeltext[section={{},{.}}] > \setuphead[section] > [style=bold,alternative=normal,textcommand=\uppercase] > \setupsection[section-4][conversion=Character] > > How can I get what I need? Thanks. > > Michael Hi Michael, you need previousnumber=no in setupsection. \setupsection [section] [conversion=Romannumerals] \setuplabeltext [section={{},{.}}, subsection={{},{.}}] \setuphead [section] [style=bold, alternative=normal, textcommand=\uppercase] \setupsection [subsection] [previousnumber=no, conversion=Character] \starttext \section{A Section Title} \subsection{A Subsection Title} \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________