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.
This commit is contained in:
Bastien Guerry 2011-10-29 14:43:52 +02:00
parent b2408c0096
commit 25bd31ae36
1 changed files with 1 additions and 1 deletions

View File

@ -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)