emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [PATCH] ox: Italian smart quotes
@ 2021-08-11 16:45 Davide Peressoni via General discussions about Org-mode.
  0 siblings, 0 replies; 3+ messages in thread
From: Davide Peressoni via General discussions about Org-mode. @ 2021-08-11 16:45 UTC (permalink / raw)
  To: emacs-orgmode


[-- Attachment #1.1: Type: text/plain, Size: 115 bytes --]

[PATCH] ox: Italian smart quotes

* ox.el (org-export-smart-quotes-alist): Added support for italian smart quotes.

[-- Attachment #1.2: Type: text/html, Size: 315 bytes --]

[-- Attachment #2: 0001-ox-Italian-smart-quotes.patch --]
[-- Type: text/x-patch, Size: 1125 bytes --]

From 97a45353d19be98bcf0d94da0d902a025408fa3a Mon Sep 17 00:00:00 2001
From: DPDmancul <dp.d-@live.it>
Date: Wed, 11 Aug 2021 18:21:55 +0200
Subject: [PATCH] ox: Italian smart quotes

* ox.el (org-export-smart-quotes-alist): Added support for italian smart quotes.
---
 lisp/ox.el | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lisp/ox.el b/lisp/ox.el
index eb12b68d7..5fe894569 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5476,6 +5476,12 @@ transcoding it."
      (secondary-closing
       :utf-8 "‘" :html "&lsquo;" :latex "\\grq{}" :texinfo "@quoteleft{}")
      (apostrophe :utf-8 "’" :html "&rsquo;"))
+    ("it"
+     (primary-opening :utf-8 "“" :html "&ldquo;" :latex "``" :texinfo "``")
+     (primary-closing :utf-8 "”" :html "&rdquo;" :latex "''" :texinfo "''")
+     (secondary-opening :utf-8 "‘" :html "&lsquo;" :latex "`" :texinfo "`")
+     (secondary-closing :utf-8 "’" :html "&rsquo;" :latex "'" :texinfo "'")
+     (apostrophe :utf-8 "’" :html "&rsquo;"))
     ("no"
      ;; https://nn.wikipedia.org/wiki/Sitatteikn
      (primary-opening
-- 
2.32.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] ox: Italian smart quotes
  2021-08-11 18:18 Davide Peressoni via General discussions about Org-mode.
@ 2021-08-11 20:45 ` Nicolas Goaziou
  0 siblings, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2021-08-11 20:45 UTC (permalink / raw)
  To: Davide Peressoni via General discussions about Org-mode.; +Cc: Davide Peressoni

Hello,

Davide Peressoni via "General discussions about Org-mode."
<emacs-orgmode@gnu.org> writes:

> From 97a45353d19be98bcf0d94da0d902a025408fa3a Mon Sep 17 00:00:00 2001
> From: DPDmancul <dp.d-@live.it>
> Date: Wed, 11 Aug 2021 18:21:55 +0200
> Subject: [PATCH] ox: Italian smart quotes
>
> * ox.el (org-export-smart-quotes-alist): Added support for italian
> smart quotes.

Applied. Thank you.

Regards,
-- 
Nicolas Goaziou


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH] ox: Italian smart quotes
@ 2021-08-11 18:18 Davide Peressoni via General discussions about Org-mode.
  2021-08-11 20:45 ` Nicolas Goaziou
  0 siblings, 1 reply; 3+ messages in thread
From: Davide Peressoni via General discussions about Org-mode. @ 2021-08-11 18:18 UTC (permalink / raw)
  To: Emacs Orgmode

[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]

From 97a45353d19be98bcf0d94da0d902a025408fa3a Mon Sep 17 00:00:00 2001
From: DPDmancul <dp.d-@live.it>
Date: Wed, 11 Aug 2021 18:21:55 +0200
Subject: [PATCH] ox: Italian smart quotes

* ox.el (org-export-smart-quotes-alist): Added support for italian smart quotes.
---
lisp/ox.el | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/lisp/ox.el b/lisp/ox.el
index eb12b68d7..5fe894569 100644
--- a/lisp/ox.el
+++ b/lisp/ox.el
@@ -5476,6 +5476,12 @@ transcoding it."
      (secondary-closing
       :utf-8 "‘" :html "&lsquo;" :latex "\\grq{}" :texinfo "@quoteleft{}")
      (apostrophe :utf-8 "’" :html "&rsquo;"))
+    ("it"
+     (primary-opening :utf-8 "“" :html "&ldquo;" :latex "``" :texinfo "``")
+     (primary-closing :utf-8 "”" :html "&rdquo;" :latex "''" :texinfo "''")
+     (secondary-opening :utf-8 "‘" :html "&lsquo;" :latex "`" :texinfo "`")
+     (secondary-closing :utf-8 "’" :html "&rsquo;" :latex "'" :texinfo "'")
+     (apostrophe :utf-8 "’" :html "&rsquo;"))
     ("no"
      ;; https://nn.wikipedia.org/wiki/Sitatteikn
      (primary-opening
--
2.32.0


[-- Attachment #2: Type: text/html, Size: 2363 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-08-12 17:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-11 16:45 [PATCH] ox: Italian smart quotes Davide Peressoni via General discussions about Org-mode.
2021-08-11 18:18 Davide Peressoni via General discussions about Org-mode.
2021-08-11 20:45 ` Nicolas Goaziou

Code repositories for project(s) associated with this inbox:

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).