From: Salil Sayed <salilsay@yahoo.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: basic \cite[]
Date: Sat, 17 Apr 2010 23:40:50 -0700 (PDT) [thread overview]
Message-ID: <762939.76940.qm@web57506.mail.re1.yahoo.com> (raw)
In-Reply-To: <4BCA0C85.5050501@elvenkind.com>
[-- Attachment #1.1: Type: text/plain, Size: 2056 bytes --]
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
\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
___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 3343 bytes --]
[-- Attachment #2: Type: text/plain, Size: 486 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2010-04-18 6:40 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-17 15:53 Michael Saunders
2010-04-17 19:31 ` Taco Hoekwater
2010-04-18 6:40 ` Salil Sayed [this message]
2010-04-17 20:12 Michael Saunders
2010-04-17 23:42 ` Michael Green
2010-04-18 6:31 ` Taco Hoekwater
2010-04-18 7:26 ` Wolfgang Schuster
2010-04-18 0:50 ` Michael Saunders
2010-04-18 6:46 Michael Saunders
2010-04-18 6:47 ` Taco Hoekwater
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=762939.76940.qm@web57506.mail.re1.yahoo.com \
--to=salilsay@yahoo.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).