Browse Source

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.
Bastien Guerry 7 years ago
parent
commit
25bd31ae36
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-latex.el

+ 1 - 1
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)