From: Jethro Djan via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Jethro Djan <jthryeboah@gmail.com>
Subject: Achieving different \cite styles
Date: Fri, 9 Dec 2022 03:42:02 +0000 [thread overview]
Message-ID: <CAHgnkf_LPVArw=wPEMG2R0zzyZLsao-K59adFrmxiCiiAkWmGA@mail.gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1022 bytes --]
Hello everyone
I am interested in being able to cite in different ways. By analogy, I
refer to the \texcite{}, \parencite{} and other options available with
biblatex in LaTeX. How do I achieve something like \textcite{} in ConTeXt?
Here is my MWE:
\startbuffer[ref]
@Article{wn:2017,
author = {Who, Nobody and What, Everyone},
journal = {Good Journal},
title = {The Art of Being},
year = {2017},
}
\stopbuffer
\definebtxdataset[ref]
\usebtxdataset[ref][ref.buffer]
\setupbtx[
dataset=ref,
]
\definebtxrendering
[ref]
[apa]
[
dataset=ref,
]
\usebtxdefinitions[apa]
\starttext
In \cite[wn:2017], they illustrated that it is impossible to not be them.
\cite[wn:2017] said it was worth the discovery.
\startsection[title={References}, number=no, incrementnumber=no]
\placelistofpublications[ref][method=dataset]
\stopsection
\stoptext
The first sentence is okay. In the second, I would like the parenthesis
around the citation to come off because of the way I am citing it.
Jethro
[-- Attachment #1.2: Type: text/html, Size: 1261 bytes --]
[-- Attachment #2: Type: text/plain, Size: 496 bytes --]
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!
maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage : https://www.pragma-ade.nl / http://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : https://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2022-12-09 3:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-09 3:42 Jethro Djan via ntg-context [this message]
2022-12-09 9:09 ` Henning Hraban Ramm via ntg-context
2022-12-09 9:57 ` Max Chernoff 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='CAHgnkf_LPVArw=wPEMG2R0zzyZLsao-K59adFrmxiCiiAkWmGA@mail.gmail.com' \
--to=ntg-context@ntg.nl \
--cc=jthryeboah@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).