From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id UCIcJvMhtWCQMQEAgWs5BA (envelope-from ) for ; Mon, 31 May 2021 19:50:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QAKhIfMhtWC7YQAA1q6Kng (envelope-from ) for ; Mon, 31 May 2021 17:50: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 C7F3720D0B for ; Mon, 31 May 2021 19:50:42 +0200 (CEST) Received: from localhost ([::1]:42472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lnm3k-0001ea-9W for larch@yhetil.org; Mon, 31 May 2021 13:50:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39580) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lnm0P-0007IO-E7 for emacs-orgmode@gnu.org; Mon, 31 May 2021 13:47:13 -0400 Received: from mail-il1-x12f.google.com ([2607:f8b0:4864:20::12f]:46601) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lnm0N-0004qo-Nh for emacs-orgmode@gnu.org; Mon, 31 May 2021 13:47:13 -0400 Received: by mail-il1-x12f.google.com with SMTP id v13so4918395ilh.13 for ; Mon, 31 May 2021 10:47:11 -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=hEqko0XKOhrSYWmUW545nMA1y4ElU4HvwcyaGoEH3Ps=; b=EwM1IPO1hnc1HPFyhUkeMH0G4C5DJzDAJ9nXGzkRsHcSGzMcaF6J0O3x+KttOxH8p8 ahy995QkycxPdAi+YAs4MjrDpOXChn9zAolXOeloRM4lXl+aJM/3NUjJvzoi4C46tg/y fNiI3Ltr2JNzLaEEI1bicFyMOrpdO4YMajxMGxz4ZbFVixzaB9D9o6zKH0qkjP8fC0EW H2DgHleR8pYV+PsFIqGxAeHDYfm5MKV3EFsChRJ0GoLZ7ooBPFtaWfxMlHbRdi1dUibg RkzyUqafaBuY7DcYw6ZrwGpvfGLqDzFQx337eFQL3nip3KY1qdgn3hUuM4vwZAz5qEo6 TDog== 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=hEqko0XKOhrSYWmUW545nMA1y4ElU4HvwcyaGoEH3Ps=; b=Gw9ZgLVFSmHz8DG8ikXxK+AKceF5loNWEVGXNkUywGVvfm2iDYtTMqWg2IoZdWxgxc kkc+NgOIUnG7S8Bs0IupdKBVrHuNRg06XWS4Baekb9vovRo2HMjW6MbMZ3+NVwM5QOt1 JvsJr1cm40O8bHGv0sPP/qxT2YHtsQB6uiKY2aFAhCOLkyHE0ZvkrsV8TOI/x1z2RWvE 78TKByl8tj9VQ4LNkQJN4POdupBqgYV68b79BiTS0iJGXm7U6bBzPWQZs6yAI4C16vf/ Jn0BAlIdTsuF0eEO+duVuHoWNydENer0P3zTYEP0SLfGu5JUHggdEb+GTUIITQC9GH0s wFdQ== X-Gm-Message-State: AOAM531IiE7kOhrrRCQ7HE7xw9FtwOb65ocx3TzTD3KDbN2Alofim0OD tF8fCnPGKeQhOLfLT4B6n7lEX/e3U9Ht7/wCCkY= X-Google-Smtp-Source: ABdhPJyz/bFVP5IMWydACEZMxfyoXziVGIwC5yDkdjSUuXpffxeziOzRSv2kfiTU9gJ6zMQklBjHL0vlCuWClJxJO3M= X-Received: by 2002:a92:dc45:: with SMTP id x5mr16857988ilq.95.1622483230617; Mon, 31 May 2021 10:47:10 -0700 (PDT) MIME-Version: 1.0 References: <87y2c1dym9.fsf@nicolasgoaziou.fr> <875yz2c0r0.fsf@nicolasgoaziou.fr> <87fsy6n8d2.fsf@gmail.com> <87y2byaim4.fsf@nicolasgoaziou.fr> <877djin4qg.fsf@gmail.com> <87eedqahd6.fsf@nicolasgoaziou.fr> <874kemn3qt.fsf@gmail.com> <87y2by8x4p.fsf@nicolasgoaziou.fr> <87sg25zf0z.fsf@nicolasgoaziou.fr> In-Reply-To: <87sg25zf0z.fsf@nicolasgoaziou.fr> From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Mon, 31 May 2021 19:46:58 +0200 Message-ID: Subject: Re: [wip-cite-new] Initial implementation of `csl' citation processor To: "Bruce D'Arcus" , =?UTF-8?Q?Andr=C3=A1s_Simonyi?= , org-mode-email Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::12f; envelope-from=andras.simonyi@gmail.com; helo=mail-il1-x12f.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=1622483443; 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=hEqko0XKOhrSYWmUW545nMA1y4ElU4HvwcyaGoEH3Ps=; b=ujLmTCiOzpKZoCRXWb+bmWCVvEmdRbFjjpv7zbU/bYtAriZNAiUp5CVG7yLalJZGX2O89D yonKTn5H8i6qZx4EqNRiw+vi6HWkIh4t/EPxUAQgbCUL/7HnlRnoKwF1/Iof+nztkc3YTR 0+7zs1BX74QALLDE7TM+CT7UoZw4lv1f0R/hCGjylXeYqB5NnDAjb9f9WGmg9jQiAw6NCe Qg0xtRZrVoob+eQan3S5ysC4Xds3fDRp+MGNs3rBtU5aU/9PEE5E/oSCB3uepJiPt7lprl EckLm7Dy6lEW8X6b4CgiXNWvmUO0KAyHeZ6xtEuVOEhEF4ArcdCMP1IhfGJtAg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1622483443; a=rsa-sha256; cv=none; b=CrTp5Y4OWHa4WuKKOqjeRWXFTkzl3AfEJQv4LCWdEyBA65DSYBZlGEc+NPhtNpmLrr6BHO hvixBFAfWF3NUbAjzYU6Q4jMbreIcbeFEPMm1xlZ8S1Ip0JEqjUbz9M12JL5PF++cELWJT lXjsAzFdOVncrM+yZ0IZVAvoVWpxO2kVIsNQO5/P3SOd9fa2LX7dx09eY2Vg5V/GtNYk+j wMB42tPmwrgX/WdZUq0/b8++Gojm9l3gUC2ZHh+9w1k8NT7eHGw6PX4tPsnI98tfw6GD7J h4oGSwmairBrskKJdrVh/LGu08eyP3CL/1xKHv2zmXUWOr5KYqqAB672AMUMWA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=EwM1IPO1; 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.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=EwM1IPO1; 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: C7F3720D0B X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: p1vHXUkdyL5M Dear All, On Sat, 29 May 2021 at 18:22, Nicolas Goaziou wrot= e: > Here's another proposal: > > `org-cite-export-processor' is now an alist, where keys are export > back-ends or t, which is the default key. > > '((latex biblatex bibstyle citestyle) > (beamer natbib nil nil) > (my-latex natbib bibstyle) > (t csl nil nil)) > The selected processor is the one associated to the back-ends closest to > the current one used for export, by `org-export-derived-backend-p' > order. So if `my-other-latex' is derived from beamer, it will use > (natbib nil nil). This looks perfect. > OTOH, I suggest to stick to a single "cite_export" keyword, which > overrides any selected processor above. IOW > > #+cite_export: basic > > will use basic whatever the current export back-end is. > > In practice, I think it is sufficient. The only case where it may be > limiting is if you need to export with two different back-ends with two > processors different from those set in `org-cite-export-processor'. But > in that situation, I think swapping the cite_export keyword is > acceptable. > > So overall, I think it is a good compromise between simplicity and > power. > WDYT? I agree, can be revisited later if necessary, but seems to be a very strong starting point -- thanks. best regards, Andr=C3=A1s