Revert "Search for LaTeX setup case-insensitively"
This reverts commit 034dbac3ee
.
This commit is contained in:
parent
4a028cc7c0
commit
557ce7c01c
|
@ -438,10 +438,8 @@ The effect is that these values will be accessible during export."
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(widen)
|
(widen)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(and (let ((case-fold-search t))
|
(and (re-search-forward
|
||||||
(re-search-forward
|
"^#\\+BEAMER_FRAME_LEVEL:[ \t]*\\(.*?\\)[ \t]*$" nil t)
|
||||||
"^#\\+BEAMER_FRAME_LEVEL:[ \t]*\\(.*?\\)[ \t]*$"
|
|
||||||
nil t))
|
|
||||||
(match-string 1))))
|
(match-string 1))))
|
||||||
(plist-get org-export-latex-options-plist :beamer-frame-level)
|
(plist-get org-export-latex-options-plist :beamer-frame-level)
|
||||||
org-beamer-frame-level))
|
org-beamer-frame-level))
|
||||||
|
@ -463,7 +461,7 @@ The effect is that these values will be accessible during export."
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(widen)
|
(widen)
|
||||||
(let ((txt "") (case-fold-search t))
|
(let ((txt ""))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(while (re-search-forward
|
(while (re-search-forward
|
||||||
"^#\\+BEAMER_HEADER_EXTRA:[ \t]*\\(.*?\\)[ \t]*$"
|
"^#\\+BEAMER_HEADER_EXTRA:[ \t]*\\(.*?\\)[ \t]*$"
|
||||||
|
|
|
@ -1124,9 +1124,7 @@ LEVEL indicates the default depth for export."
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(widen)
|
(widen)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(and (let ((case-fold-search t))
|
(and (re-search-forward "^#\\+LaTeX_CLASS:[ \t]*\\(-[a-zA-Z]+\\)" nil t)
|
||||||
(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)
|
||||||
|
@ -1140,10 +1138,8 @@ LEVEL indicates the default depth for export."
|
||||||
(save-restriction
|
(save-restriction
|
||||||
(widen)
|
(widen)
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(and (let ((case-fold-search t))
|
(and (re-search-forward "^#\\+LaTeX_CLASS_OPTIONS:[ \t]*\\(.*?\\)[ \t]*$" nil t)
|
||||||
(re-search-forward
|
(match-string 1))))
|
||||||
"^#\\+LaTeX_CLASS_OPTIONS:[ \t]*\\(.*?\\)[ \t]*$" nil t)
|
|
||||||
(match-string 1)))))
|
|
||||||
(plist-get org-export-latex-options-plist :latex-class-options))
|
(plist-get org-export-latex-options-plist :latex-class-options))
|
||||||
org-export-latex-class
|
org-export-latex-class
|
||||||
(or (car (assoc org-export-latex-class org-export-latex-classes))
|
(or (car (assoc org-export-latex-class org-export-latex-classes))
|
||||||
|
|
Loading…
Reference in New Issue