From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19459 Path: news.gmane.org!not-for-mail From: "Stefano" Newsgroups: gmane.comp.tex.context Subject: bibmodule requests Date: Wed, 30 Mar 2005 10:21:47 -0500 Message-ID: Reply-To: ckh5z9ae@sympatico.ca, mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112196093 26042 80.91.229.2 (30 Mar 2005 15:21:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 30 Mar 2005 15:21:33 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 30 17:21:31 2005 Return-path: Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by ciao.gmane.org with esmtp (Exim 4.43) id 1DGf00-0005MZ-8a for gctc-ntg-context-518@m.gmane.org; Wed, 30 Mar 2005 17:20:52 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id E3F22128C5; Wed, 30 Mar 2005 17:21:54 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19373-02-3; Wed, 30 Mar 2005 17:21:51 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 000EE1280D; Wed, 30 Mar 2005 17:21:50 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 843B31280D for ; Wed, 30 Mar 2005 17:21:49 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (ronja.vet.uu.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 19373-02-2 for ; Wed, 30 Mar 2005 17:21:48 +0200 (CEST) Original-Received: from sunburn.uwaterloo.ca (sunburn.uwaterloo.ca [129.97.116.26]) by ronja.ntg.nl (Postfix) with ESMTP id 89F41127E0 for ; Wed, 30 Mar 2005 17:21:48 +0200 (CEST) Original-Received: from aquila (aquila.uwaterloo.ca [129.97.116.83]) by sunburn.uwaterloo.ca (8.9.3p2/8.9.3) with SMTP id KAA01805 for ; Wed, 30 Mar 2005 10:21:47 -0500 (EST) Original-To: "context mailing list" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 Importance: Normal X-Virus-Scanned: by amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.5 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: by amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:19459 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19459 I have been using the bibmodule for a couple of weeks now, and it works great! ... but, I have run into some situations that are not considered. (1) It would be nice to visually distinguish the cited author using a different font or style in the text. I was able to add \c!authorstyle to \setupcite and make changes to the appropriate areas in the t-bib.tex module. I suppose I could also add a \c!yearstyle as well to allow for old style figures. In my case, I set \c!authorstyle={\em} (2) Another situation arises when dealing with multiple references from the same author in the same year. The years have a lower case letter added, such as 1995a, 1995b, 1995c, etc. For example, let's say I have three entries: article1 ... 1995a article2 ... 1995b article3 ... 1995c These entries are labelled a,b,c when using BibTeX to process the .bib file to the .bbl file. Unfortunately, the .bbl file contains all entries, since the .aux file contains the line \citation{*}. If I cite article2 and article3 in my document, the publication list uses 1995b and 1995c and my citations use the same years, and doesn't start with 'a'. The only way I have found to remedy this situation is to create a .bbl file that only contains the BibTeX entries which I have cited. These cited entries are listed in the .tui file that texexec creates. Unfortunately, the .tui file requires the entire .bbl file in order to list the entries cited ... so I have devised the following process ... step 1) run BibTeX using an .aux file that contains the line \citation{*} step 2) run texexec document --once (this creates .tui with the list of cited entries) step 3) rename the .aux to ._au file step 4) use the ._au and .tui files to create a new .aux which only lists the entries cited instead of \citation{*} ... for example ... \citation{Smith2001} \citation{Jones1995} \citation{Smith1999} ... etc. step 5) run BibTeX again ... this will create a .bbl which only contains the cited entries, ensuring that the years are labelled correctly i.e. 1995a, 1995b, etc. step 6) run texexec document to create the final document Is there any consideration to having .aux file created by texexec based on the entries cited in the document? I ended up creating a batch file to do this so it's not really an issue for me. Is there a better way to do this? (3) Another issue I found is when using the \cite[year][label1,label2,label3,etc.] and I have years such as 1995a, 1995b, 1995c, etc. only one of those years is listed, while if I use \cite[author] or \cite[authoryear] or \cite[authoryears], all the required years are listed. Unfortunately, the grouped years are not in order i.e. 1995b before 1995a, but it looks like this depends on the ordering of the labels. (4) Another issue is with regards to the author names in the publication list. The first author is typically inverted (last name before first name), but all subsequent authors are normal (first name before last name) ... for example ... Smith, A.B, C.D. Jones, E.J. Doe, and J.T. Morgan ... The use of author styles such as \normalauthor \invertedshortauthor, etc. applies to the entire list of authors. Is there any way to specify one style for the first author and a different style for the second and subsequent authors? (5) Is it possible to have additional annotations with a citation? For example, if I want to refer to page 27 from Smith et al., I would have (Smith et al., 1995a, p. 27). Another possibility is to have (e.g. Smith et al., 1995a, p.27). I suppose I could blank out the brackets in \setupcite and do the following ... (e.g. \cite[smith1995], p.27) or create a custom \def such as \def\Cite[#1][#2][#3]{(#1 \cite[#2], #3)} and use it as such ... \Cite[e.g.][smith1995][p. 27] Any information is appreciated. Sincerely, Stefano