(defun org-e-latex-headline (headline contents info)
"Transcode an HEADLINE element from Org to LaTeX.
CONTENTS holds the contents of the headline. INFO is a plist
holding contextual information."
(let* ((class (plist-get info :latex-class))
(level (org-export-get-relative-level headline info))
(numberedp (org-export-numbered-headline-p headline info))
(class-sectionning (assoc class org-e-latex-classes))
;; Section formatting will set two placeholders: one for the
;; title and the other for the contents.
(section-fmt
(let ((sec (if (and (symbolp (nth 2 class-sectionning))
(fboundp (nth 2 class-sectionning)))
(funcall (nth 2 class-sectionning) level numberedp)
(nth (1+ level) class-sectionning))))
The funcall occurs on #'org-beamer-sectioning with argument level=2 and numberedp=t
but the function #'org-beamer-sectioning (org-beamer:232) takes 'level' and 'text' as arguments, 'text'
being the contents of the headline.
2012/8/30 Fabrice Popineau
<fabrice.popineau@supelec.fr>
Hi,
It seems to me that in the 7.9 release and the current git version, org-e-beamer exporter breaks whenever I change the org-e-beamer-frame-level to something else than 1.
The variable BEAMER_FRAME_LEVEL seems not to be honoured anymore. If I set H:2 in OPTIONS, parsing breaks. If I set org-e-beamer-frame-level to 2, parsing breaks too.
Can anyone confirm ?
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC
* First section
[2012-08-30 jeu. 13:32]
** First frame
[2012-08-30 jeu. 13:32]
** Second frame
[2012-08-30 jeu. 13:32]
* Second section
[2012-08-30 jeu. 13:32]
** Third frame
[2012-08-30 jeu. 13:32]
--
Fabrice
--
Fabrice Popineau
-----------------------------
SUPELEC
Département Informatique
3, rue Joliot Curie
91192 Gif/Yvette Cedex
Tel direct : +33 (0) 169851950
Standard : +33 (0) 169851212
------------------------------