From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/29616 Path: news.gmane.org!not-for-mail From: Hans van der Meer Newsgroups: gmane.comp.tex.context Subject: sorting list Date: Sun, 23 Jul 2006 19:45:19 +0200 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: multipart/mixed; boundary="===============0983320793==" X-Trace: sea.gmane.org 1153677104 28935 80.91.229.2 (23 Jul 2006 17:51:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Jul 2006 17:51:44 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Sun Jul 23 19:51:40 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1G4i78-0007kY-3V for gctc-ntg-context-518@m.gmane.org; Sun, 23 Jul 2006 19:51:38 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id EE309127DF; Sun, 23 Jul 2006 19:51:37 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09577-03-3; Sun, 23 Jul 2006 19:51:28 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 371EB12830; Sun, 23 Jul 2006 19:51:27 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C1F4112830 for ; Sun, 23 Jul 2006 19:51:15 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 09577-03-2 for ; Sun, 23 Jul 2006 19:51:02 +0200 (CEST) Original-Received: from smtp.science.uva.nl (smtp.science.uva.nl [146.50.4.84]) by ronja.ntg.nl (Postfix) with SMTP id 85E43127DF for ; Sun, 23 Jul 2006 19:51:02 +0200 (CEST) Original-Received: from 119-198.uva.surfnetthuis.nl [145.98.119.198] by smtp.science.uva.nl with ESMTP (sendmail 8.11.6p2/config 11.36). id k6NHkHv23386; Sun, 23 Jul 2006 19:46:18 +0200 X-Organisation: Faculty of Science, University of Amsterdam, The Netherlands X-URL: http://www.science.uva.nl/ Original-To: NTG ConTeXt X-Mailer: Apple Mail (2.752.2) X-Virus-Scanned: by amavisd-new X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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 X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:29616 Archived-At: --===============0983320793== Content-Type: multipart/alternative; boundary=Apple-Mail-1--724139847 --Apple-Mail-1--724139847 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Some things I do not understand about sorting: This is the example: \def\sortprocess#1{{\bf #1}} \definesorting[city][cities][\callupcities] \setupsorting[city][criterium=all,command=\sortprocess] \city{Londen} \city{Berlijn} \city{New York} \city{Parijs} \city{Amstelveen} \placelistofcities \callupcities question 1. The manual states (p.163) "When we add a command in the third argument during the definition of the sorted list we may recall sorted list with this command." However \callupcities gives me this error: Runaway argument? ! Paragraph ended before \callupcities was complete. \par question 2. The command \sortprocess does work, the items are in bold. But they now are typeset next to one another instead of each one on a line by itself, as occurs without command=\sortprocess on the setup. Hans van der Meer --Apple-Mail-1--724139847 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=ISO-8859-1
Some things I = do not understand about sorting:

This is the = example:
\def\sortprocess#1{{\bf #1}}
\definesorting[city][cities][\callupcities]
<= DIV>\setupsorting[city][criterium=3Dall,command=3D\sortproces= s]
\city{Londen}
\city{Berlijn}
\city{New = York}
\city{Parijs}
\city{Amstelveen}
\placelistofcities
\callupcities

question 1. The manual = states (p.163) "When we add a command in the third argument during the = definition of the sorted list we may recall sorted list with this = command."
However \callupcities gives me this = error:
Runaway= argument?
! Paragraph ended before \callupcities was = complete.
<to be read again>
=A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0=A0 \par

question 2. The command = \sortprocess does work, the items are in bold. But they now are typeset = next to one another instead of each one on a line by itself, as occurs = without=A0command=3D\sortprocess on the = setup.

Hans van der = Meer



= --Apple-Mail-1--724139847-- --===============0983320793== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context --===============0983320793==--