Eric S Fraga <e.fr...@ucl.ac.uk> writes: > zwz <zhangwe...@gmail.com> writes: > >> In a org file, I have >> >> * item1 >> ** aaa >> *** bbb >> 123 >> * item2 >> ** ccc >> *** ddd >> 123 >> >> The generated slides have just a blank outline page. >> However, if I modify the org content as >> >> * item1 >> ** aaa >> *** bbb >> * item2 >> ** ccc >> *** ddd >> >> The outline page contains item1 and item2, just as expected. >> >> here is my settings: >> >> #+startup: beamer >> #+LaTeX_CLASS: beamer >> #+LaTeX_CLASS_OPTIONS: [presentation] >> #+BEAMER_HEADER_EXTRA: \usetheme{Madrid}\usecolortheme{default} >> #+BEAMER_FRAME_LEVEL: 2 >> #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) > %4BEAMER_col(Col) %10BEAMER_extra(Extra) >> #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t >> >> Is there anything wrong with my settings or is it a bug? > > I think you may need to be a bit more specific. Can you attach an org > file which demonstrates the problem? > > However, as a stab in the dark, latex will need to be run more than once > on the same input in order to pick up the section headings generated in > the first run. What is the setting for org-latex-to-pdf-process?
OK. Here is "works.org" (which is all right with the outline slide): --8<--------------------->8-- #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_HEADER_EXTRA: \usetheme{Madrid}\usecolortheme{default} #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t * item1 ** aaa *** bbb * item2 ** ccc *** ddd --8<--------------------->8-- And here is Here is "does_not_work.org" (which result in a blank outline slide): --8<--------------------->8-- #+startup: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [presentation] #+BEAMER_HEADER_EXTRA: \usetheme{Madrid}\usecolortheme{default} #+BEAMER_FRAME_LEVEL: 2 #+COLUMNS: %40ITEM %10BEAMER_env(Env) %9BEAMER_envargs(Env Args) %4BEAMER_col(Col) %10BEAMER_extra(Extra) #+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:nil -:t f:t *:t <:t * item1 ** aaa *** bbb 123 * item2 ** ccc *** ddd 123 --8<--------------------->8-- My setting for org-latex-to-pdf-process is ("pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f" "pdflatex -interaction nonstopmode -output-directory %o %f")