14
4

4 回答 4

20
#+LANGUAGE: de
#+OPTIONS: ':t

also does the right thing now

于 2014-02-06T15:00:38.850 回答
13

This is now built into org-mode 8.x. To activate it, add the following to your Emacs configuration file:

(setq org-export-with-smart-quotes t)

It works for single quotes, double quotes, and apostrophes.

Source: @Ista

于 2013-05-27T18:11:36.907 回答
9

This is only available in very recent versions of org-mode. If you are not already running the latest git version see http://orgmode.org/worg/org-faq.html#keeping-current-with-Org-mode-development for instructions on upgrading. Then (setq org-export-with-smart-quotes t) will do what you want with quotes, and m-dashes will also be exported correctly.

于 2013-02-27T03:12:48.050 回答
-2

A way to insure that smart quotes are entered in your org file is to insert the code at the following url into your init.el file. Then type M-x smart-quotes-mode and your all set.

https://github.com/gareth-rees/smart-quotes/blob/master/smart-quotes.el

MNH

于 2014-03-29T18:50:25.980 回答