From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wJ6iOmo4nmB3hgEAgWs5BA (envelope-from ) for ; Fri, 14 May 2021 10:44:26 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id EFZANmo4nmB4LQAAB5/wlQ (envelope-from ) for ; Fri, 14 May 2021 08:44:26 +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 72B3124138 for ; Fri, 14 May 2021 10:44:26 +0200 (CEST) Received: from localhost ([::1]:34496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lhTQn-00027X-3S for larch@yhetil.org; Fri, 14 May 2021 04:44:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34550) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lhTP9-00027O-6g for emacs-orgmode@gnu.org; Fri, 14 May 2021 04:42:43 -0400 Received: from mout-p-201.mailbox.org ([2001:67c:2050::465:201]:39710) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1lhTP2-0002fz-7G for emacs-orgmode@gnu.org; Fri, 14 May 2021 04:42:42 -0400 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1: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-201.mailbox.org (Postfix) with ESMTPS id 4FhMTz3GVczQjx4; Fri, 14 May 2021 10:42:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=mailbox.org; h= content-transfer-encoding:content-type:content-type:in-reply-to :mime-version:date:date:message-id:from:from:references:subject :subject:received; s=mail20150812; t=1620981748; bh=ocwPgNpZVTNl 7HbjJhKx1QDiRa6NulhYPM3JpE8ItxA=; b=xG0b+uiR/Jv2ZYvRNuQmfa3NDGP0 s6YwVPAG87g69RLUDDcd6x8TBhY4ZjVB32rO8/JNTWhxRz+xgz//Cseem8UMeqd1 jRG81SSUbUtYsmYbxnhJY/9dEcoyXL2R8hTqer/hfpuCFnrx6fZILVpGmD9GSqKB xUsBUUReRM7dSp436j9hKByxAljDSzvQW/XO99+A5I+KUxn4Pt06qAt8m7OXQajm lWP6Oro2+TBtGItRFzaeZddqPCbQPCjrQvVFXYlY8si9FBZAG1oORXwzVJ/Iyr+H aMRNjtlIGRLsGjCncf4nyXmCbZO5QrLS+q/pQIjYoLGC4COurabf7Ge1KA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1620981749; h=from:from: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; bh=wZ+AgDixb23j7oFTJLCZyp3UDhQCqdJLldamPFk/p7A=; b=N9dnOC7XKaUv5RBo/VO6FayoR5exbvG+MC1HcaH4ayUa33isbKb2lHj14I2JA6fiRKDBxP eBRcaUO93x+IbAfEJy27dED9AhEmHaOGdlRk13QnFEGy14yucDy6PclCS19NhXDeVLapoJ Cqru4eHXOcn08b+htoRiui9/qqguiUZpIliRNy/DrVAMNfe5wUr1pPfh55SOg/p4nxdmWA 6nXZaKX7dG/sM7zCZlXmW2GgR1y/DZXcGcs2wrBpXDTf9XPJt+bT6YhAm9GCNIRVABBtaR vNw4Zs0Y1MNncP5YOG4Vcijs5/cenveRYWfHRRIbTdAOIaJCZWylpFyqrQRcww== X-Virus-Scanned: amavisd-new at heinlein-support.de Received: from smtp1.mailbox.org ([80.241.60.240]) by spamfilter05.heinlein-hosting.de (spamfilter05.heinlein-hosting.de [80.241.56.123]) (amavisd-new, port 10030) with ESMTP id yK80uwG9z3pR; Fri, 14 May 2021 10:42:28 +0200 (CEST) Subject: Re: [wip-cite-new] Adjust punctuation around citations To: Org Mode List , Nicolas Goaziou References: <871raawc7j.fsf@nicolasgoaziou.fr> From: Denis Maier Message-ID: <4dd47d8d-5dd8-4769-7e2f-eb3438ba0b4a@mailbox.org> Date: Fri, 14 May 2021 10:42:28 +0200 MIME-Version: 1.0 In-Reply-To: <871raawc7j.fsf@nicolasgoaziou.fr> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-MBO-SPAM-Probability: X-Rspamd-Score: -3.66 / 15.00 / 15.00 X-Rspamd-Queue-Id: 69F5917CF X-Rspamd-UID: 083bd7 Received-SPF: pass client-ip=2001:67c:2050::465:201; envelope-from=denis.maier.lists@mailbox.org; helo=mout-p-201.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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=1620981866; 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=wZ+AgDixb23j7oFTJLCZyp3UDhQCqdJLldamPFk/p7A=; b=UN1SaZZ1QX3scudLWOTA64hDnLnhoMutFEEm0gXu8puX6NAl5em/E8V7WkcH06ynViaa5p ag1sLU9XTbrMp9C+/eyMkoC2X0zEn32ZPPnGZ0pmdpnALd2QdpANk73IfhvmM6/4O0CBWj sx9s/PPxH/LswH5ulVZgjSwrhKF6K7gJARWqZ/+5InidbDiaUhYuiCZMvSfhXGHS76IMZ7 SW4LlxZSzBEmdt333X2gj8BbeHJ6Ojg2VqfWl+kqKA12iqyXLxCCG5obZ9UB/cUBIR2tte 7DuIY6jqzsFUnryqdng5IO6ukeEtDxRAqU7fX4DeD7zYaS4am3tKRqKX470QNQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1620981866; a=rsa-sha256; cv=none; b=FJ3RZY8bv3t/QNf3TQ79dqTVwEwqBgIQ0s1Hvytzejgg1ApfCxT7BMfz3bxHiURc4rNtFK wXbSKWSDUce34fvMil2JQ4xm/lq1RmKsldEm9rGXXyClSGKp7OQslCoVsETvjPFjo4i1cD jzmn4NXdHcW/cZAhYtNY0ToCEKdD8uD15p35g8jebE1n7/FbBgqjcoRV4dtdhPNXYL+Y1R 4mTNmkGlMGgH2DfBbmiR1UqXMfQnvO6B4G1SWejLII7TQPN017P7VrzKD1U52Ju3ZwTfLa /SjZQmhbSx1Y6wUcR3YRL61LIb2WU5VdV5qOD4l7ieGtE1FmkUw03xF9iGMceA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=xG0b+uiR; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=N9dnOC7X; 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.15 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=xG0b+uiR; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=N9dnOC7X; 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: 72B3124138 X-Spam-Score: -3.15 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3+Vv04mlt0HS Am 13.05.2021 um 23:33 schrieb Nicolas Goaziou: > Hello, > > [...] > > RULE is a triplet of symbols (PUNCT POSITION RELATIVE): > > PUNCT is the desired location of the punctuation with regards to the > quotation, if any. It may be `inside', `outside', or`strict', the latter > meaning the punctuation should not be moved. > > POSITION is the desired location of the citation with regards to the > quotation, if any. It may be `inside' or `outside'. > > RELATIVE is the relative position of the citation with regards to the closest > punctuation. It may be `after' or `before'. > > For example, > > (inside outside after) corresponds to American typography; > (strict outside after) corresponds to German typography; > (strict inside before) corresponds to French typography. These things are not only language dependent, but depend also on the chosen citation style. E.g. with in-text styles you'll have (outside outside before) in German, and American typography, in French likely as well. So, perhaps another setting: #+type-of-citation-style: in-text #+type-of-citation-style: note And ideally this RULE should be configurable directly as well: #+punct-moving-rule: strict inside before > > INFO is the export state, as a property list. > > Optional argument PUNCT is a list of punctuation marks to be considered. > When nil, it includes the following: \".\" \",\" \";\" \":\" \"!\" and \"?\". Here as well, it should be possible to configure these on a user level. Something like: #+moved-punctuation: ,.?! WDYT? Denis