From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/86290 Path: news.gmane.org!not-for-mail From: Sanjoy Mahajan Newsgroups: gmane.comp.tex.context Subject: writetolist doesn't include sectionnumber in mkiv? Date: Sat, 15 Feb 2014 16:31:32 -0500 Message-ID: <8738jkhxl7.fsf@approx.mit.edu> 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 1392499909 14882 80.91.229.3 (15 Feb 2014 21:31:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Feb 2014 21:31:49 +0000 (UTC) To: Original-X-From: ntg-context-bounces@ntg.nl Sat Feb 15 22:31:56 2014 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([5.39.185.229]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WEmq2-0004dD-FE for gctc-ntg-context-518@m.gmane.org; Sat, 15 Feb 2014 22:31:54 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BB24A101E8; Sat, 15 Feb 2014 22:31:53 +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 CcNwxt3FhL6I; Sat, 15 Feb 2014 22:31:51 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id BED71101E3; Sat, 15 Feb 2014 22:31:51 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 8ABA4101E3 for ; Sat, 15 Feb 2014 22:31:50 +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 CuzZfKI4SJ0F for ; Sat, 15 Feb 2014 22:31:48 +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 82957101E2 for ; Sat, 15 Feb 2014 22:31:38 +0100 (CET) Original-Received: from EXCAS01.olin.edu (smtp.olin.edu [208.91.53.40]) by filter5-til.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id s1FLVaoF005836 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT) for ; Sat, 15 Feb 2014 22:31:37 +0100 Original-Received: from approx.mit.edu (71.126.235.4) by smtps.olin.edu (10.1.15.25) with Microsoft SMTP Server (TLS) id 8.3.342.0; Sat, 15 Feb 2014 16:31:35 -0500 Original-Received: from sanjoy by approx.mit.edu with local (Exim 4.82) (envelope-from ) id 1WEmpg-00089r-BK for ntg-context@ntg.nl; Sat, 15 Feb 2014 16:31:32 -0500 User-Agent: Notmuch/0.17 (http://notmuchmail.org) Emacs/24.3.1 (i486-pc-linux-gnu) X-Bayes-Prob: 0.0001 (Score 0, tokens from: ntg-context@ntg.nl, base:default, @@RPTN) X-CanIt-Geo: ip=208.91.53.40; country=US; region=MA; city=Needham; postalcode=02492; latitude=42.2793; longitude=-71.2450; metrocode=506; areacode=781; http://maps.google.com/maps?q=42.2793,-71.2450&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 0WLqJvBn2 - 6afc578676e9 - 20140215 (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:86290 Archived-At: With MkIV, I'm having trouble getting \writetolist to include sectionnumbers. Or at least, I cannot get the typeset list to include the sectionnumbers (but maybe writetolist sent in the information). Here's a minimal example, which is almost exactly the example from the wiki at . The only change is that I've included [order=command] so that the \hrule ends up at the right place. \definelist[Reprints][criterium=all] \starttext \section{Sec 1} \writetolist[Reprints]{1.}{List entry A} \subsection{Subsec 1} \writebetweenlist[Reprints]{\hrule} \writetolist[Reprints]{2.}{List entry B} \completelist[Reprints][order=command] \stoptext When typeset (I'm using the 2014.02.14 beta), the completelist looks like: List entry A 1 -------------------- List entry B 1 But the 1. and 2. didn't show up in the left column. I tried adding \setuplist[Reprints][sectionnumber=yes] but that didn't help. Does one need to define an alternative that includes sectionnumbers? -Sanjoy ___________________________________________________________________________________ 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 ___________________________________________________________________________________