diff options
author | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-04-12 12:44:16 +0200 |
---|---|---|
committer | Nicolas Goaziou <n.goaziou@gmail.com> | 2012-04-12 12:44:16 +0200 |
commit | 256eafe32c2b8db4e766aa542fd5f6f878dda227 (patch) | |
tree | 5092662d82eab5ff0659d19d912a648a035b429c | |
parent | e307d08382cf72b580c9da707ded606e80920f76 (diff) | |
download | org-mode-256eafe32c2b8db4e766aa542fd5f6f878dda227.tar.gz |
org-e-latex: Properly handle quotes at bol
* EXPERIMENTAL/org-e-latex.el (org-e-latex-quotes): Properly handle
quotes at bol.
-rw-r--r-- | EXPERIMENTAL/org-e-latex.el | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/EXPERIMENTAL/org-e-latex.el b/EXPERIMENTAL/org-e-latex.el index 1fb634c..e2e18e6 100644 --- a/EXPERIMENTAL/org-e-latex.el +++ b/EXPERIMENTAL/org-e-latex.el @@ -617,8 +617,14 @@ during latex export it will output ;;;; Plain text (defcustom org-e-latex-quotes - '(("fr" ("\\(\\s-\\|[[(]\\)\"" . "«~") ("\\(\\S-\\)\"" . "~»") ("\\(\\s-\\|(\\)'" . "'")) - ("en" ("\\(\\s-\\|[[(]\\)\"" . "``") ("\\(\\S-\\)\"" . "''") ("\\(\\s-\\|(\\)'" . "`"))) + '(("fr" + ("\\(\\s-\\|[[(]\\|^\\)\"" . "«~") + ("\\(\\S-\\)\"" . "~»") + ("\\(\\s-\\|(\\|^\\)'" . "'")) + ("en" + ("\\(\\s-\\|[[(]\\|^\\)\"" . "``") + ("\\(\\S-\\)\"" . "''") + ("\\(\\s-\\|(\\|^\\)'" . "`"))) "Alist for quotes to use when converting english double-quotes. The CAR of each item in this alist is the language code. |