From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 4ASIKeiSN2b6FgAA62LTzQ:P1 (envelope-from ) for ; Sun, 05 May 2024 16:08:40 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4ASIKeiSN2b6FgAA62LTzQ (envelope-from ) for ; Sun, 05 May 2024 16:08:40 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=IMJ2na6F; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1714918120; 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=S+WKbJ3veUEJKh4zOKcX6zrVLPSuX4rscO2NlPdLJ1s=; b=Ex0oi9rtUOOfy8o5GM3av2KRiDSZCaIlekcU/gAES1H5ERBHMxzUGzbsvhfZcIDpkzJFio rzt54Rc2btyghG/u7iuj/5C95OnqVghnIFfL5W1ak7/arel5g/u3Nw34a5/b+nt3PyWCLb EZ5M22kCWSTwC1hr1FzjVy33Lk8YafY40UyGltvUOJ/qSRwuXiVAT4cEmz+Tb2Nab1uCVy xU4DSXW9ZGv4va0q0hs/alVoCYPbD7UundnK5/tjsDCPGS4evd/5xwJ4b6FLavF3lbxzNX kQGqZEDLvHqiSWNsV2y1PFwtkMjolR1I4CuA0xBlQ+3m7zz/yyFp5daV1HnAKw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=IMJ2na6F; 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"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1714918120; a=rsa-sha256; cv=none; b=AbDfkp03An0V5zQgEiANdXdArzz7AzRMcZaW0SeBWm6zzU5x+Bn/WS90NSPemKZCYqJpjp Bo4y7J074LUn7MOuet4D1Cp596z1jtFW1Dq7j3uNhSbL1MgtGwcZxZRM+ioJHM3ymOWlbx S6JHyMRJgtBYhRDCEERGi0o0tDFzSrI1+mzqqkhzMkj+c6FfIbtfkRA2ZQh1NDiLnM1kG/ pA2rOKI92irmUN2TJwKpHRhyiPhRMa9aOqFNQMy4kzxhOSAcdwzEFMujNeWW2t0o7eoKbu 71230702ONd5OrkWtJW7Ja/vZSKNN9gwZsKi8WQt4jEEzXbsJk9ZacImJwv9dQ== 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 5F46714BDD for ; Sun, 5 May 2024 16:08:40 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3cX7-0007cA-1z; Sun, 05 May 2024 10:08:05 -0400 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 1s3cX1-0007OH-Mb for emacs-orgmode@gnu.org; Sun, 05 May 2024 10:08:02 -0400 Received: from mail-vs1-xe30.google.com ([2607:f8b0:4864:20::e30]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1s3cWv-0008Nm-Sf for emacs-orgmode@gnu.org; Sun, 05 May 2024 10:07:57 -0400 Received: by mail-vs1-xe30.google.com with SMTP id ada2fe7eead31-47eee2af758so1667904137.1 for ; Sun, 05 May 2024 07:07:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714918071; x=1715522871; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=S+WKbJ3veUEJKh4zOKcX6zrVLPSuX4rscO2NlPdLJ1s=; b=IMJ2na6FB4P2GLBINpMdRV8Fu7+1xju7vpRsHv1g3kpxqG5VOdnaUFiuraBEpTS+ej C8Os169gTM0rxMM77NzzFMVYZHLQ/EYbma2+DJLwqEP/PilUXMK7aiig417GGXoWXpsD aqohliyV0xXDfr2N9Q8BeyJNQyS+QGn1tgvOPpvEHbkrYo/RUUv1sXsk2dKrHmbhK9FH BZSHry14+xfDi1z7HsJ/Clx0hh1kiBufN3LwyMivzZJVLNEi0uH1HAbswwm8PUSxmT8d e/zF9ZzAxF0ZEASffCbzjXsrQ2ki/zxLvWVityMmXVvYu8qkcRBZkTn9y2WF3wmTvd7B 2cmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714918071; x=1715522871; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=S+WKbJ3veUEJKh4zOKcX6zrVLPSuX4rscO2NlPdLJ1s=; b=MnR8sKVCYLX05/J97r5Gn8fpfuXGdqST/iAFWE/6NjslmJal4K65oOLmlTx2QGznkK yfGhVt9FuCj707MZBXXAHy+NiH4l3Rt6gp5ZEGqqenxbzYExvJPEQvZwNt0s4ZwG1cxB fj9/cY7Ia6g3evKOoUf8UBBeY/FnxsCrY2dbO5HuX2LzmIlQciRedCIju+PqSGmM0W5W sb2oZnA/zkQdI4Cev53IaYOQfhhM2sIaKNYqmhWYoXCq24dJM5/6NYgaQz7JSQWLOzwx Wp+Wm5Rx8YLNtvexnlU4v+blsjG/uBZ07FHvpFQORuYRN6NW7lqG56mWI4N/tAt/FQPp N7PQ== X-Gm-Message-State: AOJu0Yxy0RLjBRus9CA1S9CfofcQHv1t5Nea+DzQ80txBMdSDuVM1bxG XONR3p8mf4giDY6CoAj2a1y6dFfV+RU1cb283M0eoSMu5TpBBPiRW8eKNJ6ruzYJOjynvfoWWn9 5GYqrUgD5PBFNp+/PVtKe9Q5jpQI= X-Google-Smtp-Source: AGHT+IHsIaVMHMfSmVMnQo7rSYZh1KY3l3bqfoANJmlyl36mBF+tboCS+5uDOJleIRFfp34WUA6UWR45yU7VCN8QPfY= X-Received: by 2002:a05:6102:2906:b0:47d:f6f2:70d1 with SMTP id cz6-20020a056102290600b0047df6f270d1mr18735682vsb.3.1714918069616; Sun, 05 May 2024 07:07:49 -0700 (PDT) MIME-Version: 1.0 References: <87cyq0tpz5.fsf@localhost> In-Reply-To: <87cyq0tpz5.fsf@localhost> From: =?UTF-8?Q?Andr=C3=A1s_Simonyi?= Date: Sun, 5 May 2024 16:07:38 +0200 Message-ID: Subject: Re: [PATCH] oc-csl: Remove spaces before citations in superscript To: Ihor Radchenko Cc: emacs-orgmode list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::e30; envelope-from=andras.simonyi@gmail.com; helo=mail-vs1-xe30.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.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-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -8.99 X-Spam-Score: -8.99 X-Migadu-Queue-Id: 5F46714BDD X-Migadu-Scanner: mx13.migadu.com X-TUID: CrGl263YjSzx Thanks Ihor, I have pushed it to main. best wishes, Andr=C3=A1s On Sun, 5 May 2024 at 14:13, Ihor Radchenko wrote: > > Andr=C3=A1s Simonyi writes: > > > there is a rather peculiar set of numeric citation styles (perhaps > > most famously, that of Nature's) which sets citation numbers in > > superscript -- similarly to footnote numbers, these citations should > > not have any space between them and the previous word. The attached > > patch checks during export whether a citation is produced by a CSL > > style belonging to this category and removes any leading space > > present. > > LGTM. > Feel free to push. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at