From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52325 Path: news.gmane.org!not-for-mail From: epsilon cygni Newsgroups: gmane.comp.tex.context Subject: Re: section head number Date: Sat, 15 Aug 2009 19:33:36 +0000 (UTC) Message-ID: References: <8c3eec990908150829n28d7e130w4369401947dc14bf@mail.gmail.com> <6faad9f00908151008k51814084s552b426633f6607a@mail.gmail.com> 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: ger.gmane.org 1250364931 27346 80.91.229.12 (15 Aug 2009 19:35:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 19:35:31 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Aug 15 21:35:25 2009 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.50) id 1McP2C-0008D4-M4 for gctc-ntg-context-518@m.gmane.org; Sat, 15 Aug 2009 21:35:24 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D3E19C9B16; Sat, 15 Aug 2009 21:35:23 +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 0LQdeA1iYLhM; Sat, 15 Aug 2009 21:35:21 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A8687C9AAA; Sat, 15 Aug 2009 21:35:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9A42C9AAA for ; Sat, 15 Aug 2009 21:35:19 +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 Wq9GQI-59IAm for ; Sat, 15 Aug 2009 21:35:05 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by balder.ntg.nl (Postfix) with ESMTP id C547FC9A97 for ; Sat, 15 Aug 2009 21:35:05 +0200 (CEST) Original-Received: from root by ciao.gmane.org with local (Exim 4.43) id 1McP1q-00066R-KL for ntg-context@ntg.nl; Sat, 15 Aug 2009 19:35:03 +0000 Original-Received: from dsl-189-137-174-164-dyn.prod-infinitum.com.mx ([dsl-189-137-174-164-dyn.prod-infinitum.com.mx]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Aug 2009 19:35:02 +0000 Original-Received: from epsilon.cygni by dsl-189-137-174-164-dyn.prod-infinitum.com.mx with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Aug 2009 19:35:02 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: main.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 189.137.174.164 (Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.0.13) Gecko/2009073022 Firefox/3.0.13 (.NET CLR 3.5.30729)) 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:52325 Archived-At: > On Sat, Aug 15, 2009 at 17:29, epsilon cygni wrote: > > hi, > > > > I need to place a 'dot' in front of every section and subsection head > > number, for example, section '2.3' must be displayed as section '2.3.' > > > > How can I add this dot? > > In MKII or MKIV? In MKII you can do the following: > > \setuphead > [section] > [numbercommand=\mynumberwithcomma] > \def\mynumberwithcomma#1{#1.} > > MKIV has a finer control over sectioning, so you should better use > that solution (but I don't know it by heart). > > Mojca > Great this works! :) I need as well an appended dot in front of every figure and table number, i.e 'Figure 2.3.' instead of 'Figure 2.3' How can I append the dot? Thanks! -- ana ___________________________________________________________________________________ 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 ___________________________________________________________________________________