From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78310 Path: news.gmane.org!not-for-mail From: Jaroslav Hajtmar Newsgroups: gmane.comp.tex.context Subject: Re: View all numbers of sub(...)section Date: Sat, 15 Sep 2012 18:11:17 +0200 Message-ID: <5054A8A5.5030603@gyza.cz> References: <50544E7F.6070207@gyza.cz> <5995E0D6-0268-41EA-84BC-ABBCB9D478DE@gmail.com> <505467D9.2070703@gyza.cz> <50549282.1090701@gyza.cz> Reply-To: hajtmar@gyza.cz, mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1347725618 27014 80.91.229.3 (15 Sep 2012 16:13:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2012 16:13:38 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 15 18:13:42 2012 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TCv01-0007Gp-Pj for gctc-ntg-context-518@m.gmane.org; Sat, 15 Sep 2012 18:13:41 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 3E15E101E8; Sat, 15 Sep 2012 18:13:37 +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 QQivDBjeLvu8; Sat, 15 Sep 2012 18:13:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 42A83101F2; Sat, 15 Sep 2012 18:13:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A6326101F2 for ; Sat, 15 Sep 2012 18:13:33 +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 iBwIjattg365 for ; Sat, 15 Sep 2012 18:13:32 +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 4B846101E8 for ; Sat, 15 Sep 2012 18:13:32 +0200 (CEST) Original-Received: from psi3.forpsi.com (smtpa.forpsi.com [81.2.195.204]) by filter4-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8FGDUAT032006 for ; Sat, 15 Sep 2012 18:13:31 +0200 Original-Received: (qmail 21515 invoked by uid 89); 15 Sep 2012 16:13:29 -0000 Original-Received: from unknown (HELO ?192.168.20.101?) (hajtmar@88.103.230.14) by psi03 with ESMTPA; 15 Sep 2012 16:13:29 -0000 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; cs; rv:1.9.1.16) Gecko/20101125 Thunderbird/3.0.11 In-Reply-To: <50549282.1090701@gyza.cz> X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=81.2.195.204; country=CZ; latitude=49.7500; longitude=15.5000; http://maps.google.com/maps?q=49.7500,15.5000&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0VHXsdug1 - 72a7efaaea98 - 20120915 (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:78310 Archived-At: Hello Wolfgang, I feel that Your solution insert some vertical space above subsubsection text. Is it possible to get rid of it somehow? I try \removeunwantedspaces, \blank[back] etc., but without efect. Thanx Jaroslav Dne 15.9.2012 16:36, Jaroslav Hajtmar napsal(a): > Thanx Sietse. > I wikified it! (http://wiki.contextgarden.net/Command/setuphead). > This is my first attempt :-). > I finally get to it. It's very simple. > I'll try over there now and give good advice. > > Jaroslav Hajtmar > > > Dne 15.9.2012 14:48, Sietse Brouwer napsal(a): >> Hi Jaroslav, >> >>> While I was looking, I could not find it. I wanted to put your >>> example into >>> the wiki, but the wiki shows the numbers and hidden sections, so I >>> did not >>> there yet. >> That might be because the wiki uses mkii by default; to use mkiv write >> >> >> If you can't get an example to work at all, simply write the code inside >> ..., >> instead. The picture of the output is nice to have, but not essential. >> The code is still useful. >> >> Cheers, >> Sietse >> >>> Thanx Wolfgang. >>> Thank you. Everything works. >>> While I was looking, I could not find it. I wanted to put your >>> example into >>> the wiki, but the wiki shows the numbers and hidden sections, so I >>> did not >>> there yet. >>> >>> Thanks again >>> Jaroslav >> >> >> On Sat, Sep 15, 2012 at 1:34 PM, Jaroslav Hajtmar >> wrote: >>> Thanx Wolfgang. >>> Thank you. Everything works. >>> While I was looking, I could not find it. I wanted to put your >>> example into >>> the wiki, but the wiki shows the numbers and hidden sections, so I >>> did not >>> there yet. >>> >>> Thanks again >>> Jaroslav >>> >>> >>> Dne 15.9.2012 12:37, Wolfgang Schuster napsal(a): >>> >>>> Am 15.09.2012 um 11:46 schrieb Jaroslav Hajtmar: >>>> >>>> >>>>> Hello ConTeXist. >>>>> Is there possibility view all subsubsection number (ie in format >>>>> 2.3.4 - >>>>> it mean with section and also subsection number) without >>>>> \section{} and >>>>> \subsection{} command using previously? >>>>> >>>>> I need to start a separate section number from a certain number >>>>> (inserted >>>>> into an existing document) >>>>> >>>>> Thanx Jaroslav Hajtmar >>>>> >>>>> Here is my example: >>>>> >>>>> >>>>> \setupheadnumber[section][2] >>>>> \setupheadnumber[subsection][3] % >>>>> \setupheadnumber[subsubsection][4] % >>>>> \setuppagenumber[number=234] >>>>> >>>>> \starttext >>>>> >>>>> %\section{} % I can't view section here >>>>> >>>>> %\subsection{} % I can't view subsection here too >>>>> >>>>> \subsubsection{TEST} >>>>> >>>>> I would like get 2.3.5 TEST >>>>> >>>>> blablabla >>>>> >>>>> \stoptext >>>>> >>>> How about this: >>>> >>>> \setupheadnumber[section] [1] >>>> \setupheadnumber[subsection] [2] >>>> \setupheadnumber[subsubsection][4] >>>> >>>> \setuphead[section,subsection][placehead=hidden] >>>> \setuphead[subsubsection] [placehead=yes] >>>> >>>> \starttext >>>> >>>> \section{} >>>> >>>> \subsection{} >>>> >>>> \subsubsection{TEST} >>>> >>>> \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 : http://foundry.supelec.fr/projects/contextrev/ >>> wiki : http://contextgarden.net >>> ___________________________________________________________________________________ >>> > > ___________________________________________________________________________________ > > 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 > ___________________________________________________________________________________ > > ___________________________________________________________________________________ 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 ___________________________________________________________________________________