From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78312 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 19:38:16 +0200 Message-ID: <5054BD08.3090101@gyza.cz> References: <50544E7F.6070207@gyza.cz> <5995E0D6-0268-41EA-84BC-ABBCB9D478DE@gmail.com> <505467D9.2070703@gyza.cz> <50549282.1090701@gyza.cz> <5054A8A5.5030603@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 1347730841 723 80.91.229.3 (15 Sep 2012 17:40:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2012 17:40:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 15 19:40:44 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 1TCwMF-0000Yc-7K for gctc-ntg-context-518@m.gmane.org; Sat, 15 Sep 2012 19:40:43 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 95DD0101FF; Sat, 15 Sep 2012 19:40:38 +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 a5vbHUVuXkgu; Sat, 15 Sep 2012 19:40:35 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9074A101F2; Sat, 15 Sep 2012 19:40:35 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 39B7F101F2 for ; Sat, 15 Sep 2012 19:40:34 +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 LEWLs26hxLDF for ; Sat, 15 Sep 2012 19:40: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 1EB52101E8 for ; Sat, 15 Sep 2012 19:40: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 q8FHeUxA011965 for ; Sat, 15 Sep 2012 19:40:31 +0200 Original-Received: (qmail 12786 invoked by uid 89); 15 Sep 2012 17:40:28 -0000 Original-Received: from unknown (HELO ?192.168.20.101?) (hajtmar@88.103.230.14) by psi03 with ESMTPA; 15 Sep 2012 17:40:28 -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: 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: 0VHXtEuMS - 925d59b3335b - 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:78312 Archived-At: Aditya, thankx, BUT here is correction of my previous statement: Wolfgang's solution: \setuphead [section, subsection] [placehead = hidden] works correctly and does not insert any vertical space!!! Unfortunately, it works in my minimal example only, but in my real application, this option does not work because the title added another level of numbering. In my real application works properly choice: \setuphead [section, subsection] [placehead = no], but that in turn inserts vertical space above the subsubsection title. Aditya's option \setuphead [section, subsection] [placehead = empty] for me cause freezing LuaTEX. (I compile MkIV TL2010, because my real source application is now with Standalone (minimals) version incompatible) Jaroslav Hajtmar Dne 15.9.2012 18:23, Aditya Mahajan napsal(a): > Try \setuphead[...][placehead=empty] > > Aditya > > On Sat, 15 Sep 2012, Jaroslav Hajtmar wrote: > >> 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 >> ___________________________________________________________________________________ >> >> > ___________________________________________________________________________________ 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 ___________________________________________________________________________________