emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Kitchin <jkitchin@andrew.cmu.edu>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: org-cite citation commands
Date: Sat, 17 Jul 2021 08:37:21 -0400	[thread overview]
Message-ID: <CAJ51ETo4PLTAGaDBPy_nMCZCup3yv=NL=X5hS3OGDwduwMV4EA@mail.gmail.com> (raw)
In-Reply-To: <20210717113533.v4sdts2r662zhmwb@dalkati>

[-- Attachment #1: Type: text/plain, Size: 2186 bytes --]

It sounds like you use natbib/bibtex (citet/citep are natbib commands I
think). In that case, my current understanding is that these are the
syntaxes for what you want, with the natbib exporter selected.

 [cite:@key]  -> \citep{key}

 [cite/t:@key]  -> \citet{key}

But, if you use the biblatex backend, these map to

 [cite:@key]  -> \autocite{key}

 [cite/t:@key]  -> \textcite{key}

There is not currently a way to get \citet and \citep with the biblatex
backend.

John

-----------------------------------
Professor John Kitchin (he/him/his)
Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mellon University
Pittsburgh, PA 15213
412-268-7803
@johnkitchin
http://kitchingroup.cheme.cmu.edu



On Sat, Jul 17, 2021 at 7:41 AM Vikas Rawal <vikasrawal@gmail.com> wrote:

> I have been a long time user of org-ref and am excited to see the
> development of org-cite. Thanks a lot for this, Nicholas and others
> who have been working on this. I have been wanting to give it a spin
> for the last few days and finally got down to doing it.
>
> I am aware that the documentation is still in the works and therefore
> my apologies in advance if asking these questions is premature. I have
> looked at Nicholas' mails which provide basic documentation and have
> been trying to follow these.
>
> What is the equivalent here of the various citation commands that
> something like biblatex or bibtex provide? The two most common citation
> commands I use are citet and citep (or parencite). These are used to
> produce the following kind of output using org-ref/biblatex:
>
>
> -----
> * citet
>
> citet:john is an excellent resource.
>
> will be exported as:
>
> John (1990) is an excellent resource.
>
> * citep
>
> This is an excellent resource citep:john.
>
> will be exported as
>
> This is an excellent resource (John, 1990).
>
> ----
>
> How does one achieve this using org-cite?
>
> I am a bit lost with the citation styles that are inbuilt in
> oc-biblatex.el. Is it expected that we will have to write additional
> citation styles for getting these kinds of output?
>
> Apologies if this is a naive or a premature question.
>
> Many thanks to everyone.
>
> Vikas
>
>

[-- Attachment #2: Type: text/html, Size: 3026 bytes --]

  reply	other threads:[~2021-07-17 12:39 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-17 11:35 org-cite citation commands Vikas Rawal
2021-07-17 12:37 ` John Kitchin [this message]
2021-07-17 12:47   ` Bruce D'Arcus
2021-07-17 14:16     ` Vikas Rawal
2021-07-17 14:44       ` Bruce D'Arcus
2021-07-17 20:52         ` John Kitchin
2021-07-18  4:05           ` Vikas Rawal
2021-07-18 16:37             ` Bruce D'Arcus
2021-07-17 12:39 ` Bruce D'Arcus
2021-07-17 13:55 ` András Simonyi
2021-07-17 14:44   ` Vikas Rawal

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ51ETo4PLTAGaDBPy_nMCZCup3yv=NL=X5hS3OGDwduwMV4EA@mail.gmail.com' \
    --to=jkitchin@andrew.cmu.edu \
    --cc=emacs-orgmode@gnu.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).