From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id KIpEGJAWyWOHMQAAbAwnHQ (envelope-from ) for ; Thu, 19 Jan 2023 11:08:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sIEfGJAWyWPXfQAAauVa8A (envelope-from ) for ; Thu, 19 Jan 2023 11:08:16 +0100 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 D57511680C for ; Thu, 19 Jan 2023 11:08:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pIRgt-00005G-3Z; Thu, 19 Jan 2023 04:58:39 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIRgo-0008Vt-2W for emacs-orgmode@gnu.org; Thu, 19 Jan 2023 04:58:34 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pIRgm-0003vl-Aq for emacs-orgmode@gnu.org; Thu, 19 Jan 2023 04:58:33 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6DDCA24073C for ; Thu, 19 Jan 2023 10:58:30 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674122310; bh=MKxs/iVMlLbNQ5OFmnKZ+870WqMbnL5PUMC7FarGgAc=; h=From:To:Cc:Subject:Date:From; b=ka631IZVKZCm9e8xFO8hn5DbWDrjS+Rmzfm/j3vs3FRFLGMV+GXm1mA5qjnd6MqAN 1DnKZUApoiqJ0DJfXrdKjISPtWoMWxh+hOUWIHoyRIifuhCvFlcuD1fUCt/y6H7C9z RWrGi5H11qSZUaPHilgJj+Q7GeH8arLbyFNnFEiOJLFVL0jCUKnb8qMVbb6yXlTbXx E6WDyz1lCIHSClM7FH+gux8zt/8nZe0CHVrRDQ+SeKJaMRmxwjMPNUkRg68ZpBRhRO NIo3T6UlVvguMIYc05u49Uf9RlRmYEL7Fn2Atv0QqDZPxzd4xV0QaXOKTuxabvrR5u VFZfz0XSbnHAQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NyJ3n1y0dz9rxS; Thu, 19 Jan 2023 10:58:29 +0100 (CET) From: Ihor Radchenko To: =?utf-8?Q?Andr=C3=A1s?= Simonyi Cc: emacs-orgmode@gnu.org Subject: Re: [PATCH][oc-csl] Improve reference parsing In-Reply-To: References: <87r0ytoqi6.fsf@localhost> <87k04dlvie.fsf@localhost> <87zgd87di9.fsf@localhost> <87zgauqzb8.fsf@guelker.eu> <87ilh889bz.fsf@localhost> <87wn5isz00.fsf@guelker.eu> Date: Thu, 19 Jan 2023 09:59:00 +0000 Message-ID: <87edrq6e1n.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, 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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674122896; a=rsa-sha256; cv=none; b=qcoIe2fYTkmjUI/5bLK42VzFoOUGwlOghh8xyI7mqI1PbtwETzEOYAgvuaQI//gYeXT58H QKmomsxqmlrksg95FB71HeGtGf2J/GCNekwael/UosComMNuUuDPgUK2u6n90EDG+YdUSK k/PJavaORC1w89LBe2282jOCeM/kLgvNkQlgr+21Ks+U9JceAht9IECO7LieWNVDSSq7TE 5JFI5cbxkZ1cJ0GsI5oDwDdqx/a7edibtysCFE9dFRHg3/3rT94Clzkg5NrmOqUmP3eqWD NiUPrQGF6e9FOWm5w/9jrGbwi5ca6+NQNK4SGLjLu7fUEwgzz1PAxfh172loNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ka631IZV; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674122896; 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=dH2LMRiR7tvEB4Sx036U2RAokGl0ge6kf8Y0gwhuWEs=; b=abdK45Ngomyv/wkdfTHMC2b2V/Ly6YpzYvolRRGq1Q5KPimPQPllEWQ2g/qoN7NratbWZQ YBcCpZSpzKkwJGb6TUGBBwQCE1N4G4jb1iNucBcnPUKmCycohwJy2hNsbGFD03X6cRNwwS 6VHwO4m3z9hQvbpZaY4/vJC1wKHNdgmZSZbxZ10vm8ng+QCVbHoVKl1OUEoQKBQjsTJzp5 0iQvohU/nGGv7IW+AyoFV/huEDENSz7ae7xdN4siykXyE2qWpaFpTxIFZxGOE9ICpXbwsc aNyer98lOij7YraIzLgW0ZPnedpeLFx+/jarirswiWtqJzJ29d7aP9QKtX2nRQ== X-Spam-Score: -7.68 X-Migadu-Queue-Id: D57511680C Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ka631IZV; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -7.68 X-TUID: Q9H7kN46ssNE Andr=C3=A1s Simonyi writes: > In that case your macro could be along the lines of > > #+MACRO: name @@csl:$1@@ > > and -- assuming the custom export backend approach I proposed in the > patch -- we would only need to make sure that the inline @@csl export > snippets are exported as is by this "csl" backend. I think it could be a good option. Especially if the macro also provides a good fallback for non-CSL citation backends. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at