From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/36221 Path: news.gmane.org!not-for-mail From: "Idris Samawi Hamid" Newsgroups: gmane.comp.tex.context Subject: Re: subsection number independent of section Date: Sun, 26 Aug 2007 17:15:24 -0600 Organization: Colorado State University Message-ID: 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 1188175176 27289 80.91.229.12 (27 Aug 2007 00:39:36 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Aug 2007 00:39:36 +0000 (UTC) To: "mailing list for ConTeXt users" Original-X-From: ntg-context-bounces@ntg.nl Mon Aug 27 02:39:33 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 1IPSde-0005gX-LJ for gctc-ntg-context-518@m.gmane.org; Mon, 27 Aug 2007 02:39:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 845711FAFF; Mon, 27 Aug 2007 02:38:35 +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 17280-04; Mon, 27 Aug 2007 02:38:31 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 5B3DC1FB1F; Mon, 27 Aug 2007 01:15:24 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8A1E11FAD5 for ; Mon, 27 Aug 2007 01:15:22 +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 12872-01-2 for ; Mon, 27 Aug 2007 01:15:11 +0200 (CEST) Original-Received: from trueband.net (director.trueband.net [216.163.120.8]) by ronja.ntg.nl (Postfix) with SMTP id 4328B1FEC0 for ; Mon, 27 Aug 2007 01:15:10 +0200 (CEST) Original-Received: (qmail 15035 invoked by uid 1006); 26 Aug 2007 23:15:09 -0000 Original-Received: from ishamid@colostate.edu by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(0.1/100.0):. Processed in 0.802256 secs); 26 Aug 2007 23:15:09 -0000 Original-Received: from unknown (HELO trueband.net) (172.16.0.6) by -v with SMTP; 26 Aug 2007 23:15:08 -0000 Original-Received: (qmail 16070 invoked from network); 26 Aug 2007 23:15:06 -0000 Original-Received: from unknown (HELO your-b27fb1c401) (75.104.82.83) by -v with SMTP; 26 Aug 2007 23:15:06 -0000 In-Reply-To: User-Agent: Opera Mail/9.20 (Win32) 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:36221 Archived-At: Hi, On Sun, 26 Aug 2007 17:02:59 -0600, Michael wrote: > ,---- > | 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] Why do you need literal subsections? Why not roll your own section in tandem with \section? The following produces what you want: ============================ \setuphead[section][conversion=Romannumerals] \definehead[SUBsection][section] \setuphead[SUBsection][conversion=Character] \setuplabeltext[section={{},{.}}] \setuplabeltext[SUBsection={{},{.}}] \starttext \section{A Section Title} \SUBsection{A Subsection Title} \stoptext ============================ -- Professor Idris Samawi Hamid Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___________________________________________________________________________________ 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 ___________________________________________________________________________________