Bläddra i källkod

org-e-latex: Properly handle quotes at bol

* EXPERIMENTAL/org-e-latex.el (org-e-latex-quotes): Properly handle
  quotes at bol.
Nicolas Goaziou 13 år sedan
förälder
incheckning
256eafe32c
1 ändrade filer med 8 tillägg och 2 borttagningar
  1. 8 2
      EXPERIMENTAL/org-e-latex.el

+ 8 - 2
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.