forked from mirrors/org-mode
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:
parent
b2408c0096
commit
25bd31ae36
|
@ -1346,7 +1346,7 @@ LEVEL indicates the default depth for export."
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(widen)
|
(widen)
|
||||||
(goto-char (point-min))
|
(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))))
|
(match-string 1))))
|
||||||
(plist-get org-export-latex-options-plist :latex-class)
|
(plist-get org-export-latex-options-plist :latex-class)
|
||||||
org-export-latex-default-class)
|
org-export-latex-default-class)
|
||||||
|
|
Loading…
Reference in a new issue