ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: m-bib -- pages
Date: Tue, 16 Nov 2004 11:45:58 +0100	[thread overview]
Message-ID: <4199DA66.20303@elvenkind.com> (raw)
In-Reply-To: <49374.62.251.0.62.1100591371.squirrel@62.251.0.62>

r.ermers@hccnet.nl wrote:
> Dear friends,
> 
> Does anybody know how to generate references of the type:
> 
> Jansen (2002:22), Pietersen (1998:28,39) and Hendriks (2000:12-19) 
>  maintain  that ... while the latter (2000:21) ...

Do you want this (i've invented keys for the items)?:

%%%%%%%%%%%%%%%%%%%%%%%%%
\setupcite[author,year][left={},right={}]
\def\myciteyear[#1][#2]{(\cite[year][#1]:#2)}
\def\mycite[#1][#2]{\cite[author][#1]~\myciteyear[#1][#2]}

\starttext
\mycite[Jansen2002][22], \mycite[Pietersen1998][28,39] and
\mycite[Hendriks2000][12-19] maintain  that ... while the latter
\myciteyear[Hendriks2000][21]
\stoptext

%%%%%%%%%%%%%%%%%%%%%%%%%%%

      reply	other threads:[~2004-11-16 10:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-16  7:49 r.ermers
2004-11-16 10:45 ` Taco Hoekwater [this message]

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=4199DA66.20303@elvenkind.com \
    --to=taco@elvenkind.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).