With the language set to English the smart quotes work out of the box:

#+OPTIONS: ':t

This is a "test".

LaTeX: This is a ``test''.
HTML: This is a “test”.

Also with other languages (e.g. German, French, Spanish, ...) they work, but not with Italian:

#+OPTIONS: ':t

This is a "test".

LaTeX: This is a "test".
HTML: This is a "test".

Is there a way to add support for Italian smart quotes? Or otherwise a way to add custom support for smart quotes.

Since Italian smart quotes are indeed equal to English smart quotes another solution could be, if possible, to use English smart quotes with Italian language.

  • 2
    See the variable org-export-smart-quotes-alist which AFAICT does not have an entry for it so you get the default. You can submit a bug report to the Org mode mailing list, or (better) submit a patch to fix the omission.
    – NickD
    Aug 11, 2021 at 16:01

1 Answer 1


This is the patch:

[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."
       :utf-8 "‘" :html "‘" :latex "\\grq{}" :texinfo "@quoteleft{}")
      (apostrophe :utf-8 "’" :html "’"))
+    ("it"
+     (primary-opening :utf-8 "“" :html "“" :latex "``" :texinfo "``")
+     (primary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
+     (secondary-opening :utf-8 "‘" :html "‘" :latex "`" :texinfo "`")
+     (secondary-closing :utf-8 "’" :html "’" :latex "'" :texinfo "'")
+     (apostrophe :utf-8 "’" :html "’"))
      ;; https://nn.wikipedia.org/wiki/Sitatteikn

I sent it to the mailing list, but I don't see it in https://orgmode.org/list/, maybe I have done something wrong.

Finally is here: https://orgmode.org/list/[email protected]/T/#u

  • 1
    Yup, I just saw it - thanks!
    – NickD
    Aug 11, 2021 at 19:04

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.