[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Beamer title is (incorrectly?) outside of a frame
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Beamer title is (incorrectly?) outside of a frame |
Date: |
Sat, 11 Jan 2014 09:49:17 +0100 |
Nicolas Goaziou <address@hidden> writes:
> You need to use a regexp to find out what class is used:
>
> (let ((beamer-class-p
> (and (stringp header)
> (org-string-match-p
> "^[ \t]*\\\\documentclass\\(?:\\[.*\\]\\)?{beamer}[ \t]*$"
> (nth 1 (assoc (plist-get info :latex-class)
> org-latex-classes)))))))
I meant:
(let* ((header (nth 1 (assoc (plist-get info :latex-class)
org-latex-classes)))
(beamer-class-p
(and (stringp header)
(org-string-match-p
"^[ \t]*\\\\documentclass\\(?:\\[.*\\]\\)?{beamer}[ \t]*$"
header)))))