From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oXbjI3kvxWBk9wAAgWs5BA (envelope-from ) for ; Sun, 13 Jun 2021 00:04:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id IFeDHnkvxWA3UAAA1q6Kng (envelope-from ) for ; Sat, 12 Jun 2021 22:04:41 +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 0440CB4DE for ; Sun, 13 Jun 2021 00:04:41 +0200 (CEST) Received: from localhost ([::1]:40100 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsBk7-0006P6-5w for larch@yhetil.org; Sat, 12 Jun 2021 18:04:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38072) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsBjk-0006Ou-CS for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 18:04:16 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:41961) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsBjh-0002lY-Va for emacs-orgmode@gnu.org; Sat, 12 Jun 2021 18:04:15 -0400 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A22DF60004; Sat, 12 Jun 2021 22:04:09 +0000 (UTC) From: Nicolas Goaziou To: "Bruce D'Arcus" Subject: Re: [wip-cite-new] Adjust punctuation around citations 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> Mail-Followup-To: "Bruce D'Arcus" , Denis Maier , Org Mode List Date: Sun, 13 Jun 2021 00:04:08 +0200 In-Reply-To: (Bruce D'Arcus's message of "Sat, 12 Jun 2021 17:41:02 -0400") Message-ID: <87fsxmrb8n.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.183.195; envelope-from=mail@nicolasgoaziou.fr; helo=relay3-d.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Org Mode List , Denis Maier 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=1623535481; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=uShICKJfB8dcE7XqcSlS6c/IIWpGxnFgD4BEYItDyKE=; b=APFAdH5btDIGx4DiqGB+IGx4RU8VOCe84Qv+RygBp9DWttdpo/GZmg6Sm5+VqCuYDTq0Uj 4cEMfMeU6uZtw13xqEydb3C+RJbimqRRicqIFAiP4VDqSiB5PqWqJpx2DT5mAuvOKRqU3D tZDE/b+6VY0DgCHD0sL9waaBK8CrWLlOEL4IOt9FedQjcJB1kEp3EZJt5dghmPi5sMVyb1 gROW4PcO+qxq4+ebpQcPG703IiEz+tZi5voESMjyblf+JONvB8ytFdLDCbTqxsbSoHKdFh qGrur708aq827ac9z2Mj5S1J2xjwz3znQxiKoHCpM22G+MTHmCsbVVDoCCNavg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623535481; a=rsa-sha256; cv=none; b=UkrLRtFdN/y2bNBG3N271Pukie8GvCPEVY2gGtHGtTynSrbrx1/U+ybJUgHw8P8kQEWwDz BDFnNN6IAYKLOaJXhWcGc+75IU4zsdBKtDb/0kb3nCYFjKSE+4B6ppVUS7wVqQ2M6dvE0/ dZ47056qQRmznh4dq5XERujMLeGHGJA3f0JvKolVTsl0L6H6+gujy9Z8NrN+4TT7MkCC5F 7AfxUJhwjSBDoBtFHwG9uttxBSBjMGdGgpQOFCjW7TZk8cL276WsyoMiU1/1pKIghGoaQq Li5qlS3R2+O6jHuSmeEj5s/j2xrBDCCOPEz6K3XqUqnqg/8DKeW87KEpMTEkog== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; 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: -0.93 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 0440CB4DE X-Spam-Score: -0.93 X-Migadu-Scanner: scn0.migadu.com X-TUID: XOmfh54WbyaN Hello, "Bruce D'Arcus" 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