From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id mP30Bjrt8mCSegAAgWs5BA (envelope-from ) for ; Sat, 17 Jul 2021 16:46:18 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id 2P6UAjrt8mDhOwAAbx9fmQ (envelope-from ) for ; Sat, 17 Jul 2021 14:46:18 +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 665F11BAEC for ; Sat, 17 Jul 2021 16:46:17 +0200 (CEST) Received: from localhost ([::1]:54004 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4la4-0004Sk-Du for larch@yhetil.org; Sat, 17 Jul 2021 10:46:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37560) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4lYy-0004Qi-Lt for emacs-orgmode@gnu.org; Sat, 17 Jul 2021 10:45:08 -0400 Received: from mail-pl1-x62f.google.com ([2607:f8b0:4864:20::62f]:41878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4lYx-0002Cx-6T for emacs-orgmode@gnu.org; Sat, 17 Jul 2021 10:45:08 -0400 Received: by mail-pl1-x62f.google.com with SMTP id e14so4125142plh.8 for ; Sat, 17 Jul 2021 07:45:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:mail-followup-to:organisation :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to; bh=bK5fIHmDIDsjZow/lEZhVdUNsYteJUnI1FiafwA+xYU=; b=i11erB3ktEhfTxR1wrGRIml9Uz7dzDFtBypDKHpVBk8KkPF7TI+a9r8VmWJDOL1Gay K1xWxyVvFUz3XD0Suc+Gnytbola9aTwwr1nT0idc1mkBtkjgiyCZnXIir0RgvUspILxZ tevO9JwytShyKasgLPJZWKXVXv+hjn1t6FHvX2p6zED52AfrB/Wsl+ePz3n8ovhmi76x IuhWP8nLCiU8bRPqaepzc7tKBxQE9B9iJUw99sJoewcBBRWIGUJQpUDZenPNWoNveVYv QaZj8T+SKvRUDBX62mg4PuqCo7RE9KTKDV6nh3eMPywEgQ7BvoKpyXpo3JntjhsMnWzv zoew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id :mail-followup-to:organisation:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=bK5fIHmDIDsjZow/lEZhVdUNsYteJUnI1FiafwA+xYU=; b=KKYmP87SCfAqzbUbN1Yzn5Fdt5bhnZ7f5uQhdrw4bJ44eQwAXCPJNGfFaY38tJjzfU VqqzbiUW25d3UT+jEZ70mKZiWqARzLMEzzCsmVL4EzhhoBFhCOwZVSRR/gT/GDFEgSuK vDhkalq/qw9k4m7zzrTGGTmoe5N5TMDj3VaGs38akM2scCCxrLmMcXfjAMl/TiR3Aybc jdIE8VK95oqAbR+LN2eBmUuMzp/YIbCwdKVePYU3ME9wl1L0bvymu6lCjJoTFy0iOmDk Efz0jUJAKt4cYlwoduoiFuYRL0XF/SJD/5g/fRihkMXjQK3PzNGhoHK1uAaKTMglnXxn Nk7Q== X-Gm-Message-State: AOAM532ZVOXkqedYuWqOjx1NFJQhihcpzrNPdhxIdlOd84S9qnrKXtkc 4hbzNtnWBMP98wZDo/c/1/Y= X-Google-Smtp-Source: ABdhPJzfmGlfRIEKn2xJEBGud4hKQmG8Bv6lAWaw6QCkVcXwNmOgWY5RhPmmor/Jwa9fdLckD6erfQ== X-Received: by 2002:a17:903:22ca:b029:129:c9cd:a3ce with SMTP id y10-20020a17090322cab0290129c9cda3cemr4218937plg.36.1626533105775; Sat, 17 Jul 2021 07:45:05 -0700 (PDT) Received: from localhost ([103.49.227.26]) by smtp.gmail.com with ESMTPSA id 2sm14338505pji.14.2021.07.17.07.45.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 17 Jul 2021 07:45:04 -0700 (PDT) From: Vikas Rawal X-Google-Original-From: Vikas Rawal Date: Sat, 17 Jul 2021 20:14:23 +0530 To: =?utf-8?Q?Andr=C3=A1s?= Simonyi Subject: Re: org-cite citation commands Message-ID: <20210717144423.akkhwpr3d7kjwkwq@dalkati> Mail-Followup-To: =?utf-8?Q?Andr=C3=A1s?= Simonyi , org-mode mailing list Organisation: CESP, Jawaharlal Nehru University, New Delhi References: <20210717113533.v4sdts2r662zhmwb@dalkati> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::62f; envelope-from=vikasrawal@gmail.com; helo=mail-pl1-x62f.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: , Cc: org-mode mailing list 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=1626533177; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=bK5fIHmDIDsjZow/lEZhVdUNsYteJUnI1FiafwA+xYU=; b=ODBEtS4xlkKSyjUyuZzJyuc87SU5iD25fH4LM4wHFefkO30D+VPRtx/DiGhDX3E7nhITrL PgZ4h1/4HNRvv4XuIrSBt2cwqCEveEoEI+DeJyI1DF5+njXETMkCpQHrH5xGb1wg6WgllC WJ0zh/UkUksKBkduHETRt0cuIlropc2nJBsVbiZoatqWPZPON+z8InCWYFq1XRxGqt1q52 I38I+1aP1+kI5R9Uhu6mMG/w2HDBOrol0zzuv7z2xg2Fvw42g4LIjtULs5iavaoFhlpsn9 OJPZGg92OtkpLV3nwE0aR1v1jh9bcAgH3G6VmKWLU1Omgldpb4YFHz8yFBDl1w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626533177; a=rsa-sha256; cv=none; b=hSYv3qUW/bXBTtzbzxn0dXHQ5+1ck/sFe7JVtzMj0WOWrNuPZQk7BOSWbqKbPd/mYvXFc8 wqRGF7mnya0bkK5Qnrn9fzmadNSp1C3Z3rIfk5Q/MXpT6nd0lB5Fyp0yOzMeCR0PVfqy4i UjzPdlRc3wHNl7H0pegUAc6QrJCre45egfdAq+gjQBBFhsLGtxQNlt16CY4T1SnEgMQWhd s7HELTqU45yMcrbAPzJhz7EvF6vRptN7eqqeoSDpCwD97DatX9KnV3/IeCnPGT4BuHHIPN 325TIOuiRKmtGpLc24z+nJadfPUCaqYhaVO6MHHnRu1c5yCsSYPVCKu8NSgJsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=i11erB3k; 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.61 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=i11erB3k; 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: 665F11BAEC X-Spam-Score: -2.61 X-Migadu-Scanner: scn0.migadu.com X-TUID: KVEJ82ln+RaF Thanks. This is very useful. Vikas On Sat, Jul 17, 2021 at 03:55:18PM +0200, András Simonyi wrote: > 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ás > > > 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 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 > > >