From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/52919 Path: news.gmane.org!not-for-mail From: Aditya Mahajan Newsgroups: gmane.comp.tex.context Subject: Re: bibmod: forcing a key for alphabetical sorting Date: Mon, 14 Sep 2009 17:16:57 -0400 (EDT) Message-ID: 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: ger.gmane.org 1252963058 9791 80.91.229.12 (14 Sep 2009 21:17:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Sep 2009 21:17:38 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Mon Sep 14 23:17:31 2009 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.50) id 1MnIvS-0002Eb-7A for gctc-ntg-context-518@m.gmane.org; Mon, 14 Sep 2009 23:17:30 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 04922C9AE6; Mon, 14 Sep 2009 23:17:25 +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 D31ZeZ0FejMJ; Mon, 14 Sep 2009 23:17:24 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id DD1C0C9A9C; Mon, 14 Sep 2009 23:17:21 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 322BAC9A97 for ; Mon, 14 Sep 2009 23:17:20 +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 AO+E4kxR4Wbd for ; Mon, 14 Sep 2009 23:17:14 +0200 (CEST) Original-Received: from tombraider.mr.itd.umich.edu (smtp.mail.umich.edu [141.211.93.161]) by balder.ntg.nl (Postfix) with ESMTP id D36CEC9A9C for ; Mon, 14 Sep 2009 23:17:13 +0200 (CEST) Original-Received: FROM [192.168.2.8] (c-76-28-91-31.hsd1.ct.comcast.net [76.28.91.31]) By tombraider.mr.itd.umich.edu ID 4AAEB2D7.D5336.25401 ; Authuser adityam; 14 Sep 2009 17:17:11 EDT In-Reply-To: User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) 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:52919 Archived-At: On Mon, 14 Sep 2009, Sanjoy Mahajan wrote: > I'm arranging the bibliography of my math textbook alphabetial by author > and it mostly works, but a couple entries are tricky. For example: > > @Book{Census:1992, > author = {US Bureau of the Census}, > title = {Statistical Abstracts of the United States: 1992}, > publisher = {Government Printing Office}, > year = 1992, > address = {Washington, DC}, > edition = {112th}} > > Using the settings > \setupbibtex[database=../project, sort=author] > \setuppublications[alternative=num, sorttype=bbl] > it turns into this entry in the .bbl file: > > \startpublication[k=Census:1992,t=book, > a={{of~the Census}},y=1992, > n=7,s=otC92] > \author[]{US~Bureau}[U.~B.]{of~the}{Census} > \pubyear{1992} > \title{Statistical Abstracts of the United States: 1992} > \city{Washington, DC} > \pubname{Government Printing Office} > \edition{112th} > \stoppublication > > I tried inserting a key={US Census} line in the bibtex entry, but the > key seems to be ignored if there's already an author key (based on a > moderately long stare at the cont-au.bst file). > > How could I trick bibtex into believing that the author's last name is > "US", so that the entry would be placed with the "U" entries? Try author={{US Bureau of the Census}} or author={U{S Bureau of the Census}} Aditya ___________________________________________________________________________________ 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 ___________________________________________________________________________________