ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Alan BRASLAU <alan.braslau@cea.fr>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: John@wexfordpress.com
Subject: Re: Two Bibliography questions
Date: Tue, 16 Apr 2013 19:08:34 +0200	[thread overview]
Message-ID: <20130416190834.6168032c@iram-hb-003386.extra.cea.fr> (raw)
In-Reply-To: <20130416123830.6cb8df5c@localb.wexfordpress.net>

On Tue, 16 Apr 2013 12:38:30 -0400
john Culleton <John@wexfordpress.com> wrote:

> For my bibliography I want to use the harvard style and the
> author-date form of the \cite command. I am using the sample.bib
> file for testing. I have progressed to the point where the bibiography
> shows the contents of sample.bib properly formatted. But I still have
> a problem with the printing of the actual citation. My \cite command
> looks like:
> \cite{Eijkhout1991}
> 
> but all that prints out is: 
> 
> [1]
> 
> Ideally I would see:
>  
> (Eijkhout, 1991) 
> 
>  What other adjustments do I need to make to correct this
> printout of the citation in the text? 
> 
> I already have the following in my preamble:
> 
> \usemodule[bib]
> \setupbibtex[database={sample},sort=author]
> \setuppublications[alternative=harvard]
> \setupcite
>        [authoryear]
>        [pubsep={, },
>         lastpubsep={ and },
>         compress=yes,
>         inbetween={ },
>         left={(},
>         right={)}]
> 
> Second question: If I wish to restrict the printed bibilography to
> only those publications actually cited in the text with the \cite
> command or the \nocite command what do I need to change?

setuppublications [refcommand=authoryears,criterium=cite]
___________________________________________________________________________________
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  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  reply	other threads:[~2013-04-16 17:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-16 16:38 john Culleton
2013-04-16 17:08 ` Alan BRASLAU [this message]
2013-04-16 19:38   ` john Culleton
2013-04-18 13:44     ` john Culleton

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=20130416190834.6168032c@iram-hb-003386.extra.cea.fr \
    --to=alan.braslau@cea.fr \
    --cc=John@wexfordpress.com \
    --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).