diff options
author | Bastien Guerry <bzg@altern.org> | 2011-10-29 14:43:52 +0200 |
---|---|---|
committer | Bastien Guerry <bzg@altern.org> | 2011-10-29 14:43:52 +0200 |
commit | 25bd31ae36a9d7b86867d45444ebe18841ef5d6f (patch) | |
tree | 5c14e7f86cebfdaf26b9d11e9bcd5260bb1b1835 | |
parent | b2408c00967a4ef60b00f572b838a7c4f4686a90 (diff) | |
download | org-mode-25bd31ae36a9d7b86867d45444ebe18841ef5d6f.tar.gz |
org-latex.el: Allow "/" character in the #+LaTeX_CLASS option.
* org-latex.el (org-export-latex-set-initial-vars): Allow "/"
character in the #+LaTeX_CLASS option.
Thanks to Richard Lewis for a request about this.
-rw-r--r-- | lisp/org-latex.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 649e4a7..2ec347a 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -1346,7 +1346,7 @@ LEVEL indicates the default depth for export." (save-restriction (widen) (goto-char (point-min)) - (and (re-search-forward "^#\\+LaTeX_CLASS:[ \t]*\\([-a-zA-Z]+\\)" nil t) + (and (re-search-forward "^#\\+LaTeX_CLASS:[ \t]*\\([-/a-zA-Z]+\\)" nil t) (match-string 1)))) (plist-get org-export-latex-options-plist :latex-class) org-export-latex-default-class) |