From: Taco Hoekwater <taco@elvenkind.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: \setupcite[authornum][...] not working
Date: Tue, 08 Jun 2010 16:36:32 +0200 [thread overview]
Message-ID: <4C0E5570.3040901@elvenkind.com> (raw)
In-Reply-To: <201006081513.33011.warrence.stm@gmx.de>
Stefan Müller wrote:
>
> I already tried apa style, the same there. In addition, the names of a
> citation placed with \cite[author] (e.g. "Doe and Fisher") are not typesetted
> as those of a citation placed with \cite[authornum] (e.g. "Doe,Fisher"),
> although I think (from a short glimpse at bibl-ams.tex) they should.
>
> Am I doing something wrong or is this a bug? Any help appreciated.
No, it is just a hack (authornum). I tried to fix it now, but that is
turning out harder than I expected so probably the best approach is to
redefine authornum using author and num:
\def\bibauthornumref[#1]%
{\bibalternative{left}%
\cite[author][#1]
\bibalternative{inbetween}%
\cite[num][#1]
\bibalternative{right}}
with that, 'authornum' listens to left, right and inbetween keys,
and there rest of formatting is controlled by \setupcite[num] and
\setupcite[author].
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
___________________________________________________________________________________
prev parent reply other threads:[~2010-06-08 14:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.1.1275904802.15572.ntg-context@ntg.nl>
2010-06-08 13:13 ` Stefan Müller
2010-06-08 14:36 ` 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=4C0E5570.3040901@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).