From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/26601 Path: news.gmane.org!not-for-mail From: Johannes Graumann Newsgroups: gmane.comp.tex.context Subject: bib module/XML Date: Tue, 28 Mar 2006 16:38:03 -0800 Organization: Die Guten Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1143592796 797 80.91.229.2 (29 Mar 2006 00:39:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Mar 2006 00:39:56 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Wed Mar 29 02:39:54 2006 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org 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 1FOOj1-0007qw-1o for gctc-ntg-context-518@m.gmane.org; Wed, 29 Mar 2006 02:39:51 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 1D410127B7; Wed, 29 Mar 2006 02:39:50 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31253-04; Wed, 29 Mar 2006 02:39:46 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id D084612797; Wed, 29 Mar 2006 02:39:45 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 4C90412797 for ; Wed, 29 Mar 2006 02:39:44 +0200 (CEST) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 31349-03 for ; Wed, 29 Mar 2006 02:39:43 +0200 (CEST) Original-Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by ronja.ntg.nl (Postfix) with SMTP id DEE561278E for ; Wed, 29 Mar 2006 02:39:42 +0200 (CEST) Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1FOOij-0007o0-69 for ntg-context@ntg.nl; Wed, 29 Mar 2006 02:39:33 +0200 Original-Received: from iluvatar.caltech.edu ([131.215.35.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Mar 2006 02:39:33 +0200 Original-Received: from johannes_graumann by iluvatar.caltech.edu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 29 Mar 2006 02:39:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ntg-context@ntg.nl Original-Lines: 55 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iluvatar.caltech.edu User-Agent: KNode/0.10.1 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 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: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:26601 Archived-At: Hello, I have a couple of questions concerning the bib module, which I'm using in conjunction with XML document code. In my header I say: \usemodule[bib] \setupbibtex[database={../Bibliography/bibliography.bib}] 1) \completepublications problem in the xml I say: and use \defineXMLargument [cite] {\cite[\XMLpar{cite}{key}{}][\XMLpar{cite}{id}{}]} in my mappings. This works ok, however, I also have the following definition included: \defineXMLenvironment [chapter] { \defineXMLargument [title] {\chapter} \defineXMLprocess [content] {} } {\section{References}\placepublications} so that a xml chapter definiton like this: Example will be read out properly and I get a chapter specific publication list at the end of each chapter. This does not work. I will get a Reference List, but it contains the second entry twice and its second copy is indented in relation to the first ... Any Idea on how to remedy this? 2) I'm a biologist and author/year citation is usus where I work. The options 'authoryear' ('Hoekwater (2006)') and 'authoryears' ('(Hoekwater, 2006)') are great, but I would also want to have the option to prepend the latter with something like 'e.g.' ('(see e.g. Hoekwater, 2006)'). I understand this is possible to the right of the actual citation with 'extras', but how difficult would it be to do that on the left? Thanks for any help, Joh