From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/55081 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: Bibliography help - some problems I have noticed Date: Sun, 06 Dec 2009 10:40:00 +0100 Message-ID: <4B1B7BF0.4070709@elvenkind.com> References: <3b4b12310912050752x1743423an8c691c4e82acf52c@mail.gmail.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"; Format="flowed" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1260092432 27206 80.91.229.12 (6 Dec 2009 09:40:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 6 Dec 2009 09:40:32 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Dec 06 10:40:25 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 1NHDbL-0000Y6-Vv for gctc-ntg-context-518@m.gmane.org; Sun, 06 Dec 2009 10:40:24 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id E0511C9BFF; Sun, 6 Dec 2009 10:40:22 +0100 (CET) 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 5XwH+AEH5AK8; Sun, 6 Dec 2009 10:40:19 +0100 (CET) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 5ECB4C9BE2; Sun, 6 Dec 2009 10:40:18 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AF27CC9BE2 for ; Sun, 6 Dec 2009 10:40:14 +0100 (CET) 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 RRNV8CNhhpeo for ; Sun, 6 Dec 2009 10:40:02 +0100 (CET) Original-Received: from smtp-vbr4.xs4all.nl (smtp-vbr4.xs4all.nl [194.109.24.24]) by balder.ntg.nl (Postfix) with ESMTP id D14E0C9BB5 for ; Sun, 6 Dec 2009 10:40:01 +0100 (CET) Original-Received: from [192.168.178.26] (boo.demon.nl [82.161.175.147]) (authenticated bits=0) by smtp-vbr4.xs4all.nl (8.13.8/8.13.8) with ESMTP id nB69e1QN063050 for ; Sun, 6 Dec 2009 10:40:01 +0100 (CET) (envelope-from taco@elvenkind.com) User-Agent: Thunderbird 2.0.0.21 (X11/20090330) In-Reply-To: <3b4b12310912050752x1743423an8c691c4e82acf52c@mail.gmail.com> X-Virus-Scanned: by XS4ALL Virus Scanner 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:55081 Archived-At: Hi, Curiouslearn wrote: > (0) Do I need bibltx for latex databases? No. These days, the ConTeXt core defines \newcommand so the bibltx module is obsolete. > (0.5) Using \type{\cite[author,year][BergstromBagnoli2005]} just > returns the key in the document This is caused by the \cite[author,year][] input. If the first argument of \cite[] has a comma, it is taken to be the list of references, and the second set of square brackets is just typeset text. Use \cite[authoryear][] or \cite[authoryears][]. > (1) If the Key has a paranthesis, the \cite[Reference] gives empty brackets. In this example, I do not know what is wrong, but adding an explicit first argument to \cite fixes it. It could be that the optional argument parser in ConTeXt gets confused by the (). > (2) If I use \cite[author][Reference] then I get a line break after > the opening paranthesis. This is a bug in current mkiv that was also mentioned in a thread last week. Should be fixed in this beta or one of the next ones. As a workaround, you can add \usepublications[\jobname] just after the \usemodule[bib] line > (3) Also, note that I refer to only one paper of Daughety and > Reinganum in the minimal example below. However, because there are two > papers by them in my database, the References section lists the year > as (2000a) instead of just (2000). The bbl file generated contains all > the references in my database and not only the once I have cited. Adding \def\maybeyear#1{} works around this. It is one of the few bibtex features that I have not found a good solution for. Otherwise, just remove the \setupbibtex command from the source and edit the bbl file by hand. > Should it not contain only the ones I have cited in the document. No, it always contains the entire database. That is why manuak editing is possible. Best wishes, Taco ___________________________________________________________________________________ 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________