From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/37543 Path: news.gmane.org!not-for-mail From: Wolfgang Schuster Newsgroups: gmane.comp.tex.context Subject: sorting bug in mkiv Date: Sun, 25 Nov 2007 09:42:13 +0100 Message-ID: <20071125094213.8b2eb21e.schuster.wolfgang@googlemail.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195983370 16109 80.91.229.12 (25 Nov 2007 09:36:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Nov 2007 09:36:10 +0000 (UTC) To: ConTeXt Original-X-From: ntg-context-bounces@ntg.nl Sun Nov 25 10:36:18 2007 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 lo.gmane.org with esmtp (Exim 4.50) id 1IwDuT-00064p-TZ for gctc-ntg-context-518@m.gmane.org; Sun, 25 Nov 2007 10:36:17 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 487D51FC2F; Sun, 25 Nov 2007 10:36:03 +0100 (CET) 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 04286-03-4; Sun, 25 Nov 2007 10:35:59 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id B2AF01FD76; Sun, 25 Nov 2007 10:35:54 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 945F81FC2F for ; Sun, 25 Nov 2007 10:35:49 +0100 (CET) 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 04286-03-3 for ; Sun, 25 Nov 2007 10:35:33 +0100 (CET) Original-Received: from mu-out-0910.google.com (mu-out-0910.google.com [209.85.134.184]) by ronja.ntg.nl (Postfix) with ESMTP id 575C61FD76 for ; Sun, 25 Nov 2007 10:35:23 +0100 (CET) Original-Received: by mu-out-0910.google.com with SMTP id i2so484795mue for ; Sun, 25 Nov 2007 01:35:23 -0800 (PST) Original-Received: by 10.82.123.16 with SMTP id v16mr3040978buc.1195983323544; Sun, 25 Nov 2007 01:35:23 -0800 (PST) Original-Received: from rover ( [62.180.200.232]) by mx.google.com with ESMTPS id z33sm431971ikz.2007.11.25.01.35.20 (version=SSLv3 cipher=OTHER); Sun, 25 Nov 2007 01:35:22 -0800 (PST) X-Mailer: Sylpheed 2.4.7 (GTK+ 2.10.14; i686-pc-mingw32) X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:37543 Archived-At: Hi, I found a bug in the mkiv code with the \definsorting macros. When I try to output the sorted list with \placelistofsorts ConTeXt give me only the name of the sort list but not the list entries. \definesorting[test][tests] \starttext \test[One]{one} \test[Two]{Two} \test[Three]{3} text \One\ text \Two\ text \Three\ text \placelistoftests \stoptext This bug did also appear with the synonym mechanism. The old mkii code works as expected but I found a interestins side effect of the old mechanism. ConTeXt writes the whole list entries in galley files and one can misuse this to output the list of synonyms before the commands are definied;-) \definesynonyms[test][tests][\testtext] \starttext %\placelistoftests \test[One]{one}{number one} \test{Two}{Two} \test{Three}{Three} text \One\ text \Two\ text \Three\ text \testtext{One} text \placelistoftests \stoptext Wolfgang ___________________________________________________________________________________ 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________