From: Mikael Sundqvist via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Mikael Sundqvist <mickep@gmail.com>
Subject: How to setupbtx to get short citations?
Date: Sun, 9 Jan 2022 23:56:35 +0100 [thread overview]
Message-ID: <CAHy-LL_1ZOzDS=53Y3CNwX_rP3y=kiunN6RNvQu+kg+tib4n4Q@mail.gmail.com> (raw)
Hi,
In the example below I can do \cite[short][hh2010] to get the citation
in the short format. But I thought that would also be the standard
with \setupbtx[aps][alternative=short] (so that I can write
\cite[hh2010] instead). What do I miss? (Except for the fact that I
should probably define my own btx style as a copy of aps instead of
setting the aps up...)
/Mikael
\startbuffer[bib]
@ELECTRONIC{hh2010,
author = {Hans Hagen},
year = {2010},
title = {Metafun. \CONTEXT\ mkiv},
url = {http://www.pragma-ade.nl/general/manuals/metafun-s.pdf},
}
\stopbuffer
\usebtxdataset[bib.buffer]
\usebtxdefinitions[aps]
\setupbtxrendering[aps][
sorttype=short,
numbering=short,
]
\setupbtxlist[aps][
width=fit,
distance=0.5em,
interaction=start,
]
\setupbtx[aps][
alternative=short,
]
\starttext
\cite[hh2010]
\placelistofpublications
\stoptext
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2022-01-09 22:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-09 22:56 Mikael Sundqvist via ntg-context [this message]
2022-01-11 14:27 ` Mikael Sundqvist via ntg-context
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='CAHy-LL_1ZOzDS=53Y3CNwX_rP3y=kiunN6RNvQu+kg+tib4n4Q@mail.gmail.com' \
--to=ntg-context@ntg.nl \
--cc=mickep@gmail.com \
/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).