From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/43913 Path: news.gmane.org!not-for-mail From: "Thomas A. Schmitz" Newsgroups: gmane.comp.tex.context Subject: Re: \cite command (bib-module) Date: Thu, 11 Sep 2008 17:52:20 +0200 Message-ID: <119889DE-0310-4E24-A198-685CF1CF2E43@uni-bonn.de> References: <48C932B1.6000500@uni-konstanz.de> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v926) Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1221148481 25269 80.91.229.12 (11 Sep 2008 15:54:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Sep 2008 15:54:41 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Thu Sep 11 17:55:37 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 1KdoVo-0002RA-4v for gctc-ntg-context-518@m.gmane.org; Thu, 11 Sep 2008 17:55:16 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id A77161FF40; Thu, 11 Sep 2008 17:54:08 +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 12008-03-6; Thu, 11 Sep 2008 17:53:14 +0200 (CEST) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 21BC31FF14; Thu, 11 Sep 2008 17:53:14 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 6F7081FF13 for ; Thu, 11 Sep 2008 17:53:10 +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 16381-01-5 for ; Thu, 11 Sep 2008 17:52:31 +0200 (CEST) Original-Received: from mailout09.t-online.de (mailout09.t-online.de [194.25.134.84]) by ronja.ntg.nl (Postfix) with ESMTP id D166F1FF17 for ; Thu, 11 Sep 2008 17:52:28 +0200 (CEST) Original-Received: from fwd11.aul.t-online.de by mailout09.sul.t-online.de with smtp id 1KdoT6-00028k-02; Thu, 11 Sep 2008 17:52:28 +0200 Original-Received: from [192.168.0.2] (TteCd-ZQrhws0bax5Rf8d8a4eK-YjPYSQ7qqrp4H8KM8WfJ7wSH2PpviOv1h1gWZgz@[87.178.90.49]) by fwd11.aul.t-online.de with esmtp id 1KdoSy-1zJsrw0; Thu, 11 Sep 2008 17:52:20 +0200 In-Reply-To: <48C932B1.6000500@uni-konstanz.de> X-Mailer: Apple Mail (2.926) X-ID: TteCd-ZQrhws0bax5Rf8d8a4eK-YjPYSQ7qqrp4H8KM8WfJ7wSH2PpviOv1h1gWZgz@t-dialin.net X-TOI-MSGID: 9172ff05-b5e7-47b6-b840-d13c2a7382e4 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:43913 Archived-At: On Sep 11, 2008, at 5:01 PM, Martin Hoher wrote: > 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) Sorry, in the second case, you'll need the option "authoryears": \setupcite [authoryears] [pubsep={, }, lastpubsep={ und }, compress=yes, inbetween={ }, left={(vgl. }, right={)}] I had a quick look at the source, and it doesn't look like you can have three [] arguments after \cite. So you can't have \cite[STYLE] [EXTRAS][KEY], you must use the \setuppublications command and set the default. If you want to have a different citation style in the footnotes and in the main text, you will probably want to have a \setuppublications[refcommand=authoryears] in the setup of your footnotes (see p. 101 of cont-eni.pdf). Thomas ___________________________________________________________________________________ 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 ___________________________________________________________________________________