From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id KGlRNjV/T2HNOQAAgWs5BA (envelope-from ) for ; Sat, 25 Sep 2021 21:57:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8KfqMTV/T2GgSAAA1q6Kng (envelope-from ) for ; Sat, 25 Sep 2021 19:57: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 AD20D24187 for ; Sat, 25 Sep 2021 21:57:40 +0200 (CEST) Received: from localhost ([::1]:51322 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mUDnn-0005Nu-F7 for larch@yhetil.org; Sat, 25 Sep 2021 15:57:39 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56164) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUDnE-0005Nl-Mh for emacs-orgmode@gnu.org; Sat, 25 Sep 2021 15:57:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:59395) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mUDnC-0003p7-3m for emacs-orgmode@gnu.org; Sat, 25 Sep 2021 15:57:04 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id C489C240026 for ; Sat, 25 Sep 2021 21:56:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632599818; bh=hYfXN1JLnJGy6C/TNCtfp6ilMs6rwex5wY5JWOpGzZU=; h=From:To:Cc:Subject:Date:From; b=ea36vKzQvKa+VRZRGTOZdeClikYB5qPL1eg958eDyrMgZJlbh4RFS4sunychNwYT0 FAHmcsFYKlGMrxdzXlkQ9lgvSsgisYpzNU0WupE6GRbC19QrQlJE/87iwceK4s/W8F pD2BZklLSO9hnlSXK0dboYIHaeJQQsl4FGltiuYO04f3Tnx196fGL+Vhq/akCKv3Ed Ig4Kr4FKsmdjTuVL4XLSm40WzBc4554IIxtIDF4lTFj1Ygdhn3aGf6P529hqIJUm6W mZ6EIMyLpk8fsaG7+vgv56eyQTqGVnDecbbvl7UPuSyckPsaRI2F8VK9WnUZ+AHGZI /zJqQMbQo0MvA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HH06K5vjGz9rxD; Sat, 25 Sep 2021 21:56:57 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: orgmode Subject: Re: [PATCH] ox.el: add smart quotes for Greek References: <87bl4omst8.fsf@posteo.net> <279c8d6d-ebcf-2149-416d-c75bdf227f05@gmail.com> <874kad1y12.fsf@posteo.net> <871r5ge66w.fsf@posteo.net> <5456e4a1-5c2b-28c5-c290-1e0f8117d94d@gmail.com> <875yurw6rk.fsf@posteo.net> Date: Sat, 25 Sep 2021 19:56:57 +0000 In-Reply-To: <875yurw6rk.fsf@posteo.net> ("Juan Manuel =?utf-8?Q?Mac=C3=AD?= =?utf-8?Q?as=22's?= message of "Thu, 23 Sep 2021 17:17:51 +0000") Message-ID: <87ee9czawm.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: , Cc: Max Nikulin 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=1632599860; 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:dkim-signature; bh=UfwRz+FpxEpqcy51f+U40nQs6x0BDQdt1geXIw4I5ek=; b=o727C9tnyu0RxF/vHGjKSUu+3owLpR/H8lGzrYz0bbgNITcWG3csAb1IpxwQNh70c6a5lH 7ZtvKRgwMFX9cda9qQkYOQJAd9aEpGBg/uVCWqJjkmTMj2oz69CYoNoxIoJ814jxdlNxHW ndIpbZhwkNpTohV7JaqqKUhIV00AhggEzJCinXcMI1ueLFpYPbCUNxrbgTDj74KXq65DVD dzSRfGk/38N9ymfkKNDfg6WsnyMaHHhcxsxt1B/LcN7ZxKSdn9EIM1cagvSGX8D2Ul5oLj l8fCCWD/JKXOEpWHBG2FEdRzcVXo5rXWPhUwlroI+LJg7s6NEF1ENBZtr3pBog== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632599860; a=rsa-sha256; cv=none; b=TsL3wPfnWdtTZxEdZGGbRzvm7w+8um8K+XcBrCJ21s/9q8quVojsg+4lRsWNY229js8pBC 6YbcgeuBv9Mx4bOvj9h1256/c2LzPveBbdRiwsgHWB3DP0a6lQbvK3sdoptYV4sQMjrYEW TWwiZidHczHib1/LKIHcWtQoKztj+emZpWzYdyyPXigm/CoQlt/pJrb2tFxs50EomkedlM MXNfmq+ppBnwrwijqFL9U/vioyJZ1BDrcrOKuZvh/+TTFtW8dldrtQ1UNrWEgQU6bOvvjd n4Zr+ef09hdVaSDXUDpdGBnS3cOcVyBbzfY0wDldHkETpXHVc/pU37kySBTsUg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=ea36vKzQ; 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=ea36vKzQ; 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: AD20D24187 X-Spam-Score: -3.09 X-Migadu-Scanner: scn0.migadu.com X-TUID: ojaZa4qPDVED --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi again, I am attaching a new version of the patch, with some typos fixed and a explanatory note in the commit message on the choice of the character U+201C as Greek second-level opening quotes. In case anyone is interested in what Yanis Haralambous answered me in a recent mail, I reproduce here (with his permission) a fragment of the message: #+begin_quote [...] to answer your question, the average Greek writer would use U+201C. For those that seek Greek typographic tradition, there should be a substitution [...], but it would be more appropriate to do it on the glyph level. From a grapholinguistic point of view there is absolutely no need of using U+201F, the difference should be on the alllographic level, the grapheme should only carry the information "CLOSING DOUBLE SECOND-LEVEL QUOTATION MARK" and U+201C is a good choice for representing that grapheme since it is used in most countries of the world=E2=80=A6 #+end_quote Therefore, if someone wishes to use the historical character [in a LuaTeX or XeTeX document] (represented by U+201F), I agree with Yannis that it is better to use that symbol at the glyph level and not at the character level. For this scenario a GSUB opentype feature would work very well, since it is a historical character (as in the case of historical ligatures, alternate glyphs, etc.).=20 Best regards, Juan Manuel --=-=-= 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 86edfd424d01a08cc277540644e0cdc7df075b72 Mon Sep 17 00:00:00 2001 From: Juan Manuel Macias Date: Sat, 25 Sep 2021 20:41:43 +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, who has contributed a style guide for the European institutions: http://publications.europa.eu/code/el/el-4100107el.htmq On the correct character for Greek second-level opening quotes, according to Yannis Haralambous (`From Unicode to Typography, a Case Study: the Greek Script' (1999, p. 20), a symbol equivalent to the Unicode character U+201F is historically attested. But it seems that the current trend in Greece is to apply the character U+201C, more commonly used in other languages. Haralambous himself, in a recent consultation, states: `[...] U+201C is a good choice for representing that grapheme since it is used in most countries of the world...' --- lisp/ox.el | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lisp/ox.el b/lisp/ox.el index 18b13a326..89a3ff5f1 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -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.33.0 --=-=-=--