summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-04-12 12:44:16 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2012-04-12 12:44:16 +0200
commit256eafe32c2b8db4e766aa542fd5f6f878dda227 (patch)
tree5092662d82eab5ff0659d19d912a648a035b429c
parente307d08382cf72b580c9da707ded606e80920f76 (diff)
downloadorg-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.el10
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.