From 25bd31ae36a9d7b86867d45444ebe18841ef5d6f Mon Sep 17 00:00:00 2001 From: Bastien Guerry Date: Sat, 29 Oct 2011 14:43:52 +0200 Subject: [PATCH] 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. --- lisp/org-latex.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 649e4a75c..2ec347a81 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)