From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 3XlpG2vP8mAzSAAAgWs5BA (envelope-from ) for ; Sat, 17 Jul 2021 14:39:07 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iKuwFmvP8mDcZwAAB5/wlQ (envelope-from ) for ; Sat, 17 Jul 2021 12:39:07 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 0BB301A54B for ; Sat, 17 Jul 2021 14:39:06 +0200 (CEST) Received: from localhost ([::1]:34530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4jaz-0004f3-2o for larch@yhetil.org; Sat, 17 Jul 2021 08:39:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51470) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4jZc-0004af-Fr for emacs-orgmode@gnu.org; Sat, 17 Jul 2021 08:37:40 -0400 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:36607) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4jZW-0003GC-8p for emacs-orgmode@gnu.org; Sat, 17 Jul 2021 08:37:40 -0400 Received: by mail-wm1-x32d.google.com with SMTP id l17-20020a05600c1d11b029021f84fcaf75so9810780wms.1 for ; Sat, 17 Jul 2021 05:37:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=andrew-cmu-edu.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=xDsJl4ZlBtQDU6YrINrkpJhpXcW5SHPa51Kic/1i6sw=; b=lASKAWqwxy3w31GAposYO/5wTBt5S7Xmg0gawrofOcoAX+dIe6JLxGesba9FQeVJ1o Y7dx+YW5oem80CjZd2vBj07BuQr3IegBqiRbF9pLAXfQNwAG0JuTP5qUaiqM06rJyVli dHuAKClldPpuceph3LaaYnmCdTQ0cLgal9yP3lwfAR6lY6AkLy5o3qLEakEYdlA/vd8o qVJlGkQx0hwYtvrxbMOgrGjWJG9sRtN2ISz1o3O8haKSz6zvpz+z5Zn/048fzlOjn4mz grzKDgGo6ux+n+3MKtAvzV4SacieShlyMA3T/QF4gkPGBwNdVYe5kkre3mh9xoCd5rho NLNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=xDsJl4ZlBtQDU6YrINrkpJhpXcW5SHPa51Kic/1i6sw=; b=co8hBuin16VqDbAL19OMtBQ0t6vGiZJ2p06kJNMD1XwmGfO84Rm42afsmDWZiIhiyo 5c2+IVVUmjCG0bF9YNb4OaAJswY5sQ/lrYjn3TPpisKdkzKuNUJD/0B7Msamm+Owurqe zMkcl/nQAxksXF/EQlgkmdrSk97KsmHLE0nnb0XEnTaApnWOiD17Utsarc2z8NT5rzkx SC3d4JG/mzHNN4dZMroSYBxYVHCpahF7P+qEo8FXHTn3vcUZWa6nD4fIcm1X+CaJM1gg vQLtv3Ts0b6SZvH3AmiyeCUdl0qSjEYo7E2oQSe+Vh3tMGZBHBhuCuqS2olHIV+KzvMK nAjA== X-Gm-Message-State: AOAM530rhzKmeOuHHap+drmoYuEVhCx6tPsytwIYmXFSd9dY4eSayh1d fcp+w1mKfFXrmH5M5F/pI1ED6CFXhCw4G8qhvHtkF309RX/+mA== X-Google-Smtp-Source: ABdhPJwcuF9GUKL6WjsCQ3mwg8CzxyqldiQSxZ+Q4x2FgSwg2oMQKWSDzxLdfHAmfSH3hzMVVTNRKhtxxsZ6hrHu/As= X-Received: by 2002:a1c:6a1a:: with SMTP id f26mr16395437wmc.61.1626525452111; Sat, 17 Jul 2021 05:37:32 -0700 (PDT) MIME-Version: 1.0 References: <20210717113533.v4sdts2r662zhmwb@dalkati> In-Reply-To: <20210717113533.v4sdts2r662zhmwb@dalkati> From: John Kitchin Date: Sat, 17 Jul 2021 08:37:21 -0400 Message-ID: Subject: Re: org-cite citation commands To: org-mode mailing list Content-Type: multipart/alternative; boundary="000000000000ca958e05c750f731" Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=johnrkitchin@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -13 X-Spam_score: -1.4 X-Spam_bar: - X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1626525546; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=xDsJl4ZlBtQDU6YrINrkpJhpXcW5SHPa51Kic/1i6sw=; b=blXPlFh/SlHuXPV0nbSffvuFupeXR9fcTsHnviHboO7h/yRBk+ApjMqPC2yy1PoYTL7BTz gO+vAV3KG9euoZRbzTF4HZKxdtgKGw4IRrk6nzcctiZrwtmRMUIOl2vR7KRKqH9cZi5uTD w5Ji/xdSvEdS9q7EYkOknnuWyOieetsVaVNs2dbagNrm3wPLjUaKEFOr0zMsxyiaznFt4c 1Hf0JAH/I98LMuFwDzHdPmob5rTcW2rjZAGCONT75qp0ldkk/33kZ7OxpS4Y0qNJtlXyPP tuWf5ggI850p6vXpKGZo3fj/5EXWK6sYxDAAk1jZmpdQ4e8BPWiAb0AA/tTGxQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626525546; a=rsa-sha256; cv=none; b=pAFVd37LZZ6l+ImtxAOAY8iGS1pIhH07zR6mjh7DPF/oB1GZ5lBDtlIQ8tusb8SInIhnkn AYiTvLC7rsJk7HMHnM1k8k4TZmVYSuxqQs0cSBa3PtdmrWGsG/MOEUYaTeN+cwcsPOW1Ii P/WxUbbbIF54rndnW17m1TSAW3d/Ioewx1oHyHUGR3P8HIuN8Ko1RTpWYEp2nZOHW69Ey6 coKVAKx4PchmgK6GiWtIjPjCaO20uvpT7uQk5MmT6+rkPmBBYl9iuP4p+VzwBRpn/kvCO0 lySCvNxu82wqS2YP1Be5vmPule8bgktqQHPoHcMiLwZFEUNm/UHFjLkBSqunIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=andrew-cmu-edu.20150623.gappssmtp.com header.s=20150623 header.b=lASKAWqw; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -2.51 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=andrew-cmu-edu.20150623.gappssmtp.com header.s=20150623 header.b=lASKAWqw; dmarc=fail reason="SPF not aligned (relaxed), DKIM not aligned (relaxed)" header.from=andrew.cmu.edu (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 0BB301A54B X-Spam-Score: -2.51 X-Migadu-Scanner: scn0.migadu.com X-TUID: 5RBTiMje5ZND --000000000000ca958e05c750f731 Content-Type: text/plain; charset="UTF-8" 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 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 > > --000000000000ca958e05c750f731 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
It sounds like you use natbib/bibtex (citet/citep are natb= ib commands I think). In that case, my current understanding is that these = are the syntaxes for what you want, with the natbib exporter selected.
=
=C2=A0[cite:@key] =C2=A0-> \citep{key}

=C2=A0[cite/t:@key] = =C2=A0-> \citet{key}
<= br>
But, if you use the biblatex backend, these map to=C2=A0

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

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

There is not currently=C2=A0a way to get \citet and \citep with the biblat= ex backend.

John

--= ---------------------------------
Professor John Kitchin (he/him/his)Doherty Hall A207F
Department of Chemical Engineering
Carnegie Mello= n University
Pittsburgh, PA 15213
412-268-7803
<= /div>

On Sat, Jul 17, 2021 at 7:41 AM Vikas Rawal <vikasrawal@gmail.com> wrote:
<= blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-l= eft:1px solid rgb(204,204,204);padding-left:1ex">I have been a long time us= er 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 u= se are citet and citep (or parencite). These are used to produce the follow= ing 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

--000000000000ca958e05c750f731--