From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/84874 Path: news.gmane.org!not-for-mail From: Zenlima Newsgroups: gmane.comp.tex.context Subject: structure level limitation for \fullheadnumber Date: Thu, 17 Oct 2013 20:00:31 +0200 Message-ID: <20131017200031.4216a292@zenlima.eu> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1382032838 22219 80.91.229.3 (17 Oct 2013 18:00:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Oct 2013 18:00:38 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 17 20:00:43 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VWrsJ-0007Fy-Q1 for gctc-ntg-context-518@m.gmane.org; Thu, 17 Oct 2013 20:00:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D9683101DE; Thu, 17 Oct 2013 19:57:56 +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 JbkJ1PabVKuq; Thu, 17 Oct 2013 19:57:51 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 8E01D101E5; Thu, 17 Oct 2013 19:57:51 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2D4B8101E5 for ; Thu, 17 Oct 2013 19:57:50 +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 WRnjW-x4RL5A for ; Thu, 17 Oct 2013 19:57:49 +0200 (CEST) Original-Received: from filter4-til.mf.surf.net (filter4-til.mf.surf.net [194.171.167.220]) by balder.ntg.nl (Postfix) with ESMTP id 18B27101DE for ; Thu, 17 Oct 2013 19:57:49 +0200 (CEST) Original-Received: from outgoing.selfhost.de (out.selfhost.de [82.98.82.95]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r9HI0XIB014004 for ; Thu, 17 Oct 2013 20:00:34 +0200 Original-Received: (qmail 4422 invoked from network); 17 Oct 2013 18:00:32 -0000 Original-Received: from unknown (HELO zenlima.eu) (post@zenlima.eu@31.18.185.12) by mailout.selfhost.de with ESMTPA; 17 Oct 2013 18:00:32 -0000 X-Bayes-Prob: 0.0333 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=82.98.82.95; country=DE; latitude=51.0000; longitude=9.0000; http://maps.google.com/maps?q=51.0000,9.0000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VKCi0xrd - 89d63be1091b - 20131017 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.220 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:84874 Archived-At: Hallo, I added a level (without numbering) to the existing sections; that works fine. But I also need the ability to "limit" the \fullheadnumber function, so that I get a correct numbering. How can I "limit" \fullheadnumber to level 1-7, so that I get the needed "1.1" in the second call in the following example? Thanks, H. ---8<--------------------- \definesection[section-8] \definehead[paragraphHead][][alternative=paragraphHead,number=no,section=section-8] \starttext \chapter{bla} \section{bla} I need: 1.1 - I get: \fullheadnumber \paragraphHead{bla} I need: 1.1 - I get: \fullheadnumber \section{bla} I need 1.2 - I get: \fullheadnumber \stoptext ___________________________________________________________________________________ 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 ___________________________________________________________________________________