From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43909 Path: news.gmane.org!not-for-mail From: Martin Hoher Newsgroups: gmane.comp.tex.context Subject: Re: \cite command (bib-module) Date: Thu, 11 Sep 2008 17:01:05 +0200 Message-ID: <48C932B1.6000500@uni-konstanz.de> References: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221145540 13026 80.91.229.12 (11 Sep 2008 15:05:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2008 15:05:40 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 11 17:06:35 2008 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 lo.gmane.org with esmtp (Exim 4.50) id 1KdnjG-0002Ir-Dv for gctc-ntg-context-518@m.gmane.org; Thu, 11 Sep 2008 17:05:29 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 21E3A1FF58; Thu, 11 Sep 2008 17:04:04 +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 04047-04-8; Thu, 11 Sep 2008 17:03:07 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 211901FE3F; Thu, 11 Sep 2008 17:03:06 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id AA5BA1FE34 for ; Thu, 11 Sep 2008 17:03:01 +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 04047-04-7 for ; Thu, 11 Sep 2008 17:02:17 +0200 (CEST) Original-Received: from guanin.uni-konstanz.de (guanin.uni-konstanz.de [134.34.240.60]) by ronja.ntg.nl (Postfix) with ESMTP id DD0F01FF58 for ; Thu, 11 Sep 2008 17:01:07 +0200 (CEST) Original-Received: from [192.168.2.100] (217-162-249-135.dclient.hispeed.ch [217.162.249.135]) by guanin.uni-konstanz.de (Postfix) with ESMTPA id 6905313138 for ; Thu, 11 Sep 2008 17:01:06 +0200 (CEST) User-Agent: Thunderbird 2.0.0.16 (X11/20080724) In-Reply-To: X-Enigmail-Version: 0.95.0 X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.9 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:43909 Archived-At: > Message: 4 > Date: Thu, 11 Sep 2008 12:35:59 +0200 > From: "Thomas A. Schmitz" > Subject: Re: [NTG-context] use of the \cite command (bib-module) > To: mailing list for ConTeXt users > Message-ID: <7C5C18CF-9FF7-45BA-B699-8BF005D3F0B2@uni-bonn.de> > Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes > > > On Sep 11, 2008, at 12:19 PM, Martin Hoher wrote: > >> Hello, >> >> concerning the bib-module and the \cite command I've got two >> questions: >> >> (1) The output in the text of the document should look like this: >> Goldstein (2003:95). >> The name of the author should be located on the outside of the >> brackets. >> >> >> Goldstein refers to the name of the author, 2003 is the year of >> publication and 95 is the relevant page number. >> My approach until now: \cite[extras={:95}][G:2003] It generates the >> following output: (Goldstein 2003:95) >> > \setupcite > [authoryear] > [pubsep={, }, > lastpubsep={ und }, > compress=yes, > inbetween={ (}, > left={}, > right={)}] > > (chapter 2.3 of the bib manual) > >> (2) The output in the text should look like this: >> (vgl. Goldstein 2003:95) >> My intention is to place the expression "vgl." in front of the >> authorname and inside of the brackets. > > \setupcite > [authoryear] > [pubsep={, }, > lastpubsep={ und }, > compress=yes, > inbetween={ (vgl. }, > left={}, > right={)}] > > HTH > > Thomas Thank you for your answer. The first example works. The result is: "Goldstein (2003)" but unfortunately it is impossible to combine it with the [extras={:95}] option to get the page number behind the citation. If you type \cite [authoryear][extras={:95}] it won't work. Although I've tried it with the [authoryear,page] nothing works. The result of the second example is "Goldstein (vgl. 2003)". I've tried to use the left={} option instead, but nothing changed. \setupcite [authoryear] [pubsep={, }, lastpubsep={ und }, compress=yes, inbetween={}, left={(vgl. }, right={)}] still leads to the result Goldstein (vgl. 2003) when I type in the command \cite [authoryear][G:2003]. It seems to be impossible to place something (like "vgl.") in front of the name of the author and inside of the brackets like (vgl. Goldstein 2003:95) I couldn't find anything specific about these problems in the bib-manual. Perhaps you or someone else can help me? Regards Martin ___________________________________________________________________________________ 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 ___________________________________________________________________________________