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 DhF8ASVmR2FhCQAAgWs5BA (envelope-from ) for ; Sun, 19 Sep 2021 18:32:37 +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 uC42OCRmR2FQOAAA1q6Kng (envelope-from ) for ; Sun, 19 Sep 2021 16:32:36 +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 5016E173A5 for ; Sun, 19 Sep 2021 18:32:36 +0200 (CEST) Received: from localhost ([::1]:56358 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRzk3-0007gT-AA for larch@yhetil.org; Sun, 19 Sep 2021 12:32:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42450) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRzi6-0006o3-FS for emacs-orgmode@gnu.org; Sun, 19 Sep 2021 12:30:34 -0400 Received: from mout01.posteo.de ([185.67.36.65]:43905) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRzi4-0005t5-BE for emacs-orgmode@gnu.org; Sun, 19 Sep 2021 12:30:34 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 5D933240029 for ; Sun, 19 Sep 2021 18:30:29 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632069029; bh=ewZE5+ds7dGupRuituPMWI+AC1TXyZf/eCF4fugWhho=; h=From:To:Subject:Date:From; b=CTkSMZj43Eksb5mTD9GH8d75TTTlLOso84lS/aUlHtI7v4KhS/kb7QzRd9s4zeGgR pT3fCc1olkMUbTeccXTfrWk2R+UwuaMBDvCqlPKqPN9JxGZ0zf2pTF9NNKKpLybEAA LQ1l0N0BFUril/VM/i/gQRtX6V5hvSw0h9UV0uMJMhyB0BjapCaCV8tE5PG15RNMlw lv1xsO2knSC7MblQZy3YX2B3g7AIX364c1pgjhmc3oC6fc3bDnEocvQflUVAqUMBvi rjteh45C194tlSBAM9qSrlau85H+24cX+vvi1hmL7uggoLa5D9nlfyDaxSfRBh66ZL QrUuxci1MMTAA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HCCpr5vQJz6tmH for ; Sun, 19 Sep 2021 18:30:28 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: [PATCH] ox.el: add smart quotes for Greek Date: Sun, 19 Sep 2021 16:30:27 +0000 Message-ID: <87bl4omst8.fsf@posteo.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.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.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=1632069156; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=iTLnbLC2j696hy3/aDuKm/toR0hHEO9x4fmHEywMYaI=; b=klYD2Mdlm8ZvvAg1Zq1azKhnx5hRtK8ldD/UdCOjMmftUNK7kvQww73c5XZadEdUj3Hx3v L1kuiiQaarIHOozk4GPuIU6PBwzMg2t+W6qQ0nyo7ZBk8EhCX8qvZHrK487VYphXdrXera WWTffK3DjFz99FLVV6HD0d+jTW63XsFk9Nul9ccrRk/CndsUAkHgmzENZwfpv4ZFnPIwIv P2zhB3ABwsZrym6cD+1UCOvcla//V5tn4vOCUWNiX7xQ3yzJUa9p/jD8joKu/kmHc7MZ9i 3DhhEhRJqQW7oPCDQK7gx20U+uKddpvsaCufl5wgNkzufDnVsqExBFlWA0zfkA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632069156; a=rsa-sha256; cv=none; b=f7sQwQvnDut5bK28D97n8TpP21JPp0Q293R7iVEf1pDT4B9jf/mm9b7lKpFjt1vJs5RWtR pSeAUS41t8gJt8/ooIpQ9nmSuEa55AmokBV3iEUvDBqGE1SQ6CDxHFIXO1SA2a0YXSayw0 BkcWAundC0/2/U8+QHzeHAOVROrvIWz5qrv8Rn7OMaqBX2PtDP6j8l8fM+U7HgBM4pFXng XELM64Fe+MnO48QM3bDNFnj1qjvmX9GQ3ybcOVuEuj+W80z8Av+iLSkp/Yz3RdakVK+iCy hQY2xaGdGIpycpwoYdrsz4nzOd/h9Cii868TvSYVXGAl2bIIgiOu/v/MyOPaYQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CTkSMZj4; dmarc=pass (policy=none) header.from=posteo.net; 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.09 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=CTkSMZj4; dmarc=pass (policy=none) header.from=posteo.net; 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: 5016E173A5 X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: zU/qXrTDL2Jf --=-=-= Content-Type: text/plain Hi, I attach here a tiny patch to add Greek smart quotes. Finally, I apply the second level quotation marks that Protesilaos Stavrou proposed in this previous thread: https://orgmode.org/list/87o89yv1mz.fsf@cnu407c2zx.nsn-intra.net/#r So the quotation marks setting for Greek is exactly the same as in the case of quotation marks for Spanish. Thanks a lot to Protesilaos, Michalis and Maxim Nikulin for their suggestions on that thread (Maxim, sorry I did not reply to your message in the thread, but and I didn't see it until a few days ago :-() Best regards, Juan Manuel --------------------- https://juanmanuelmacias.com --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: attachment; filename=0001-ox.el-add-smart-quotes-for-greek.patch Content-Transfer-Encoding: quoted-printable >From 3deb65be3d59e2ae35bd6dc9bb38b138dee926f8 Mon Sep 17 00:00:00 2001 From: Juan Manuel Macias Date: Sun, 19 Sep 2021 17:58:51 +0200 Subject: [PATCH] ox.el: add smart quotes for greek * lisp/ox.el (org-export-smart-quotes-alist): The correct quotes for Greek = have been established with the help of Protesilaos Stavrou --- lisp/ox.el | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/lisp/ox.el b/lisp/ox.el index 5fe894569..a8014d401 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -524,7 +524,7 @@ e.g. \"H:2\"." "The default language for export and clocktable translations, as a strin= g. This may have an association in `org-clock-clocktable-language-setup', -`org-export-smart-quotes-alist' and `org-export-dictionary'. +`org-export-smart-quotes-' and `org-export-dictionary'. This option can also be set with the LANGUAGE keyword." :group 'org-export-general :type '(string :tag "Language") @@ -5437,6 +5437,16 @@ transcoding it." (secondary-closing :utf-8 "=E2=80=98" :html "‘" :latex "\\grq{}" :texinfo "@quote= left{}") (apostrophe :utf-8 "=E2=80=99" :html "’")) + ("el" + (primary-opening + :utf-8 "=C2=AB" :html "«" :latex "\\guillemotleft{}" + :texinfo "@guillemetleft{}") + (primary-closing + :utf-8 "=C2=BB" :html "»" :latex "\\guillemotright{}" + :texinfo "@guillemetright{}") + (secondary-opening :utf-8 "=E2=80=9C" :html "“" :latex "``" :te= xinfo "``") + (secondary-closing :utf-8 "=E2=80=9D" :html "”" :latex "''" :te= xinfo "''") + (apostrophe :utf-8 "=E2=80=99" :html "’")) ("en" (primary-opening :utf-8 "=E2=80=9C" :html "“" :latex "``" :texi= nfo "``") (primary-closing :utf-8 "=E2=80=9D" :html "”" :latex "''" :texi= nfo "''") --=20 2.32.0 --=-=-=--