Fix smart quotes with lang set to en-gb

This commit is contained in:
Charlotte Van Petegem 2023-12-05 09:20:19 +01:00
parent e43662a273
commit 5c99c4954b
No known key found for this signature in database
GPG key ID: 019E764B7184435A
2 changed files with 16 additions and 1 deletions

View file

@ -17,6 +17,14 @@
org-latex-prefer-user-labels t
org-latex-toc-command "\\frontmatter\n\\addchap{Table of Contents}\n\\label{chap:toc}\n\\listoftoc*{toc}\n\n")
(add-to-list
'org-export-smart-quotes-alist
'("en-gb" (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 "’")))
(find-file "book.org")
(org-latex-export-to-latex)