From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uDnxHBft8mCMegAAgWs5BA (envelope-from ) for ; Sat, 17 Jul 2021 16:45:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id SFysGBft8mCsBwAA1q6Kng (envelope-from ) for ; Sat, 17 Jul 2021 14:45:43 +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 E7FE515668 for ; Sat, 17 Jul 2021 16:45:42 +0200 (CEST) Received: from localhost ([::1]:53518 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m4lZV-000474-V7 for larch@yhetil.org; Sat, 17 Jul 2021 10:45:41 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37524) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m4lYl-00046w-Fz for emacs-orgmode@gnu.org; Sat, 17 Jul 2021 10:44:55 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:35760) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m4lYj-000238-L0 for emacs-orgmode@gnu.org; Sat, 17 Jul 2021 10:44:55 -0400 Received: by mail-wm1-x334.google.com with SMTP id m11-20020a05600c3b0bb0290228f19cb433so9946417wms.0 for ; Sat, 17 Jul 2021 07:44:52 -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; bh=HDjCe3a2bKUAGdnOJ/p1HDfAkKhfOGh3Wt/7UNW6EPo=; b=nTE9wE7AhyIrM5WCmRLVHOmewTNdb9mci1EuX2fNo+F8/hIZzmkTdCJKWqdYtmf0SX ZQJH4aOwvi3VgZLQbXL+yrFvps5ipPnKKZefD9CkflPGeW9hOm1bakLIw871o1JMOIQe pKe1FLgm0hax7fWm5X/h4S4+3dhF9wpz5FVjvHg9sa7AKtpXESBrM386beOF4eKnEejN drwDKHmxTwTSXIYFA9k6p4bamKSfsnHhHXTsl+zbcVo1azr42hleErHsvdEIVgyZi4xv E4qiUHKo+hqoYiJBdtOcla3XG3wA+4/TvJUtBC47N2yVJEZSiD073RIIHENLbDPtZLzg INFw== 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=HDjCe3a2bKUAGdnOJ/p1HDfAkKhfOGh3Wt/7UNW6EPo=; b=K+O4qO5QMoyKlc6O4K6vyY0xEiTnrFxOi+UjFINWZ13qft3DG0obPxS8N55pxwUGEc 7amZ7bvvA7W91eCHUzcxF31S+W/qllvZJ8V5N+6IeYltAcFyPvNSOAkO84b/4eL+WPK6 m540vUGmUkCgWhTUL9nkXbpBHsv1cmjYi62RHwDAnD4Bpi1+xYIaCeqzeTmDjJTt5+uT vaQzfpdkg7lszE4sy36yvu5idCVSiCj9PLskhYfsPSfvY25U7GidpMbbg9GMEZt/Kyp3 EKkH18mWSBIuYSbh9snUr4WDq1dnWW3dC+1w+E7TmkEXlu6yo6HcI3PPK5kCy7VZ2GwZ cCMw== X-Gm-Message-State: AOAM5303Fderou+P4fYf1dr+o4KUi9Nsbp8d9AVe6Z1AVvkWwUD2QohR owfS/B7EDB6pt908A+LmaK+W05HSybTNNfyVMWw= X-Google-Smtp-Source: ABdhPJzRzDncbFLPbZSojUjt/dhn+HNbg5mKL/isrxDBeNEM8GWBOnAJeirGu2bvhSfL5708JvFnTYNbaedSLONz2uo= X-Received: by 2002:a7b:c846:: with SMTP id c6mr16685195wml.92.1626533091594; Sat, 17 Jul 2021 07:44:51 -0700 (PDT) MIME-Version: 1.0 References: <20210717113533.v4sdts2r662zhmwb@dalkati> <20210717141605.2p6ja5awfm3qqda4@dalkati> In-Reply-To: <20210717141605.2p6ja5awfm3qqda4@dalkati> From: "Bruce D'Arcus" Date: Sat, 17 Jul 2021 10:44:41 -0400 Message-ID: Subject: Re: org-cite citation commands To: "Bruce D'Arcus" , John Kitchin , org-mode mailing list Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=bdarcus@gmail.com; helo=mail-wm1-x334.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=1626533143; 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=HDjCe3a2bKUAGdnOJ/p1HDfAkKhfOGh3Wt/7UNW6EPo=; b=WCHRETo5Zfi8GXvTAGFn64PmV+x3FapdJG/2q1l54O6AgsaKP0Ksh/D0o7YrEZrooGCyKw Rt78Re5vC22uMfvVex0Tm0t51/eQA+eNs06H0qKoXWPJXxbjPYFw0bm88imgvvpslHfvFW xhS9fk9h1zA39vL2rOet9++h4SLzxBCk2eer0tJEdEfAF/Tyhri1pk8blsDIDf3eyuWtO9 7ig4galpSoJCEJ38JwM1+1TEeqJt6BNMWKj9RsqauQR/rvnB7DEbs5N+Ma7OOJtyaA2AfH YWEKlOtwcRCmrbwHAfuy6rFcNZ7Dsmry1S4InbpYLVN+RK+EuuRNm89+d5hQ9A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1626533143; a=rsa-sha256; cv=none; b=CTRG7D0Elv6UZOCPpN9aUDZcEu22Ufjcdv2sbrmBqueKWTD3HaZq0JsD1lDj1wsxmTrld9 d7ij5exbzMpknHdZBvYqX/8UqkJrtd3TgnORbp873zObcJtT/vQB5yZ+dF4gqK9PCtIyAB lyopKwgMi38xdv6MM54JTsmJzSl5B4im3uHR03RboX7Y8KpoTt5u/UOQJ4zZzbIkrRuwNg cxKyMu+fN924rvODIGgcxt8fXPpnemF+GL3Frzexb36pVYem/+ZM1u/CGLSLlapCiXxpk0 SzgKwaBGwlA7uZg5qDOLBKCEmdq7jSfToX+GKpBnZxM9Bd6GGNfIV2Bwg6aXxQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=nTE9wE7A; 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=nTE9wE7A; 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: E7FE515668 X-Spam-Score: -3.11 X-Migadu-Scanner: scn0.migadu.com X-TUID: DgkB3Cw6livx On Sat, Jul 17, 2021 at 10:20 AM Vikas Rawal wrote: > Thanks, Bruce and John. Indeed, I used biblatex with natbib=true > option, which gives me citet and citep in biblatex. But using > \autocite and \textcite is perfect. > > I am noticing a few other issues at this stage. > > I have a large biblatex database, and loading it using C-c C-x @ to > insert citations seems very slow (have not managed to load it thus > far). Org-ref used to be much faster in this. org-cite works fine with > a smaller biblatex database. I don't know if others have had the same > experience. Give this a try: https://github.com/bdarcus/bibtex-actions#org-cite I hope to see similar "insert processors" for ivy-bibtex and helm-bibtex. Bottomline, it's trivial to replace that "basic" processor with much better options. See discussion on: https://github.com/jkitchin/org-ref/issues/885 > I understand that oc-biblatex.el loads biblatex in the background, > produces the citations and the bibliography, and inserts them in the > exported output. In that case, what are the possibilities of using > biblatex commands to configure the output? To be precise, you mean what are the options to configure the oc-biblatex export processor to use different or additional commands? ATM, I don't believe there are any, and the alternative is to write your own export processor, say basing it off the oc-biblatex one. What, specifically, do you need, that is not currently supported? The current processors are pretty comprehensive; see the note from Andras. When designing this sort of thing, you basically have a choice. You can just have styles that map directly to the output targets. This has an obvious advantage if you only ever use one target. But it has a major disadvantage if you want to use others. So the approach we took here is to design a common set of styles and substyles, and then map to output formats from there. The result is the citations are more-or-less export format agnostic. > I realise that these will > not work since most of it would be LaTeX specific. Does that mean the > users will have to work with CSL styles to format the output even if > they are using oc-biblatex.el? I am still somewhat confused about how > this is going to work. CSL styles are analogous to BST files in bibtex; you use those with oc-csl. When using that, citeproc-el handles the output processing, including for latex. Basically, if you want consistent output formatting across latex and other targets like HTML or OpenDocument, you want to use oc-csl. Give it a try. Note, though, that citeproc-el does not currently support cite/t or some others, but that should be coming "soon". HTH; let me know if anything is unclear. Bruce