ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Max Chernoff via ntg-context <ntg-context@ntg.nl>
To: ntg-context@ntg.nl
Cc: Max Chernoff <mseven@telus.net>
Subject: Re: Achieving different \cite styles
Date: Fri, 09 Dec 2022 02:57:01 -0700	[thread overview]
Message-ID: <86139448abd02f580932ee2f0e45606e227f0876.camel@telus.net> (raw)
In-Reply-To: <CAHgnkf_LPVArw=wPEMG2R0zzyZLsao-K59adFrmxiCiiAkWmGA@mail.gmail.com>


Hi Jethro,

> 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?

Page 34 of the publications manual lists the various styles:

   https://www.pragma-ade.nl/general/manuals/mkiv-publications.pdf#page=35
   
\parencite is like \cite[authoryear][article] and \textcite is like
\cite[authoryears][article]. The names are admittedly a little confusing,
but you can define your own wrappers with something like

   \define\parencite[1]{\cite[authoryear][#1]}
   \define\textcite[1]{\cite[authoryears][#1]}

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

      parent reply	other threads:[~2022-12-09  9:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [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=86139448abd02f580932ee2f0e45606e227f0876.camel@telus.net \
    --to=ntg-context@ntg.nl \
    --cc=mseven@telus.net \
    /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).