> Message: 4 > Date: Thu, 11 Sep 2008 12:35:59 +0200 > From: "Thomas A. Schmitz" <[EMAIL PROTECTED]> > Subject: Re: [NTG-context] use of the \cite command (bib-module) > To: mailing list for ConTeXt users <ntg-context@ntg.nl> > Message-ID: <[EMAIL PROTECTED]> > 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 ___________________________________________________________________________________