Variable: org-export-smart-quotes-alist
org-export-smart-quotes-alist is a variable defined in ox.el.gz.
Value
Large value
(("ar"
(primary-opening :utf-8 "«" :html "«" :latex "\\guillemotleft{}" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex "\\guillemotright{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‹" :html "‹" :latex "\\guilsinglleft{}" :texinfo "@guilsinglleft{}")
(secondary-closing :utf-8 "›" :html "›" :latex "\\guilsinglright{}" :texinfo "@guilsinglright{}")
(apostrophe :utf-8 "’" :html "’"))
("da"
(primary-opening :utf-8 "»" :html "»" :latex ">>" :texinfo "@guillemetright{}")
(primary-closing :utf-8 "«" :html "«" :latex "<<" :texinfo "@guillemetleft{}")
(secondary-opening :utf-8 "›" :html "›" :latex "\\frq{}" :texinfo "@guilsinglright{}")
(secondary-closing :utf-8 "‹" :html "‹" :latex "\\flq{}" :texinfo "@guilsingleft{}")
(apostrophe :utf-8 "’" :html "’"))
("de"
(primary-opening :utf-8 "„" :html "„" :latex "\"`" :texinfo "@quotedblbase{}")
(primary-closing :utf-8 "“" :html "“" :latex "\"'" :texinfo "@quotedblleft{}")
(secondary-opening :utf-8 "‚" :html "‚" :latex "\\glq{}" :texinfo "@quotesinglbase{}")
(secondary-closing :utf-8 "‘" :html "‘" :latex "\\grq{}" :texinfo "@quoteleft{}")
(apostrophe :utf-8 "’" :html "’"))
("el"
(primary-opening :utf-8 "«" :html "«" :latex "\\guillemotleft{}" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex "\\guillemotright{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "“" :html "“" :latex "``" :texinfo "``")
(secondary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
(apostrophe :utf-8 "’" :html "’"))
("en"
(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 "’"))
("es"
(primary-opening :utf-8 "«" :html "«" :latex "\\guillemotleft{}" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex "\\guillemotright{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "“" :html "“" :latex "``" :texinfo "``")
(secondary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
(apostrophe :utf-8 "’" :html "’"))
("fa"
(primary-opening :utf-8 "«" :html "«" :latex "\\guillemotleft{}" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex "\\guillemotright{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‹" :html "‹" :latex "\\guilsinglleft{}" :texinfo "@guilsinglleft{}")
(secondary-closing :utf-8 "›" :html "›" :latex "\\guilsinglright{}" :texinfo "@guilsinglright{}")
(apostrophe :utf-8 "’" :html "’"))
("fr"
(primary-opening :utf-8 "« " :html "« " :latex "\\og " :texinfo "@guillemetleft{}@tie{}")
(primary-closing :utf-8 " »" :html " »" :latex "\\fg{}" :texinfo "@tie{}@guillemetright{}")
(secondary-opening :utf-8 "“" :html "“" :latex "``" :texinfo "``")
(secondary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
(apostrophe :utf-8 "’" :html "’"))
("is"
(primary-opening :utf-8 "„" :html "„" :latex "\"`" :texinfo "@quotedblbase{}")
(primary-closing :utf-8 "“" :html "“" :latex "\"'" :texinfo "@quotedblleft{}")
(secondary-opening :utf-8 "‚" :html "‚" :latex "\\glq{}" :texinfo "@quotesinglbase{}")
(secondary-closing :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 "’"))
("no"
(primary-opening :utf-8 "«" :html "«" :latex "\\guillemotleft{}" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex "\\guillemotright{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‘" :html "‘" :latex "`" :texinfo "`")
(secondary-closing :utf-8 "’" :html "’" :latex "'" :texinfo "'")
(apostrophe :utf-8 "’" :html "’"))
("nb"
(primary-opening :utf-8 "«" :html "«" :latex "\\guillemotleft{}" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex "\\guillemotright{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‘" :html "‘" :latex "`" :texinfo "`")
(secondary-closing :utf-8 "’" :html "’" :latex "'" :texinfo "'")
(apostrophe :utf-8 "’" :html "’"))
("nn"
(primary-opening :utf-8 "«" :html "«" :latex "\\guillemotleft{}" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex "\\guillemotright{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‘" :html "‘" :latex "`" :texinfo "`")
(secondary-closing :utf-8 "’" :html "’" :latex "'" :texinfo "'")
(apostrophe :utf-8 "’" :html "’"))
("ro"
(primary-opening :utf-8 "„" :html "„" :latex "\"`" :texinfo "@quotedblbase{}")
(primary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
(secondary-opening :utf-8 "«" :html "«" :latex "\\guillemotleft{}" :texinfo "@guillemetleft{}")
(secondary-closing :utf-8 "»" :html "»" :latex "\\guillemotright{}" :texinfo "@guillemetright{}")
(apostrophe :utf-8 "’" :html "’"))
("ru"
(primary-opening :utf-8 "«" :html "«" :latex "{}<<" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex ">>{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "„" :html "„" :latex "\\glqq{}" :texinfo "@quotedblbase{}")
(secondary-closing :utf-8 "“" :html "“" :latex "\\grqq{}" :texinfo "@quotedblleft{}")
(apostrophe :utf-8 "’" :html: "'"))
("sl"
(primary-opening :utf-8 "«" :html "«" :latex "{}<<" :texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex ">>{}" :texinfo "@guillemetright{}")
(secondary-opening :utf-8 "„" :html "„" :latex "\\glqq{}" :texinfo "@quotedblbase{}")
(secondary-closing :utf-8 "“" :html "“" :latex "\\grqq{}" :texinfo "@quotedblleft{}")
(apostrophe :utf-8 "’" :html "’"))
("sv"
(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 "’")))
Documentation
Smart quotes translations.
Alist whose CAR is a language string and CDR is an alist with quote type as key and a plist associating various encodings to their translation as value.
A quote type can be any symbol among primary-opening,
primary-closing, secondary-opening, secondary-closing and
apostrophe.
Valid encodings include :utf-8, :html, :latex and
:texinfo.
If no translation is found, the quote character is left as-is.
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
;;;; Smart Quotes
;;
;; The main function for the smart quotes sub-system is
;; `org-export-activate-smart-quotes', which replaces every quote in
;; a given string from the parse tree with its "smart" counterpart.
;;
;; Dictionary for smart quotes is stored in
;; `org-export-smart-quotes-alist'.
(defconst org-export-smart-quotes-alist
'(("ar"
(primary-opening
:utf-8 "«" :html "«" :latex "\\guillemotleft{}"
:texinfo "@guillemetleft{}")
(primary-closing
:utf-8 "»" :html "»" :latex "\\guillemotright{}"
:texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‹" :html "‹" :latex "\\guilsinglleft{}"
:texinfo "@guilsinglleft{}")
(secondary-closing :utf-8 "›" :html "›" :latex "\\guilsinglright{}"
:texinfo "@guilsinglright{}")
(apostrophe :utf-8 "’" :html "’"))
("da"
;; one may use: »...«, "...", ›...‹, or '...'.
;; https://sproget.dk/raad-og-regler/retskrivningsregler/retskrivningsregler/a7-40-60/a7-58-anforselstegn/
;; LaTeX quotes require Babel!
(primary-opening
:utf-8 "»" :html "»" :latex ">>" :texinfo "@guillemetright{}")
(primary-closing
:utf-8 "«" :html "«" :latex "<<" :texinfo "@guillemetleft{}")
(secondary-opening
:utf-8 "›" :html "›" :latex "\\frq{}" :texinfo "@guilsinglright{}")
(secondary-closing
:utf-8 "‹" :html "‹" :latex "\\flq{}" :texinfo "@guilsingleft{}")
(apostrophe :utf-8 "’" :html "’"))
("de"
(primary-opening
:utf-8 "„" :html "„" :latex "\"`" :texinfo "@quotedblbase{}")
(primary-closing
:utf-8 "“" :html "“" :latex "\"'" :texinfo "@quotedblleft{}")
(secondary-opening
:utf-8 "‚" :html "‚" :latex "\\glq{}" :texinfo "@quotesinglbase{}")
(secondary-closing
:utf-8 "‘" :html "‘" :latex "\\grq{}" :texinfo "@quoteleft{}")
(apostrophe :utf-8 "’" :html "’"))
("el"
(primary-opening
:utf-8 "«" :html "«" :latex "\\guillemotleft{}"
:texinfo "@guillemetleft{}")
(primary-closing
:utf-8 "»" :html "»" :latex "\\guillemotright{}"
:texinfo "@guillemetright{}")
(secondary-opening :utf-8 "“" :html "“" :latex "``" :texinfo "``")
(secondary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
(apostrophe :utf-8 "’" :html "’"))
("en"
(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 "’"))
("es"
(primary-opening
:utf-8 "«" :html "«" :latex "\\guillemotleft{}"
:texinfo "@guillemetleft{}")
(primary-closing
:utf-8 "»" :html "»" :latex "\\guillemotright{}"
:texinfo "@guillemetright{}")
(secondary-opening :utf-8 "“" :html "“" :latex "``" :texinfo "``")
(secondary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
(apostrophe :utf-8 "’" :html "’"))
("fa"
(primary-opening
:utf-8 "«" :html "«" :latex "\\guillemotleft{}"
:texinfo "@guillemetleft{}")
(primary-closing
:utf-8 "»" :html "»" :latex "\\guillemotright{}"
:texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‹" :html "‹" :latex "\\guilsinglleft{}"
:texinfo "@guilsinglleft{}")
(secondary-closing :utf-8 "›" :html "›" :latex "\\guilsinglright{}"
:texinfo "@guilsinglright{}")
(apostrophe :utf-8 "’" :html "’"))
("fr"
(primary-opening
:utf-8 "« " :html "« " :latex "\\og "
:texinfo "@guillemetleft{}@tie{}")
(primary-closing
:utf-8 " »" :html " »" :latex "\\fg{}"
:texinfo "@tie{}@guillemetright{}")
(secondary-opening :utf-8 "“" :html "“" :latex "``" :texinfo "``")
(secondary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
(apostrophe :utf-8 "’" :html "’"))
("is"
(primary-opening
:utf-8 "„" :html "„" :latex "\"`" :texinfo "@quotedblbase{}")
(primary-closing
:utf-8 "“" :html "“" :latex "\"'" :texinfo "@quotedblleft{}")
(secondary-opening
:utf-8 "‚" :html "‚" :latex "\\glq{}" :texinfo "@quotesinglbase{}")
(secondary-closing
: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 "’"))
("no"
;; https://nn.wikipedia.org/wiki/Sitatteikn
(primary-opening
:utf-8 "«" :html "«" :latex "\\guillemotleft{}"
:texinfo "@guillemetleft{}")
(primary-closing
:utf-8 "»" :html "»" :latex "\\guillemotright{}"
:texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‘" :html "‘" :latex "`" :texinfo "`")
(secondary-closing :utf-8 "’" :html "’" :latex "'" :texinfo "'")
(apostrophe :utf-8 "’" :html "’"))
("nb"
;; https://nn.wikipedia.org/wiki/Sitatteikn
(primary-opening
:utf-8 "«" :html "«" :latex "\\guillemotleft{}"
:texinfo "@guillemetleft{}")
(primary-closing
:utf-8 "»" :html "»" :latex "\\guillemotright{}"
:texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‘" :html "‘" :latex "`" :texinfo "`")
(secondary-closing :utf-8 "’" :html "’" :latex "'" :texinfo "'")
(apostrophe :utf-8 "’" :html "’"))
("nn"
;; https://nn.wikipedia.org/wiki/Sitatteikn
(primary-opening
:utf-8 "«" :html "«" :latex "\\guillemotleft{}"
:texinfo "@guillemetleft{}")
(primary-closing
:utf-8 "»" :html "»" :latex "\\guillemotright{}"
:texinfo "@guillemetright{}")
(secondary-opening :utf-8 "‘" :html "‘" :latex "`" :texinfo "`")
(secondary-closing :utf-8 "’" :html "’" :latex "'" :texinfo "'")
(apostrophe :utf-8 "’" :html "’"))
("ro"
(primary-opening
:utf-8 "„" :html "„" :latex "\"`" :texinfo "@quotedblbase{}")
(primary-closing :utf-8 "”" :html "”" :latex "''" :texinfo "''")
(secondary-opening
:utf-8 "«" :html "«" :latex "\\guillemotleft{}"
:texinfo "@guillemetleft{}")
(secondary-closing
:utf-8 "»" :html "»" :latex "\\guillemotright{}"
:texinfo "@guillemetright{}")
(apostrophe :utf-8 "’" :html "’"))
("ru"
;; https://ru.wikipedia.org/wiki/%D0%9A%D0%B0%D0%B2%D1%8B%D1%87%D0%BA%D0%B8#.D0.9A.D0.B0.D0.B2.D1.8B.D1.87.D0.BA.D0.B8.2C_.D0.B8.D1.81.D0.BF.D0.BE.D0.BB.D1.8C.D0.B7.D1.83.D0.B5.D0.BC.D1.8B.D0.B5_.D0.B2_.D1.80.D1.83.D1.81.D1.81.D0.BA.D0.BE.D0.BC_.D1.8F.D0.B7.D1.8B.D0.BA.D0.B5
;; https://www.artlebedev.ru/kovodstvo/sections/104/
(primary-opening :utf-8 "«" :html "«" :latex "{}<<"
:texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex ">>{}"
:texinfo "@guillemetright{}")
(secondary-opening
:utf-8 "„" :html "„" :latex "\\glqq{}" :texinfo "@quotedblbase{}")
(secondary-closing
:utf-8 "“" :html "“" :latex "\\grqq{}" :texinfo "@quotedblleft{}")
(apostrophe :utf-8 "’" :html: "'"))
("sl"
;; Based on https://sl.wikipedia.org/wiki/Narekovaj
(primary-opening :utf-8 "«" :html "«" :latex "{}<<"
:texinfo "@guillemetleft{}")
(primary-closing :utf-8 "»" :html "»" :latex ">>{}"
:texinfo "@guillemetright{}")
(secondary-opening
:utf-8 "„" :html "„" :latex "\\glqq{}" :texinfo "@quotedblbase{}")
(secondary-closing
:utf-8 "“" :html "“" :latex "\\grqq{}" :texinfo "@quotedblleft{}")
(apostrophe :utf-8 "’" :html "’"))
("sv"
;; Based on https://sv.wikipedia.org/wiki/Citattecken
(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 "’")))
"Smart quotes translations.
Alist whose CAR is a language string and CDR is an alist with
quote type as key and a plist associating various encodings to
their translation as value.
A quote type can be any symbol among `primary-opening',
`primary-closing', `secondary-opening', `secondary-closing' and
`apostrophe'.
Valid encodings include `:utf-8', `:html', `:latex' and
`:texinfo'.
If no translation is found, the quote character is left as-is.")