From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79050 Path: news.gmane.org!not-for-mail From: plink Newsgroups: gmane.comp.tex.context Subject: incrementnumber vs. prefixsegments Date: Tue, 06 Nov 2012 03:56:56 +0100 Organization: PLINK Message-ID: <50987C78.5020401@veribox.net> Reply-To: plink@veribox.net, 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 1352170640 9380 80.91.229.3 (6 Nov 2012 02:57:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 6 Nov 2012 02:57:20 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Nov 06 03:57:30 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 1TVZLz-0006X3-9c for gctc-ntg-context-518@m.gmane.org; Tue, 06 Nov 2012 03:57:27 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 4E82010201; Tue, 6 Nov 2012 03:57:17 +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 4j1vJ2T2QJ99; Tue, 6 Nov 2012 03:57:14 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 79A3F101F1; Tue, 6 Nov 2012 03:57:14 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 067AB101F1 for ; Tue, 6 Nov 2012 03:57:12 +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 6qBpdyQQpseu for ; Tue, 6 Nov 2012 03:57:06 +0100 (CET) Original-Received: from filter5-til.mf.surf.net (filter5-til.mf.surf.net [194.171.167.221]) by balder.ntg.nl (Postfix) with ESMTP id 5C597101EB for ; Tue, 6 Nov 2012 03:57:06 +0100 (CET) Original-Received: from sasl.smtp.pobox.com (a-pb-sasl-quonix.pobox.com [208.72.237.25]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qA62pTfx010333 for ; Tue, 6 Nov 2012 03:51:32 +0100 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 233B5B53D for ; Mon, 5 Nov 2012 21:56:59 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=message-id :date:from:reply-to:mime-version:to:subject:content-type :content-transfer-encoding; s=sasl; bh=zNLc4xWOx1Khd0FADxgaiMIcN eU=; b=SHkBXVto1GT1KYIuMzpXQ8hwaF+TpO0daCdxlYfLI9sGdefVmSBtK9ry5 NKDXt1WNrH/CJoUPgvtHz3W/vE97zMrKFXNz7HMibJKI+ptVSWrYgaM9BbXhRSMD NCzRTbBTdES1NAGIoaClkMpb7pXpdT3/0NUhc/yegX5IYyQutU= Original-Received: from a-pb-sasl-quonix.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTP id 043C0B53B for ; Mon, 5 Nov 2012 21:56:59 -0500 (EST) Original-Received: from wilbur.local (unknown [87.152.39.104]) by a-pb-sasl-quonix.pobox.com (Postfix) with ESMTPA id 05FB8B539 for ; Mon, 5 Nov 2012 21:56:57 -0500 (EST) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:16.0) Gecko/20121026 Thunderbird/16.0.2 X-Pobox-Relay-ID: A13A0182-27BD-11E2-83CB-0E600E5B5709-29683775!a-pb-sasl-quonix.pobox.com X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=208.72.237.25; country=US; region=PA; city=Philadelphia; postalcode=19107; latitude=39.9514; longitude=-75.1582; metrocode=504; areacode=215; http://maps.google.com/maps?q=39.9514,-75.1582&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIk2PtJC - b3233d588e38 - 20121106 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 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:79050 Archived-At: Hi, i'm trying to combine two features that somehow don't fit together: 1. figure numbering and referring using a chapter.fignr scheme. For this, a setup with \setupcaption[figure][prefix=yes,way=bychapter,prefixsegments=chapter] works fine, as long as i don't have 2. untitled entries below chapter (aka subject or subsubject), that also have to occur in the table of contents. For this, e.g. using \setuphead[subject][incrementnumber=list] \definecombinedlist[content][title,chapter,section,subject] does the trick, but then the figure number prefix gets eaten up at figures in subjects. I'd be glad if anybody could give me a hint on how to solve this. ConTeXt ver: 2012.10.30 21:13 MKIV Below a maximin example. Commenting out the \setuphead line gives back the prefix, but then there is no more subject in the toc, as to be expected: \setuphead[chapter][page=no,continue=yes] \setupcaption[figure][ prefix=yes, way=bychapter, prefixsegments=chapter] \setuphead[subject][incrementnumber=list] \definecombinedlist[content][title,chapter,section,subject] \starttext \placecontent \chapter{Chapter} \section{Section Een} \placefigure[here][fig:a]{figure a}{\externalfigure[cow.pdf][width=1cm]} Figure \in[fig:a] = 1.1\crlf Figure \in[fig:b] = 1.2?\crlf Figure \in[fig:c] = 1.3\crlf \subject{Subject} \placefigure[here][fig:b]{figure b}{\externalfigure[cow.pdf][width=1cm]} Figure \in[fig:a] = 1.1\crlf Figure \in[fig:b] = 1.2?\crlf Figure \in[fig:c] = 1.3\crlf \section{Section Twee} \placefigure[here][fig:c]{figure c}{\externalfigure[cow.pdf][width=1cm]} Figure \in[fig:a] = 1.1\crlf Figure \in[fig:b] = 1.2?\crlf Figure \in[fig:c] = 1.3\crlf \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 ___________________________________________________________________________________