From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/78311 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: View all numbers of sub(...)section Date: Sat, 15 Sep 2012 12:23:20 -0400 (EDT) Message-ID: 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: 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 1347726218 31710 80.91.229.3 (15 Sep 2012 16:23:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Sep 2012 16:23:38 +0000 (UTC) To: hajtmar@gyza.cz, mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sat Sep 15 18:23:40 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 1TCv9e-0004F4-Ea for gctc-ntg-context-518@m.gmane.org; Sat, 15 Sep 2012 18:23:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4B2EE101FD; Sat, 15 Sep 2012 18:23: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 FTED96oPUZnt; Sat, 15 Sep 2012 18:23:31 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id B1B49101F2; Sat, 15 Sep 2012 18:23:31 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E2BDB101F2 for ; Sat, 15 Sep 2012 18:23:30 +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 mJHSeebifNnK for ; Sat, 15 Sep 2012 18:23:29 +0200 (CEST) Original-Received: from filter1-til.mf.surf.net (filter1-til.mf.surf.net [194.171.167.217]) by balder.ntg.nl (Postfix) with ESMTP id 5AA1E101E8 for ; Sat, 15 Sep 2012 18:23:29 +0200 (CEST) Original-Received: from hackers.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.14.81]) by filter1-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id q8FGNQjI009438 for ; Sat, 15 Sep 2012 18:23:27 +0200 Original-Received: FROM mint (bas3-montreal02-1096680684.dsl.bell.ca [65.94.4.236]) By hackers.mr.itd.umich.edu ID 5054AB79.854CC.24798 ; Authuser adityam; 15 Sep 2012 12:23:21 EDT In-Reply-To: <5054A8A5.5030603@gyza.cz> User-Agent: Alpine 2.02 (DEB 1266 2009-07-14) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=141.211.14.81; country=US; region=MI; city=Ann Arbor; postalcode=48109; latitude=42.2923; longitude=-83.7145; metrocode=505; areacode=734; http://maps.google.com/maps?q=42.2923,-83.7145&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0RHXsnqgm - fada7d4375eb - 20120915 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.217 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:78311 Archived-At: 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 ___________________________________________________________________________________