From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/71593 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: Re: Alphabetical sort Date: Thu, 6 Oct 2011 20:27:53 +0200 Message-ID: <5F86AB23-398D-4D0B-A8DC-198252F5720F@googlemail.com> References: <4E8DEF65.4080205@gmail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1244.3) Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1317925703 19366 80.91.229.12 (6 Oct 2011 18:28:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 6 Oct 2011 18:28:23 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Oct 06 20:28:19 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 1RBsg3-0004vl-JA for gctc-ntg-context-518@m.gmane.org; Thu, 06 Oct 2011 20:28:15 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id C91E8CAFFE; Thu, 6 Oct 2011 20:28:14 +0200 (CEST) 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 BRP1bUaN1yVI; Thu, 6 Oct 2011 20:28:12 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 08996CAFF4; Thu, 6 Oct 2011 20:28:12 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 62AD0CAFF4 for ; Thu, 6 Oct 2011 20:28:10 +0200 (CEST) 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 7qeTLIRXtGtV for ; Thu, 6 Oct 2011 20:27:59 +0200 (CEST) Original-Received: from filter4-nij.mf.surf.net (filter4-nij.mf.surf.net [195.169.124.155]) by balder.ntg.nl (Postfix) with ESMTP id 06A7CCA680 for ; Thu, 6 Oct 2011 20:27:59 +0200 (CEST) Original-Received: from mail-yx0-f169.google.com (mail-yx0-f169.google.com [209.85.213.169]) by filter4-nij.mf.surf.net (8.14.3/8.14.3/Debian-5+lenny1) with ESMTP id p96IRuKY013464 for ; Thu, 6 Oct 2011 20:27:58 +0200 Original-Received: by yxi19 with SMTP id 19so3843932yxi.14 for ; Thu, 06 Oct 2011 11:27:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to:x-mailer; bh=uxPTtsMjQXmjVuF8ebynk95wV3VLFwz/qqf3YkPD+bQ=; b=TPHTOWnPpidHRF4Hy3PmNjHTdGAqM8ZMvOkJa0sET9QFe2xSagycsEOiMUGnSTd0wI vuQYJ76dCgmhtGX08ZsEs8WLcZVujPtwXAjbM75v3esYJqnixIh+uUH2725mVEkfRWi+ nE6vOmMize4BVUnJmERNIgslaW8scgUbQ6e2Q= Original-Received: by 10.223.65.68 with SMTP id h4mr4517835fai.24.1317925676278; Thu, 06 Oct 2011 11:27:56 -0700 (PDT) Original-Received: from [192.168.2.31] (p5482CC67.dip.t-dialin.net. [84.130.204.103]) by mx.google.com with ESMTPS id n12sm8189650fan.9.2011.10.06.11.27.54 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 06 Oct 2011 11:27:55 -0700 (PDT) In-Reply-To: <4E8DEF65.4080205@gmail.com> X-Mailer: Apple Mail (2.1244.3) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=209.85.213.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: 04FFurVNe - bbceca7545b6 - 20111006 X-Scanned-By: CanIt (www . roaringpenguin . com) on 195.169.124.155 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:71593 Archived-At: Am 06.10.2011 um 20:11 schrieb Vyatcheslav Yatskovsky: > Hi! > = > Please, advise me what I can do to alphabetically sort an itemized list? = (I have list of songs, and want them to be alphabetically sorted, as an opt= ion ). > = > \startitemize[n] %something like 'sort' key would be very useful > \item Fly me to the moon > \item Hit the road jack > \item Sway > =85 \definesorting[song][songs] \unexpanded\def\SongEntry#1#2#3% {\startitemize[packed] \startitem#2\stopitem \stopitemize} \starttext \song{Hit the road jack} \song{Sway} \song{Fly me to the moon} \placelistofsorts[song][criterium=3Dall,command=3D\SongEntry] \stoptext Wolfgang ___________________________________________________________________________= ________ 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 ___________________________________________________________________________= ________