From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/54302 Path: news.gmane.org!not-for-mail From: Bernhard Rosensteiner Newsgroups: gmane.comp.tex.context Subject: Re: A few questions Date: Fri, 13 Nov 2009 09:51:01 +0100 Message-ID: <22653826-D367-4A6D-8C17-2882B4A29C07@gmail.com> References: <4AFCA3F3.6080004@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1258102292 3981 80.91.229.12 (13 Nov 2009 08:51:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 13 Nov 2009 08:51:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri Nov 13 09:51:25 2009 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.50) id 1N8rsA-0005Vy-3f for gctc-ntg-context-518@m.gmane.org; Fri, 13 Nov 2009 09:51:14 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id EB280C9AB7; Fri, 13 Nov 2009 09:49:03 +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 QQzlcHKe5Ow0; Fri, 13 Nov 2009 09:49:01 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C7929C9A8A; Fri, 13 Nov 2009 09:49:00 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1E2C1C9A8A for ; Fri, 13 Nov 2009 09:48:59 +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 vSONljKobo97 for ; Fri, 13 Nov 2009 09:48:55 +0100 (CET) Original-Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.156]) by balder.ntg.nl (Postfix) with ESMTP id B85DAC9A41 for ; Fri, 13 Nov 2009 09:48:55 +0100 (CET) Original-Received: by fg-out-1718.google.com with SMTP id 19so89420fgg.2 for ; Fri, 13 Nov 2009 00:51:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding:message-id :references:to:x-mailer; bh=RXBrMTGg4E+20aF5UmGSwgPjFxefEpMRAY6vzZAeRpQ=; b=PlXBVcFfGLN8MKAS2/GhadpeYSSrG7w08O34HJsXxjUzf+LwPUizO6HWfytSFCx87C lxFs9cmvQ42mVi5Bf7UkVRenPFO93mjHZ4b8OP66ZCE+gfH4MhKkHhcHjiOa/o5XEBcr 5jxQ0XJcQnWVHPSfml65Y/HUqi2VqnCLCgL9o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; b=pDprQPmmznhQDu2PA90tbZ9mEY+kIvYVEs1rzXFoO/1YUdZEmMKe0wHllHK+jP9Cu0 JWIOlD/bJwodBreRc1f9JgNTiYxQ/+6FfEdAc49PBId69fFxq9eBstANu/eIYPFkx3oo lsy9ZQqqNtorW75ZoYl5Hi+bm7mufxxAfprEA= Original-Received: by 10.86.230.30 with SMTP id c30mr2981892fgh.68.1258102262155; Fri, 13 Nov 2009 00:51:02 -0800 (PST) Original-Received: from wlan-240-016.pns.univie.ac.at (wlan-240-016.pns.univie.ac.at [131.130.240.16]) by mx.google.com with ESMTPS id d8sm595717fga.23.2009.11.13.00.51.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 13 Nov 2009 00:51:01 -0800 (PST) In-Reply-To: <4AFCA3F3.6080004@gmail.com> X-Mailer: Apple Mail (2.1077) 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:54302 Archived-At: Hello, following the new structure code the answer for your second question is: \definestructureprefixset[figureprefix][section-3] \definestructureseparatorset [septest][--,--,--,---][?] \setupstructurecountering[way=3Dbysection, prefixset=3Dfigureprefix, prefix= separatorset=3Dseptest, prefixconnector=3D--] explanation: with definestructureprefixset you declare a new prefix which i= s always inserted when it is invoked with the prefixset key (in this case s= ection-3 is the section while section-2 is for example the chapter and so o= n... look in the source code for more) you can have \definestructureprefixs= et[figureprefix][section-2,section-3,section-4] for example and the prefix = gets inserted at the right place in your figure number. \definestructuresep= aratorset [septest][--,--,--,---][?] works similar (the [?] is in this case= the fallback when no specific separator is defined for that position). the= prefixconnector is the character which gets inserted between the figure nu= mber and the rest of the prefixes. All that prefixthings you can also do wi= th pagenumbers and section numbers... i don=B4t know if this code will see some changes in newer context mkiv ver= sions because i think it is still experimental but at the moment it works. third question: you could define a new head with \definehead then it gets a= new counter. When you only want that a specific sectionnumber is different= from the others than do: \startsection [title=3Ddritte section, ownnumber= =3D243] first question: i don=B4t know because i don=B4t needed it. hope this helps best regards Bernhard Am 13.11.2009 um 01:10 schrieb Vyatcheslav Yatskovsky: > Hello, > = > I have a few (I suppose easy) questions: > = > 1) asking about this again and again... how to setup itemization so that = the first line were indented too? > = > 2) how to setup figure captions so that they include section number, like > . > (no sub-sub-subsections)? > = > 3) How to start section numbering from, say, second section? > = > Regards, > Vyatcheslav > _________________________________________________________________________= __________ > 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-co= ntext > 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 t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________