From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/79727 Path: news.gmane.org!not-for-mail From: Jannik Voges Newsgroups: gmane.comp.tex.context Subject: two bugs in the latest beta of context mkiv Date: Sun, 02 Dec 2012 10:28:10 +0100 Message-ID: <37A87103-3D3C-47E7-809A-79F771CCA6E1@icloud.com> Reply-To: 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 1354521989 25195 80.91.229.3 (3 Dec 2012 08:06:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 3 Dec 2012 08:06:29 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Mon Dec 03 09:06:41 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 1TfR30-0003Za-Pn for gctc-ntg-context-518@m.gmane.org; Mon, 03 Dec 2012 09:06:38 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 6848C1027C; Mon, 3 Dec 2012 09:06:26 +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 XEzXmO-2G1v3; Mon, 3 Dec 2012 09:06:22 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id A691D1023A; Mon, 3 Dec 2012 09:06:22 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id A33FE10201 for ; Sun, 2 Dec 2012 10:28:20 +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 R8qaxzUBN8cL for ; Sun, 2 Dec 2012 10:28:19 +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 368B2101FC for ; Sun, 2 Dec 2012 10:28:19 +0100 (CET) Original-Received: from st11p05mm-asmtp005.mac.com (st11p05mm-asmtpout005.mac.com [17.172.108.250]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id qB29KrYR016976 for ; Sun, 2 Dec 2012 10:20:53 +0100 Original-Received: from administrators-macbook-pro.fritz.box (p57B6BD48.dip.t-dialin.net [87.182.189.72]) by st11p05mm-asmtp005.mac.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Jan 3 2012)) with ESMTPSA id <0MEE00MAECYZU610@st11p05mm-asmtp005.mac.com> for ntg-context@ntg.nl; Sun, 02 Dec 2012 09:28:13 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8185,1.0.431,0.0.0000 definitions=2012-12-02_02:2012-11-30,2012-12-02,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=4 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=6.0.2-1203120001 definitions=main-1212020021 X-Mailer: Apple Mail (2.1499) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=17.172.108.250; country=US; region=CA; city=Cupertino; postalcode=95014; latitude=37.3042; longitude=-122.0946; metrocode=807; areacode=408; http://maps.google.com/maps?q=37.3042,-122.0946&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WIuxkRRk - 5293e1d65588 - 20121202 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 194.171.167.221 X-Mailman-Approved-At: Mon, 03 Dec 2012 09:06:21 +0100 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:79727 Archived-At: Hello, I want to report two bugs in the latest beta of context mkiv. When I typeset the following example, I get the sectionnumber 1 for the second subsection. I would expect the sectionnumber 2.0.1 for that subsection. This problem (wrong sectionnumber) also appears in the table of contents. \starttext \chapter{A Chapter} \section{A Section} \subsection{A Subsection} \chapter{Another Chapter} \subsection{Another Subsection} \stoptext In my attempt to circumvent this problem I tried to write my own table of contents (the number in the headlines were easy to fix) with \writetolist[toc]{number}{text}. But \writetolist seems to be broken, because the sectionnumber is missing. As an minimal example you can use the example from the context-wiki: \definelist[Reprints][criterium=all] \starttext \section{Sec 1} \writetolist[Reprints]{1.}{List entry A}% \writetolist[Reprints]{}{With no number}% \subsection{Subsec 1} \writebetweenlist[Reprints]{\hrule} \writetolist[Reprints]{2.}{List entry B}% \completelist[Reprints] \stoptext As you see, the horizontal line appears at the top of the list and not after the second entry. So there seems to be an additional bug. Sincerely Jannik ___________________________________________________________________________________ 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 ___________________________________________________________________________________