emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Davide Peressoni via "General discussions about Org-mode." <emacs-orgmode@gnu.org>
To: emacs-orgmode@gnu.org
Subject: [PATCH] ox: Italian smart quotes
Date: Wed, 11 Aug 2021 18:45:55 +0200 (CEST)	[thread overview]
Message-ID: <Mgq5mPA--3-2@tuta.io> (raw)


[-- 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


             reply	other threads:[~2021-08-12 17:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-11 16:45 Davide Peressoni via General discussions about Org-mode. [this message]
  -- strict thread matches above, loose matches on Subject: below --
2021-08-11 18:18 [PATCH] ox: Italian smart quotes Davide Peressoni via General discussions about Org-mode.
2021-08-11 20:45 ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Mgq5mPA--3-2@tuta.io \
    --to=emacs-orgmode@gnu.org \
    --cc=davide.peressoni@tuta.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public 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).