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 sPjZDonAxWC+ZwAAgWs5BA (envelope-from ) for ; Sun, 13 Jun 2021 10:23:37 +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 eLmHConAxWANewAAbx9fmQ (envelope-from ) for ; Sun, 13 Jun 2021 08:23:37 +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 59B6F13D9D for ; Sun, 13 Jun 2021 10:23:36 +0200 (CEST) Received: from localhost ([::1]:49320 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsLP4-0000a0-Rp for larch@yhetil.org; Sun, 13 Jun 2021 04:23:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52910) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsLOf-0000Zg-E2 for emacs-orgmode@gnu.org; Sun, 13 Jun 2021 04:23:09 -0400 Received: from mout-p-202.mailbox.org ([80.241.56.172]:40772) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lsLOc-0005xC-Tf for emacs-orgmode@gnu.org; Sun, 13 Jun 2021 04:23:09 -0400 Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:105:465:1:2:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-202.mailbox.org (Postfix) with ESMTPS id 4G2ndd2pkdzQk9V; Sun, 13 Jun 2021 10:23:01 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:mime-version :subject:subject:references:in-reply-to:message-id:from:from :date:date:received; s=mail20150812; t=1623572578; bh=v7vo7UQj/M UFqGU8qOfoQSKuj3+HiPYLcPlcrZUBJXg=; b=BKMP9FTilE/zuyKTqrj0vcdCXS wq9Ozy+bfCZCrhf8MRUTQNzETt26UCKsHyPRXSaaW0HKJTgZsdaLxJ6soEDMVFl+ 3LA6GuOIEWJ5MBPLt+LrIswjiReibQCEp+A+Q/pD5x94TpXwdWf40CF6kRqUQ8+S SgKQa3aK+KbcjRLiUDvrATzJM1Q8EZCuVxf515EwLO3cLhs3PdTllw/Qmtn28YZZ UGVUVsRY5MOw6BrADGttsSrh0IOiZTvweU1Fioq0bucuNmS4yEJaQ2vmVDAI6w3Q 88x2eP4OtPnclJVeaq7BaGCXF1gdcjI9TR5Nmm16NXreyGARopiBaepLomPg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1623572579; h=from:from: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; bh=awjtdi2LBkrpj5aAQvrDBVWbQIcdwJRTTUNbUIruJII=; b=DnkWwZlUFSqixIaE/0QO284ivIw5eL/YSO3iAekvfsdYHeqWPVboQCwX5Cg3CD+123nwNy SpkLtKfu4Bd27L7mU8Gm9Jg3Akl6bgOcJwHQs/Y3KZN+I6Q3T6jy6UY9axqbiop8RU+TXu 3KaPhUSNvdKfpgUZCkCx8YQRald8vJ1Zz3G5YliwalW50DEV91w048luVqlfAn9HkkzPFN 7+1wgfHhu8jemSSLXzryOQ1mux+/iRPkxFlRtSGsXjHeJ8fRRqArvANpYRoe61A3Voj/WM FIyT/4nSwwBHEvRMA/ZuUvYX0lYjA106Mm+ng3px3QHrLG4m7gweSa+EWVg3cg== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp2.mailbox.org ([80.241.60.241]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id w0ZOEtDHglZd; Sun, 13 Jun 2021 10:22:58 +0200 (CEST) Date: Sun, 13 Jun 2021 10:22:57 +0200 (CEST) From: Denis Maier To: Nicolas Goaziou , Bruce D'Arcus Cc: Org Mode List Message-ID: <1948104922.85494.1623572577739@office.mailbox.org> In-Reply-To: <87fsxmrb8n.fsf@nicolasgoaziou.fr> References: <871raawc7j.fsf@nicolasgoaziou.fr> <4dd47d8d-5dd8-4769-7e2f-eb3438ba0b4a@mailbox.org> <87sg2orz0z.fsf@nicolasgoaziou.fr> <81051f87-a90e-56ed-7867-d6179ec1e9ad@mailbox.org> <139ff81d-4af6-1e75-f4c9-416032fc514f@mailbox.org> <87h7icatav.fsf@nicolasgoaziou.fr> <952cbae3-496c-acea-4ff1-beb9c3306979@mailbox.org> <87zgvvtoay.fsf@nicolasgoaziou.fr> <87fsxmrb8n.fsf@nicolasgoaziou.fr> Subject: Re: [wip-cite-new] Adjust punctuation around citations MIME-Version: 1.0 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Priority: 3 Importance: Normal X-MBO-SPAM-Probability: ** X-Rspamd-Score: 1.72 / 15.00 / 15.00 X-Rspamd-Queue-Id: 5DF4E1824 X-Rspamd-UID: aae376 Received-SPF: pass client-ip=80.241.56.172; envelope-from=denismaier@mailbox.org; helo=mout-p-202.mailbox.org X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 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, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, 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=1623572616; 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=awjtdi2LBkrpj5aAQvrDBVWbQIcdwJRTTUNbUIruJII=; b=YMbAPgDld6kT2jJgjdH1vV2C+AgloFcoBx8cftXH/woPKcNVWhFtR0V6gcoNOtX+bUV6UE rAI+oIdo6KZc6a8fOyVU0SJ0LFpR0J6y8mJSYpXaGRbIy4fvBSRmrCR0BxQw2+vThc2bMQ hFjTSKlUt7vzWKkiRT0W+KTjRNdU5Q2/ZEXbyjYJcLGTHK5uGZ4KKFwKkVQfOk5EIvUlfu ItqzNIrwEhBPdmBVw4FYQgc44QgjvaJERy/nA8xeDIL5PpVyGDfuDFLZLBsxxiNH/ZfUV5 9i2byM7ff0ElK2FaTaoTtF85B4lOYykHqx9iiQdbEJDQngfn8uEKXujA5Bp/uA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623572616; a=rsa-sha256; cv=none; b=WBZiSRYWKJYy7ZV3La+3WFay1D3tftO1JjC/BtEIubZkUzZlI1SlZ/cpqjKT9CEq9pGOCf 60jpi/8nProrYg/6gurZOiImM0byVxjDBeNe/Q8oAv7Mil6GeATUrWc1WUcDoqEKp25FWu 1bp07mIL8wvoArKzFp+4M5hhi/Z4UI8rHGIUsckGGHXMX0hPMX6RdbXsUkGCeMSl7uQBlT cjrrfy9QpheZ7RFOFTOhy/aWXnnCkVMjyrqBoQhXPqBOhB0ATRofp8U3DDScTrYH989ZKa JsbD7qSqmOWO2KcMfOmNcbE/dyTc5QP3Oag5XMSQ2T1CERNO2cqtldJYS6fOig== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=BKMP9FTi; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=DnkWwZlU; dmarc=pass (policy=reject) header.from=mailbox.org; 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: -1.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=BKMP9FTi; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=DnkWwZlU; dmarc=pass (policy=reject) header.from=mailbox.org; 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: 59B6F13D9D X-Spam-Score: -1.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: bhno9cfmnTa2
Hi Nicolas,
thanks for all your work on this. I've been busy lately, but I'll try to test ASAP. (Might take a few though, just to list you know.)
Denis
Nicolas Goaziou <mail@nicolasgoaziou.fr> hat am 13.06.2021 00:04 geschrieben:


Hello,

"Bruce D'Arcus" <bdarcus@gmail.com> writes:

>> - I'm not sure about the `org-cite-punctuation-marks' variable being
>> global, i.e., not locale-specific.
>
One of the things I've wondered about, but cannot offer any expertise
on (really, I have no clue), is how this might work for languages like
Arabic or Mandarin.
Of course, different punctuation marks exist, so characters are at least
locale-dependant. But I don't know if the set is entirely determined by
the locale or if it also depends on the "style" of the document.

>> - There is no support for this in LaTeX-derived back-ends, because
>> I don't know when a citation is going to become a footnote. As
>> a reminder, there is no "\footcite" command in `biblatex' processor.
>> OTOH, users might prefer using a more advanced mechanism, e.g.,
>> csquotes.
>
So the upshot is if users want this functionality for LaTeX/PDF, they
should use oc-biblatex for that export target?
Actually, that's the opposite. I don't know if it is possible, or even
appropriate, to port that feature to `biblatex' and `natbib' processors.
So, ATM, if you want it, and target LaTeX/PDF, your only option is
`csl'.

>> - It doesn't do anything special in quote blocks, because I'm still not
>> sure there is something to do. AFAIU, special casing there only
>> applies to author-date location, which out of the scope of this code.
>
Here's the scenario I believe Denis was concerned about:
#+begin_quote
... block with citation at end. [cite:@doe]
#+end_quote
I think in standard author-year styles, we'd want:
... block with citation at end. (Doe, 2020)
... while in note-based and "US" (space removed):
... block with citation at end.[1]
Not sure if that has any practical import, but just to clarify.
I understand this, but, AFAICT, this is the output we get already. So
I don't think there is anything to do.

Thank you for the feedback.

Regards,
--
Nicolas Goaziou