From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43202 Path: news.gmane.org!not-for-mail From: Michael Green Newsgroups: gmane.comp.tex.context Subject: \setupbibtex[sort=author] Date: Thu, 14 Aug 2008 09:30:00 -0700 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1218731561 15805 80.91.229.12 (14 Aug 2008 16:32:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Aug 2008 16:32:41 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Aug 14 18:33:29 2008 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 1KTfkl-0007Oh-NQ for gctc-ntg-context-518@m.gmane.org; Thu, 14 Aug 2008 18:32:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 8D3AE1FEA1; Thu, 14 Aug 2008 18:31:48 +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 20440-09-8; Thu, 14 Aug 2008 18:30:54 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id C6C931FE94; Thu, 14 Aug 2008 18:30:53 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D97AD1FE94 for ; Thu, 14 Aug 2008 18:30:45 +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 20885-04-5 for ; Thu, 14 Aug 2008 18:30:05 +0200 (CEST) Original-Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.169]) by ronja.ntg.nl (Postfix) with ESMTP id C59891FD62 for ; Thu, 14 Aug 2008 18:30:03 +0200 (CEST) Original-Received: by wf-out-1314.google.com with SMTP id 27so659041wfd.5 for ; Thu, 14 Aug 2008 09:30:02 -0700 (PDT) Original-Received: by 10.142.157.9 with SMTP id f9mr567712wfe.311.1218731402429; Thu, 14 Aug 2008 09:30:02 -0700 (PDT) Original-Received: from ?192.168.0.2? ( [134.173.80.152]) by mx.google.com with ESMTPS id 31sm205322wff.16.2008.08.14.09.30.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 14 Aug 2008 09:30:02 -0700 (PDT) X-Mailer: Apple Mail (2.753.1) 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:43202 Archived-At: I would like to have a list of references sorted alphabetically by author surnames. My environment file has \setupbibtex[sort=author] and \setuppublications[sorttype=bbl] As I understand it, the \setupbibtex instruction is supposed to influence the .aux file. Specifically, the .aux file is supposed to include this line: \bibstyle{cont-au}. Then, bibtex will read the aux file and produce a .bbl file that is sorted alphabetically. Then ConTeXt's bib module will read the .bbl file and follow the sorting it finds in that file. However, after each ConTeXt run this line in the .aux file is set as \bibstyle{cont-no}. This happens in both Mk IV and Mk II, ConTeXt ver: 2008.08.05 18:47 I can change the relevant line in the aux file by hand, from \bibstyle {cont-no} to \bibstyle{cont-au}. This gives me the desired result when the file was processed by ConTeXt. The reference list is sorted alphabetically. In fact, subsequent ConTeXt runs using Mk IV (but not Mk II) produce an alphabetically sorted reference list, despite the changed line in the .aux file, provided bibtex is not run in the meantime. (Mk II runs it automatically but Mk IV doesn't ... I think) But this is not a fully stable situation. Suppose the bib file changes. Then I would run bibtex again. And then the alphabetical sorting is undone. Or, it was when I tested it. I don't know if this is a bug, a misunderstanding on my part, or a feature to be added later. If my memory is correct, this is not the way that Mk II used to behave. But in any event, It would be great to know of a more automatic way of handling this if one is available. Thank you! Michael ___________________________________________________________________________________ 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 ___________________________________________________________________________________