From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/65397 Path: news.gmane.org!not-for-mail From: Achim Jander Newsgroups: gmane.comp.tex.context Subject: Problem with ownnumber Date: Sat, 22 Jan 2011 16:20:39 +0100 Message-ID: <4D3AF5C7.7040408@jander.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295709680 1339 80.91.229.12 (22 Jan 2011 15:21:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 Jan 2011 15:21:20 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Jan 22 16:21:13 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 1PgfH7-0007LN-GA for gctc-ntg-context-518@m.gmane.org; Sat, 22 Jan 2011 16:21:13 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9B4D9CAA30; Sat, 22 Jan 2011 16:21:12 +0100 (CET) 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 BdTHvuuBO2BV; Sat, 22 Jan 2011 16:21:09 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 040C8CA9E2; Sat, 22 Jan 2011 16:21:09 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E5B76CA9E2 for ; Sat, 22 Jan 2011 16:21:07 +0100 (CET) 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 N-ZQ0OwDDAmD for ; Sat, 22 Jan 2011 16:21:06 +0100 (CET) Original-Received: from filter1-nij.mf.surf.net (filter1-nij.mf.surf.net [195.169.124.152]) by balder.ntg.nl (Postfix) with ESMTP id 122D7CA94E for ; Sat, 22 Jan 2011 16:21:06 +0100 (CET) Original-Received: from p15188155.pureserver.info (p15188155.pureserver.info [212.227.83.96]) by filter1-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p0MFL5oZ020668 for ; Sat, 22 Jan 2011 16:21:05 +0100 Original-Received: (qmail 1953 invoked from network); 22 Jan 2011 16:21:04 +0100 Original-Received: from krlh-5f723e2d.pool.mediaways.net (HELO ?192.168.1.43?) (95.114.62.45) by p15188155.pureserver.info with SMTP; 22 Jan 2011 16:21:04 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=212.227.83.96; country=DE; region=01; city=Karlsruhe; latitude=49.0047; longitude=8.3858; http://maps.google.com/maps?q=49.0047,8.3858&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 07DWDl5Xh - 699ccd626983 - 20110122 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.152 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:65397 Archived-At: Hi all, I want to have my headings numbered via ownnumber, and they sometimes should include a dot. Everything works fine except when the ownnumber is numeric. In that case the dot is omitted, can anyone show my my fault? \definehead [chapter] [section=section-2, sectionsegments=2:100] \setuphead[chapter][ownnumber=yes, headaling=flushleft,distance=0.5em] \definehead [section] [section=section-3, sectionsegments=3:100] \setuphead[section][ownnumber=yes, headaling=flushleft,distance=0.5em] \starttext \startchapter[ownnumber=I., title={chapterhead}] % the dot is kept text\par \startsection[ownnumber=1., title={sectionhead}] % no dot at all text\par \stopsection \stopchapter \stoptext Thanks, Achim ___________________________________________________________________________________ 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 ___________________________________________________________________________________