mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-07-20 12:56:28 +00:00
ox-latex: Activate smart quotes by default
* lisp/ox-latex.el (latex): Activate smart quotes by default.
This commit is contained in:
parent
1d6aba908b
commit
cd06578af4
|
@ -98,6 +98,8 @@
|
||||||
;; This back-end also offers enhanced support for footnotes. Thus, it
|
;; This back-end also offers enhanced support for footnotes. Thus, it
|
||||||
;; handles nested footnotes, footnotes in tables and footnotes in item
|
;; handles nested footnotes, footnotes in tables and footnotes in item
|
||||||
;; descriptions.
|
;; descriptions.
|
||||||
|
;;
|
||||||
|
;; Smart quotes are activated by default.
|
||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
@ -174,13 +176,15 @@
|
||||||
(lambda (a s v b)
|
(lambda (a s v b)
|
||||||
(if a (org-latex-export-to-pdf t s v b)
|
(if a (org-latex-export-to-pdf t s v b)
|
||||||
(org-open-file (org-latex-export-to-pdf nil s v b)))))))
|
(org-open-file (org-latex-export-to-pdf nil s v b)))))))
|
||||||
:options-alist ((:date "DATE" nil "\\today" t)
|
:options-alist ((:date-format nil nil org-latex-date-timestamp-format)
|
||||||
(:date-format nil nil org-latex-date-timestamp-format)
|
|
||||||
(:latex-class "LATEX_CLASS" nil org-latex-default-class t)
|
(:latex-class "LATEX_CLASS" nil org-latex-default-class t)
|
||||||
(:latex-class-options "LATEX_CLASS_OPTIONS" nil nil t)
|
(:latex-class-options "LATEX_CLASS_OPTIONS" nil nil t)
|
||||||
(:latex-header "LATEX_HEADER" nil nil newline)
|
(:latex-header "LATEX_HEADER" nil nil newline)
|
||||||
(:latex-header-extra "LATEX_HEADER_EXTRA" nil nil newline)
|
(:latex-header-extra "LATEX_HEADER_EXTRA" nil nil newline)
|
||||||
(:latex-hyperref-p nil "texht" org-latex-with-hyperref t)))
|
(:latex-hyperref-p nil "texht" org-latex-with-hyperref t)
|
||||||
|
;; Redefine regular options.
|
||||||
|
(:date "DATE" nil "\\today" t)
|
||||||
|
(:with-smart-quotes nil "'" t)))
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue