ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Achieving different \cite styles
@ 2022-12-09  3:42 Jethro Djan via ntg-context
  2022-12-09  9:09 ` Henning Hraban Ramm via ntg-context
  2022-12-09  9:57 ` Max Chernoff via ntg-context
  0 siblings, 2 replies; 3+ messages in thread
From: Jethro Djan via ntg-context @ 2022-12-09  3:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Jethro Djan


[-- 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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-12-09  9:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-09  3:42 Achieving different \cite styles Jethro Djan via ntg-context
2022-12-09  9:09 ` Henning Hraban Ramm via ntg-context
2022-12-09  9:57 ` Max Chernoff via ntg-context

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).