From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/73386 Path: news.gmane.org!not-for-mail From: Vyatcheslav Yatskovsky Newsgroups: gmane.comp.tex.context Subject: Two questions about sort lists Date: Sat, 24 Dec 2011 16:38:19 +0200 Message-ID: <4EF5E3DB.2010901@gmail.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1324737550 24147 80.91.229.12 (24 Dec 2011 14:39:10 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Dec 2011 14:39:10 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Dec 24 15:39:06 2011 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.69) (envelope-from ) id 1ReSkb-0002v0-NU for gctc-ntg-context-518@m.gmane.org; Sat, 24 Dec 2011 15:39:05 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id D8EB4CB1A5; Sat, 24 Dec 2011 15:39:04 +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 aq6NKnnxOrBE; Sat, 24 Dec 2011 15:39:02 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 1013BCB19F; Sat, 24 Dec 2011 15:39:02 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 9B182CB19F for ; Sat, 24 Dec 2011 15:39:00 +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 TFlnoSEzHaJW for ; Sat, 24 Dec 2011 15:38:44 +0100 (CET) Original-Received: from filter1-ams.mf.surf.net (filter1-ams.mf.surf.net [192.87.102.69]) by balder.ntg.nl (Postfix) with ESMTP id C0D78CB199 for ; Sat, 24 Dec 2011 15:38:44 +0100 (CET) Original-Received: from mail-wi0-f169.google.com (mail-wi0-f169.google.com [209.85.212.169]) by filter1-ams.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id pBOEciFW004948 for ; Sat, 24 Dec 2011 15:38:44 +0100 Original-Received: by wibhq12 with SMTP id hq12so5070240wib.14 for ; Sat, 24 Dec 2011 06:38:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=Ud1mBEeH29uQSe8muU0ch2W7qqaKHWiYqqenFRj7LnI=; b=IjAVe56y0FECjXwasY2hUPCc9wKU8YUP9+THbQlWYms9klcu8Zvqeb9DZqchuWVaA1 EomLjvU5eew50yXnvLfBXyMGYt2FcAqbrA0pm2e2DUVdzeWvAp997h/4NAR6tS8ct7Hu 8RkT+1vEokVBCG9hn97ummKB1sb4QSuG4cCe4= Original-Received: by 10.181.13.179 with SMTP id ez19mr40676807wid.11.1324737524138; Sat, 24 Dec 2011 06:38:44 -0800 (PST) Original-Received: from [10.0.22.59] ([46.151.80.36]) by mx.google.com with ESMTPS id en20sm40718567wid.10.2011.12.24.06.38.42 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 24 Dec 2011 06:38:43 -0800 (PST) User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.212.169; country=US; region=CA; city=Mountain View; postalcode=94043; latitude=37.4192; longitude=-122.0574; metrocode=807; areacode=650; http://maps.google.com/maps?q=37.4192,-122.0574&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 06Gd2CIUM - d5cdfd00a7b9 - 20111224 X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.69 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:73386 Archived-At: Hi! I have two questions about sort lists. 1) Is there a way to reset (empty) the sorting list, to reuse it several times? \definesorting[song][songs] \unexpanded\def\SongEntry#1#2#3% {#2 \crlf} \starttext \startlinenumbering \startlines \setupinterlinespace[big] \song{Sway} \song{Hit The Road Jack} \song{Fly Me To The Moon} \placelistofsongs[criterium=all,command=\SongEntry] % (Here I want to reset the list) \song{Girl From Ipanema} \placelistofsongs[criterium=all,command=\SongEntry] \stoplines \stoplinenumbering \stoptext 2) Why any formatting tags like \song{\it Fly Me To The Moon} cause the error? Regards, Vyatcheslav Yatskovsky ___________________________________________________________________________________ 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 ___________________________________________________________________________________