On Tue, 16 Apr 2013 12:38:30 -0400
john Culleton <j...@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 via email to