From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/19482 Path: news.gmane.org!not-for-mail From: Taco Hoekwater Newsgroups: gmane.comp.tex.context Subject: Re: bibmodule requests Date: Thu, 31 Mar 2005 10:29:39 +0200 Message-ID: <424BB4F3.4030602@elvenkind.com> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1112257758 31771 80.91.229.2 (31 Mar 2005 08:29:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 31 Mar 2005 08:29:18 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Mar 31 10:29:15 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 1DGv2k-0003yS-Be for gctc-ntg-context-518@m.gmane.org; Thu, 31 Mar 2005 10:28:46 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 20AB4127FB; Thu, 31 Mar 2005 10:29:55 +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 29729-01; Thu, 31 Mar 2005 10:29:49 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A83CF127DD; Thu, 31 Mar 2005 10:29:48 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 7752A127DD for ; Thu, 31 Mar 2005 10:29:45 +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 29697-01 for ; Thu, 31 Mar 2005 10:29:42 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com (elvenknd.xs4all.nl [213.84.171.68]) by ronja.ntg.nl (Postfix) with ESMTP id 1C18A127D5 for ; Thu, 31 Mar 2005 10:29:41 +0200 (CEST) Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 8BD0D1233F; Thu, 31 Mar 2005 10:32:34 +0200 (CEST) Original-Received: from glenfiddich.elvenkind.com ([127.0.0.1]) by localhost (glenfiddich.elvenkind.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 01576-01; Thu, 31 Mar 2005 10:32:33 +0200 (CEST) Original-Received: from [10.10.0.6] (glenlivet.elvenkind.com [10.10.0.6]) by glenfiddich.elvenkind.com (Postfix) with ESMTP id 5F58111AD5; Thu, 31 Mar 2005 10:32:33 +0200 (CEST) User-Agent: Mozilla Thunderbird 1.0 (X11/20041206) X-Accept-Language: en-us, en Original-To: ckh5z9ae@sympatico.ca, mailing list for ConTeXt users In-Reply-To: X-Virus-Scanned: by amavisd-new at elvenkind.net 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:19482 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:19482 Hi Stefano, I have to be brief, I do not have enough time on my hands right now to deal extensively with bibmodule issues. It is on my todo list for the near future though. Stefano wrote: > 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. Thank you! > (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} Could you email me (personally!) your changes please? I want to such extensions into the main module whenever possible. > (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. > 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? Bibtex is a very LaTeX-specific bit of software, and the less I have to deal with it, the better I feel. I will never write code to create an .aux file that lists the actual references, because I am already a bit annoyed by the mere fact that this .aux LaTeX thing is hardwired in bibtex. I don't want to spend any time on improving it. Conceptually, the .bib format does not really exist where the module is involved. I consider the .bbl file to be the actual source database (this is why there is a \usepublications command). If someone doesn't want the 1995a item in the bbl, just delete it for the bbl file and never run bibtex again. (a future version of the bib module will support MlBibTeX's XML format, when that becomes available). > (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. I have to look deeper into this before I can give real answers. It certainly sounds like there is a bug or omission in the module. > (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), > .... This was also requested by David Wooten. `Clean' support for this will be added in the future, but if you need it right now, you need a definition along these lines: %D The \type{\scratchcounter} is incremented by \specialbibinsert %D before each author/editor is typeset, so the only thing that needs %D doing is testing its value to decide which of the two `standard' %D author formatting macros to call. %D %D You may have to fix the \type{\normalauthor} definition as well, %D because the 'glue items' like \type{firstnamesep} may get in the %D way. \def\toggledauthor#1#2#3#4#5% {\relax \ifnum \scratchcounter > 1 \normalauthor{#1}{#2}{#3}{#4}{#5}% \else \invertedauthor{#1}{#2}{#3}{#4}{#5}% \fi } \setuppublicationlist [artauthor=\toggledauthor, editor=\toggledauthor, author=\toggledauthor] > (5) Is it possible to have additional annotations with a citation? > .. > \def\Cite[#1][#2][#3]{(#1 \cite[#2], #3)} > \Cite[e.g.][smith1995][p. 27] That is the proposed solution (at least for the time being). Greetings, Taco