ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Thomas A. Schmitz" <thomas.schmitz@uni-bonn.de>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \cite command (bib-module)
Date: Thu, 11 Sep 2008 17:52:20 +0200	[thread overview]
Message-ID: <119889DE-0310-4E24-A198-685CF1CF2E43@uni-bonn.de> (raw)
In-Reply-To: <48C932B1.6000500@uni-konstanz.de>


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
___________________________________________________________________________________


  reply	other threads:[~2008-09-11 15:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1642.1221134249.4320.ntg-context@ntg.nl>
2008-09-11 15:01 ` Martin Hoher
2008-09-11 15:52   ` Thomas A. Schmitz [this message]
2008-09-12  6:25     ` Taco Hoekwater
2008-09-12  6:44       ` Thomas A. Schmitz
2008-09-12 15:58       ` Aditya Mahajan
2008-09-12 18:38         ` Taco Hoekwater
2008-09-11 15:47 ` ntg-context Digest, Vol 51, Issue 44 Martin Hoher

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=119889DE-0310-4E24-A198-685CF1CF2E43@uni-bonn.de \
    --to=thomas.schmitz@uni-bonn.de \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).