From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 2MflOH3h8mD/YgAAgWs5BA (envelope-from ) for ; Sat, 17 Jul 2021 15:56:13 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +HObNH3h8mBDGwAAB5/wlQ (envelope-from ) for ; Sat, 17 Jul 2021 13:56:13 +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 5773214D47 for ; Sat, 17 Jul 2021 15:56:13 +0200 (CEST) Received: from localhost ([::1]:36304 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4knc-0006gA-Dw for larch@yhetil.org; Sat, 17 Jul 2021 09:56:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4kn0-0006fY-E4 for emacs-orgmode@gnu.org; Sat, 17 Jul 2021 09:55:34 -0400 Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:34503) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4kmx-000079-K4 for emacs-orgmode@gnu.org; Sat, 17 Jul 2021 09:55:34 -0400 Received: by mail-wr1-x434.google.com with SMTP id u1so15446179wrs.1 for ; Sat, 17 Jul 2021 06:55:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :content-transfer-encoding; bh=TJizXytnHPTUx1slPMfaztIqgJQkJbw+phqt8CqkTvg=; b=Fv5tnh5Ns9v0/L4FFXw5IQvG4Wj56ACzad4pHDRHOkwDZJHhEVfRNvErSpTFuwq5Ti 2vQSeHKlF1+/GjOWZlJub5ng+pD9+UTznUeYtvYpKM7aKaP0BjQs9zzkvgphWrhMuDKc w2gRkk64/EDKct5xQ0OdHWsZ4AJYwjM5gxR665Gg2HFWP/A4CW5HUmEmlDgQY9tOSIHE Zd72ILg9RaYiJh19nvoZiA0ToBxf5b6W0tl5pmNbZJRLuCMo7A8dy/z4/nCujHVaPXOz RarxoRr3zfcrF6xCAAGaQDwjzlXe7B1EP3nvnxv/Y04VKN4/aHRkKxMi3qD7i2XDte+l DnFQ== 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:content-transfer-encoding; bh=TJizXytnHPTUx1slPMfaztIqgJQkJbw+phqt8CqkTvg=; b=onydm9LEiqXxevOZL8E3OwW4HB03d6j4aGSA5R09iHI5wMLLua9kWnSmI+Vx3ncxVA yIUAVV4WPvnp2a+CgqN1c7r+xPLMyQhVo/eAjRqD66TbwGSnMVcTWyFWT7sgaV5YkYHy 8AnTvlNxEp/uBm66J4eXr2GBRBuZ2bs6iyhMfWxWSb7e+AyNpGCOhUIxuPK1yFvV8Jlu CcNIFO8F7nx5y5Mh8Pw9u3TigPP99s7MtUeZMspXKBHQ9yosDnMIEJ+hroyQW1hLe+D/ LefgB94RkhRvbCX5pw5ub3d/nF5Daau0u0Y/482XCME48o77cC3h5lLlTRqfwg2I4S0i YUnA== X-Gm-Message-State: AOAM5329pXY5unh2IqtUMgYXVVkp6eTc0DD0FnbijTZ+go10GdO3LZrx rcT/k2o4JmiWK35evTy90kWBalpVddU3Lye3E0LIGP43YwjiEQ== X-Google-Smtp-Source: ABdhPJxVMTLEs86kpLv+jh03IFwTejgiXnSlBy44cqc2QYsFlngAcdWY3OfGqf85SaHYuaVIve/u4oqBfM6p/vRFdEw= X-Received: by 2002:a5d:4ac6:: with SMTP id y6mr18773042wrs.347.1626530129541; Sat, 17 Jul 2021 06:55:29 -0700 (PDT) MIME-Version: 1.0 References: <20210717113533.v4sdts2r662zhmwb@dalkati> In-Reply-To: <20210717113533.v4sdts2r662zhmwb@dalkati> From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Sat, 17 Jul 2021 15:55:18 +0200 Message-ID: Subject: Re: org-cite citation commands To: org-mode mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=andras.simonyi@gmail.com; helo=mail-wr1-x434.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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=1626530173; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=TJizXytnHPTUx1slPMfaztIqgJQkJbw+phqt8CqkTvg=; b=s1DX93TblgoKvD0WqmL3JoGdNsXa1JSdTtk3sHN8KKzZzyxCQtTg2GIjy9obF1iBcUY07A jVpZPfCb9jECR996fpx58Yrd/4lTY8f9CaRczma2AyZWa2m909QJRQz1UCL/td3OFgzX4M 93FnPxIuXp3d0JtxYunnkPwROwc5b/zzsNeTu3HM2RvfOQQP21OaNetM3nm8bqZbQ49pk+ Y6ZhacsMS7RppSY78viVT6k/4fo/RoGBDMoL28oXgbaBlLDauKHhNHeuP8Y9/QGSW+8EWo Q72yIK4+b8jIwx2Igjhiabg3VsadC+xExHyHTS2OoKAgHzTYfGqpQPkd6WuScQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626530173; a=rsa-sha256; cv=none; b=rx651ZLraU21B6p6yS9CgU3uJVxtQo7ujUkkaSgvq0lPNJYbJt1W7oCoRjidg5SFLVpcXX AR8pcGoFU3eGYoZU8G9seCP7USFN5Dz4moCGYjSb8Jz6tsWPFJfVLYHnBR9ocYm17UdLrz 0j10q9X3BD0wbk5MZRowFh6w/z8yVunCIDZ+STqdz13i0loMt8aDaoIaw/8s6p+iDtIa9h 7nzbywCn9zKtDycPtMjmY1/GxgZfnFQYoFvFytikk+vwwC3RN281RAFT1uXR8kRB54t9GS HAnSE4GhbUbrE+3cK1U1BJYdT5fUDhBG5XwFyIgcro4jhTgknJEpUzxDKeOSkg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Fv5tnh5N; dmarc=pass (policy=none) header.from=gmail.com; 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: -3.11 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Fv5tnh5N; dmarc=pass (policy=none) header.from=gmail.com; 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: 5773214D47 X-Spam-Score: -3.11 X-Migadu-Scanner: scn1.migadu.com X-TUID: G/Mh92X8a2N4 Dear Vikas, the CSL-based processor is in a bit of a flux in this respect, but as for the natbib and biblatex processors I've extracted these correspondences from the oc source code, which you might find useful. (With the exception of the first, "fully nil" styles, one always has to use the "/" separator between "cite" and the listed combinations, for the default styles this means a double slash, e.g., [cite//b@key] leads to \citealp{key} using the natbib processor. * Natbib ;; default style. --> \citep / [bare|b] --> \citealp / [caps|c] --> \Citep / [full|f] --> \citep* / [bare-caps|bc] --> \Citealp / [bare-full|bf] --> \citealp* / [caps-full|cf] --> \Citep* / [bare-caps-full|bcf] --> \Citealp* ;; author style. [author|a] / [caps|c] --> \Citeauthor [author|a] / [full|f] --> \citeauthor* [author|a] --> \citeauthor ;; noauthor style [noauthor|na] / [bare|b] --> \citeyear [noauthor|na] --> \citeyearpar ;; nocite style. [nocite|n] --> \nocite ;; text style. [text|t] / [bare|b] --> \citealt [text|t] / [caps|c] --> \Citet [text|t] / [full|f] --> \citet* [text|t] / [bare-caps|bc] --> \Citealt [text|t] / [bare-full|bf] --> \citealt* [text|t] / [caps-full|cf] --> \Citet* [text|t] / [bare-caps-full|bcf] --> \Citealt* [text|t] --> \citet * biblatex ;; Default nil style. --> autocite / [bare|b] --> cite / [caps|c] --> Autocite / [bare-caps|b] --> Cite ;; author style. [author|a] / [caps|c]) --> Citeauthor* [author|a] / [full|f]) --> citeauthor [author|a] / [caps-full|cf] --> Citeauthor [author|a] --> citeauthor* ;; locators style. [locators|l] / [bare|b] --> notecite [locators|l] / [caps|c] --> Pnotecite [locators|l] / [bare-caps|bc] --> Notecite [locators|l] --> pnotecite ;; noauthor style. [noauthor|na] --> autocite* ;; nocite style. [nocite|n] --> nocite ;; text style. [text|t] / [caps|c]) --> Textcite [text|t] --> textcite best regards, Andr=C3=A1s On Sat, 17 Jul 2021 at 13:41, 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 somethi= ng 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 foll= owing 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 fo= r getting these kinds of output? > > Apologies if this is a naive or a premature question. > > Many thanks to everyone. > > Vikas >