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
___________________________________________________________________________________

Reply via email to