From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/81814 Path: news.gmane.org!not-for-mail From: Alan BRASLAU Newsgroups: gmane.comp.tex.context Subject: Re: Two Bibliography questions Date: Tue, 16 Apr 2013 19:08:34 +0200 Organization: CEA DSM-IRAMIS-SPEC Message-ID: <20130416190834.6168032c@iram-hb-003386.extra.cea.fr> References: <20130416123830.6cb8df5c@localb.wexfordpress.net> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366132127 9524 80.91.229.3 (16 Apr 2013 17:08:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 16 Apr 2013 17:08:47 +0000 (UTC) Cc: John@wexfordpress.com To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Tue Apr 16 19:08:50 2013 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1US9N6-0007Fm-MX for gctc-ntg-context-518@m.gmane.org; Tue, 16 Apr 2013 19:08:44 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 7148B101E3; Tue, 16 Apr 2013 19:08:44 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 739dceZJqZv8; Tue, 16 Apr 2013 19:08:42 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [IPv6:::1]) by balder.ntg.nl (Postfix) with ESMTP id 9933E101F8; Tue, 16 Apr 2013 19:08:42 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 2976B101F8 for ; Tue, 16 Apr 2013 19:08:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at balder.ntg.nl Original-Received: from balder.ntg.nl ([127.0.0.1]) by localhost (balder.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id qtFCSYBspawl for ; Tue, 16 Apr 2013 19:08:40 +0200 (CEST) Original-Received: from filter3-ams.mf.surf.net (filter3-ams.mf.surf.net [192.87.102.71]) by balder.ntg.nl (Postfix) with ESMTP id 17121101E3 for ; Tue, 16 Apr 2013 19:08:39 +0200 (CEST) Original-Received: from oxalide-out.extra.cea.fr (oxalide-out.extra.cea.fr [132.168.224.8]) by filter3-ams.mf.surf.net (8.14.3/8.14.3/Debian-9.4) with ESMTP id r3GH8aCY032594 for ; Tue, 16 Apr 2013 19:08:36 +0200 Original-Received: from epeire1.extra.cea.fr (epeire1.extra.cea.fr [132.167.198.31]) by oxalide.extra.cea.fr (8.14.2/8.14.2/CEAnet-Internet-out-2.3) with ESMTP id r3GH8ZAH028887 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 16 Apr 2013 19:08:35 +0200 Original-Received: from orpin1.extra.cea.fr (orpin1.extra.cea.fr [132.167.198.4]) by epeire1.extra.cea.fr (8.14.4/8.14.4) with ESMTP id r3GH8ZGn010240; Tue, 16 Apr 2013 19:08:35 +0200 (envelope-from alan.braslau@cea.fr) Original-Received: from iram-hb-003386.extra.cea.fr (charybde.extra.cea.fr [132.166.43.102]) by orpin1.extra.cea.fr (8.13.8/8.13.8/CEAnet-Extranet-out-1.2) with ESMTP id r3GH8YPc015726; Tue, 16 Apr 2013 19:08:34 +0200 In-Reply-To: <20130416123830.6cb8df5c@localb.wexfordpress.net> X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.17; amd64-portbld-freebsd9.1) X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN) X-CanIt-Geo: ip=132.168.224.8; country=FR; region=A3; city=Gif-sur-yvette; latitude=48.6833; longitude=2.1333; http://maps.google.com/maps?q=48.6833,2.1333&z=6 X-CanItPRO-Stream: uu:ntg-context@ntg.nl (inherits from uu:default, base:default) X-Canit-Stats-ID: 03JoF8ASr - 45906e604854 - 20130416 (trained as not-spam) X-Scanned-By: CanIt (www . roaringpenguin . com) on 192.87.102.71 X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.14 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:81814 Archived-At: On Tue, 16 Apr 2013 12:38:30 -0400 john Culleton 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 ___________________________________________________________________________________