From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58203 Path: news.gmane.org!not-for-mail From: Michael Saunders Newsgroups: gmane.comp.tex.context Subject: basic \cite[] Date: Sat, 17 Apr 2010 10:53:13 -0500 Message-ID: Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1271519627 16094 80.91.229.12 (17 Apr 2010 15:53:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 17 Apr 2010 15:53:47 +0000 (UTC) To: ntg-context@ntg.nl Original-X-From: ntg-context-bounces@ntg.nl Sat Apr 17 17:53:45 2010 connect(): No such file or directory Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from balder.ntg.nl ([195.12.62.10]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1O3AL3-0005OS-E7 for gctc-ntg-context-518@m.gmane.org; Sat, 17 Apr 2010 17:53:45 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id BDF2AC9BC1; Sat, 17 Apr 2010 17:53: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 kQSmBaZAez+l; Sat, 17 Apr 2010 17:53:33 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 38D02C9C07; Sat, 17 Apr 2010 17:53:33 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id F2BC7C9C07 for ; Sat, 17 Apr 2010 17:53:31 +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 Z-HsSeO3PEbA for ; Sat, 17 Apr 2010 17:53:20 +0200 (CEST) Original-Received: from mail-gw0-f41.google.com (mail-gw0-f41.google.com [74.125.83.41]) by balder.ntg.nl (Postfix) with ESMTP id 10356C9BC1 for ; Sat, 17 Apr 2010 17:53:19 +0200 (CEST) Original-Received: by gwb15 with SMTP id 15so1873365gwb.14 for ; Sat, 17 Apr 2010 08:53:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:received:message-id :subject:from:to:content-type:content-transfer-encoding; bh=Tsf8rfJt0AvsJq/TLlaSdDqMGkRiep5Yu4TpU04YOvc=; b=KK/1DH9hpOJIRtV9FXbhx3JI3h2qPLZJXPjzt5iE0bNgAnkW8qUAR3+7kypzz6vhqx xE0rHNzfBNHj5K8NtsbaDN25EwHSCXOHg5WLN+8MN5HFA2g+K0U3GsUGpmYq2ewlctz9 RE4G3zf3sjX2dIdZiVnjKO1gbX5yPruhnjj00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=ZHP0eZYCkPWofQyXguSg0VrEOwhhKdVI2MwjZmQvUcbR7zBcjaIEUk641ebUY1haL6 y5MbCo9nSa/CWI2d6VWYMmRgtKEUP5cdA8CejtbgLCZRc55hnf1GXh6UuiRwMQ7lyPCp /BoC2SIFQT71yuL0Q1u3Dv9arGW/jIY987dQs= Original-Received: by 10.100.197.16 with HTTP; Sat, 17 Apr 2010 08:53:13 -0700 (PDT) Original-Received: by 10.100.25.34 with SMTP id 34mr7680845any.187.1271519593383; Sat, 17 Apr 2010 08:53:13 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.12 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl Xref: news.gmane.org gmane.comp.tex.context:58203 Archived-At: I want to be able to write, in my text, \cite[myKey] (where myKey is the key of a record in my .bib file), and have this appear in print as: [] linked to the bibliograpy page where it () occurs. I've been puzzling over bibmod-doc.pdf. I think the solution has to do with the commands \setuppublications and \setupcite, but since bibmod-doc never says what these commands do, it's very difficult. I'm guessing \setuppublications might be able to control what argument I should use in the \cite[] command. I'm guessing \setupcite might control how a citation will be printed in the text. (If this is true, the manual should say so so the reader doesn't have to guess.) One cryptic line tells me: "refcommand the default option for \cite" just like that. Based on this, I'm guessing refcommand=3Dkey will let me write things like \cite[myFirstKey]. The manual goes on to clear up the confusion by explaining: "The \cite command has a lot of alternatives, as could be seen above in the setting of =91refcommand=92." That's it---no mention of what \setupcite does. Based on this, I'm hoping that \setupcite[num] will cause the citation to be printed as [], e.g., [1]. So, I'm using: \usemodule[bib] \setupbibtex[database=3DmyProject] \setuppublications[refcommand=3Dkey,alternative=3Dapa,setupinteraction=3Dst= art,numbering=3Dyes] \setuppublicationlist[] \setupcite[num][] ... \placepublications[criterium=3Dall] The bibliography prints out, but citations appear as empty brackets: "[]". I want them to be numbers linked to the appearance of the same number in the bibliography. There must be a way of doing this? ___________________________________________________________________________= ________ If your question is of interest to others as well, please add an entry to t= he Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-cont= ext webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________= ________