From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/58214 Path: news.gmane.org!not-for-mail From: Salil Sayed Newsgroups: gmane.comp.tex.context Subject: Re: basic \cite[] Date: Sat, 17 Apr 2010 23:40:50 -0700 (PDT) Message-ID: <762939.76940.qm@web57506.mail.re1.yahoo.com> References: <4BCA0C85.5050501@elvenkind.com> Reply-To: mailing list for ConTeXt users NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0356160365==" X-Trace: dough.gmane.org 1271572879 17395 80.91.229.12 (18 Apr 2010 06:41:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 18 Apr 2010 06:41:19 +0000 (UTC) To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Sun Apr 18 08:41:18 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 1O3OBx-0008D7-IR for gctc-ntg-context-518@m.gmane.org; Sun, 18 Apr 2010 08:41:17 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id B6C4AC9BC5; Sun, 18 Apr 2010 08:41:16 +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 6+CyCD2wAQvo; Sun, 18 Apr 2010 08:41:05 +0200 (CEST) Original-Received: from balder.ntg.nl (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id 009C8C9BD4; Sun, 18 Apr 2010 08:41:05 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by balder.ntg.nl (Postfix) with ESMTP id AB993C9BD4 for ; Sun, 18 Apr 2010 08:41:03 +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 AqQujNEW08pX for ; Sun, 18 Apr 2010 08:40:52 +0200 (CEST) Original-Received: from web57506.mail.re1.yahoo.com (web57506.mail.re1.yahoo.com [66.196.100.73]) by balder.ntg.nl (Postfix) with SMTP id A2A8BC9BC5 for ; Sun, 18 Apr 2010 08:40:51 +0200 (CEST) Original-Received: (qmail 97429 invoked by uid 60001); 18 Apr 2010 06:40:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1271572850; bh=jN1qEpSsbZXhwNTJqjUhrZxGxljXzNt8OUQP2Tgx550=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ZbSa9+y5CX5ks8EGfMNtR81hoXtaoIqLUx6UOQqRZwOCQLiMtWD0+JaWsdQYqGSF4mOv7oh5r6zHdScSDT8ZU07pstsIlYj1s/BI6KQ2aNTbA5kid2b/J+vpBiSbnK+1gG9uhbBRoqDeTwugJdcWKxQV1zJC3wzv2dqlvDE5Ioo= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:References:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type; b=ze+JKUiG51NaTjgm/39I50ZiWDAL961M8HLJWjI7iHj7hIcSJ8c1VuRr1Vg5EsZW6f7sgPBLg8wMAMzuJg24qSLod3z+asP3hT6il+vuL8J1Xg5YEejVGlhBbSQZdFFfnTwIej4NGOd28r/SrUnmqfNlZoQhHX8QZOFjxazKV+k=; X-YMail-OSG: GW_xtOsVM1mHdbDnkD_STzVLMnY57ipj7dZu9NGg5ERTeUC 2m0kR1myqwfWuiIYl0IlVSJQsWuJrn6OgnnbYTvvNfvM7CpNaGTQ7EnrxIaA s8SHiobWHFd3j1q44WlNV5x9oVIJGHGPPDlztT43ZwOvNxlYm9pBmEpk6vts v12c8_ORdNSdo9xMREII8p3_RLKeyFF8RnkUQLfzTVXgwaGxXoxwajkdJvVa OrG8q3M9CsbAQRACb5Bu.xBfxTEEnWRiQdBmDdhzIHyiAsyEnlK97dP5TgSY 2EcLR5ZWDDmn60FMYRnlrogppT6S0csAB0_eY.WKpiZNHqgOIa.5ls730DiU 5kVCyayzYH4.yfKdnxI8zrWUhx0A- Original-Received: from [128.214.133.2] by web57506.mail.re1.yahoo.com via HTTP; Sat, 17 Apr 2010 23:40:50 PDT X-Mailer: YahooMailRC/348.5 YahooMailWebService/0.8.100.260964 In-Reply-To: <4BCA0C85.5050501@elvenkind.com> 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:58214 Archived-At: --===============0356160365== Content-Type: multipart/alternative; boundary="0-2009576879-1271572850=:76940" --0-2009576879-1271572850=:76940 Content-Type: text/plain; charset=us-ascii In mkIV the option seems mandatory too. Otherwise I get the empty brackets. But only the authoryear and authoryears works for me. Not authornum. This is how I use it. (following the habit of using natbib in Latex) \usemodule[bib] \setupbibtex [database={Manuscript}, sort=author] \setuppublications[numbering=yes] \def\LocalRefList {\subject{References}\placepublications[criterium=chapter, option=continue]} \def\citet[#1]{\cite[authoryear][#1]} \def\citep[#1]{\cite[authoryears][#1]} The line \def\LocalRefList {\subject{References}\placepublications[criterium=chapter, option=continue]} worked in mkII but not in mkIV. Best regards, Salil ________________________________ From: Taco Hoekwater To: mailing list for ConTeXt users Sent: Sat, April 17, 2010 10:31:17 PM Subject: Re: [NTG-context] basic \cite[] Michael Saunders wrote: > One cryptic line tells me: > > "refcommand the default option for \cite" > > just like that. Based on this, I'm guessing refcommand=key will let > me write things like \cite[myFirstKey]. The manual goes on to clear > up the confusion by explaining: Well, no. You always use keys as arguments, the option controls the resulting output. It called an option because it controls the optional argument of \cite. A reference key is mandatory, because otherwise the whole command would be pointless. > \setuppublications[refcommand=key,alternative=apa,setupinteraction=start,numbering=yes] Try \setuppublications[alternative=num] Best wishes, Taco ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --0-2009576879-1271572850=:76940 Content-Type: text/html; charset=us-ascii
In mkIV the option seems mandatory too. Otherwise I get the empty brackets. But only the authoryear and authoryears works for me. Not authornum.

This is how I use it. (following the habit of using natbib in Latex)

\usemodule[bib]
\setupbibtex
 [database={Manuscript},
  sort=author]
\setuppublications[numbering=yes]
\def\LocalRefList {\subject{References}\placepublications[criterium=chapter, option=continue]}
\def\citet[#1]{\cite[authoryear][#1]}
\def\citep[#1]{\cite[authoryears][#1]}

The line
\def\LocalRefList {\subject{References}\placepublications[criterium=chapter, option=continue]}
worked in mkII but not in mkIV.

Best regards,

Salil

From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Sent: Sat, April 17, 2010 10:31:17 PM
Subject: Re: [NTG-context] basic \cite[]

Michael Saunders wrote:
> One cryptic line tells me:
>
> "refcommand                  the default option for \cite"
>
> just like that.  Based on this, I'm guessing refcommand=key will let
> me write things like \cite[myFirstKey].  The manual goes on to clear
> up the confusion by explaining:

Well, no. You always use keys as arguments, the option controls the
resulting output.  It called an option because it controls the
optional argument of \cite. A reference key is mandatory, because
otherwise the whole command would be pointless.

> \setuppublications[refcommand=key,alternative=apa,setupinteraction=start,numbering=yes]

Try

  \setuppublicatio ns[alternative=num]

Best wishes,
Taco

___________________________________________________________________________________
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
______________________ _____________________________________________________________

--0-2009576879-1271572850=:76940-- --===============0356160365== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___________________________________________________________________________________ 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 ___________________________________________________________________________________ --===============0356160365==--