Re: [O] [beamer] blank outline slide?
zwz zhangwe...@gmail.com writes: [...] I found the problem. In fact I forgot there's a hook (add-hook 'org-mode-hook (lambda () (org-set-local 'yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/next-field) (if (member XeTeX org-todo-keywords-1) (setq org-latex-to-pdf-process '(xelatex -interaction nonstopmode -output-directory %o %f) As org-latex-to-pdf-process is not a buffer-local variable, the value is changed after the first exporting. Now to get the outline slide, I just (setq org-latex-to-pdf-process '(xelatex -interaction nonstopmode -output-directory %o %f xelatex -interaction nonstopmode -output-directory %o %f)) Ah ha! Excellent. Glad you solved it. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.284.g2a8fb)
Re: [O] [beamer] blank outline slide?
Eric S Fraga e.fr...@ucl.ac.uk writes: zwz zhangwe...@gmail.com writes: [...] 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-- Well, this one works for me just fine. The outline slide has both item1 and item2 on it. 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) Which looks just fine. Can you export the above org file to latex and send that? You might like to look at the log file generated by pdflatex just in case there is some strange error message. You may need to change =org-export-pdf-remove-logfiles= to nil to have these files left behind after exporting. I found the problem. In fact I forgot there's a hook (add-hook 'org-mode-hook (lambda () (org-set-local 'yas/trigger-key [tab]) (define-key yas/keymap [tab] 'yas/next-field) (if (member XeTeX org-todo-keywords-1) (setq org-latex-to-pdf-process '(xelatex -interaction nonstopmode -output-directory %o %f) As org-latex-to-pdf-process is not a buffer-local variable, the value is changed after the first exporting. Now to get the outline slide, I just (setq org-latex-to-pdf-process '(xelatex -interaction nonstopmode -output-directory %o %f xelatex -interaction nonstopmode -output-directory %o %f))
Re: [O] [beamer] blank outline slide?
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)
Re: [O] [beamer] blank outline slide?
zwz zhangwe...@gmail.com writes: [...] 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-- Well, this one works for me just fine. The outline slide has both item1 and item2 on it. 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) Which looks just fine. Can you export the above org file to latex and send that? You might like to look at the log file generated by pdflatex just in case there is some strange error message. You may need to change =org-export-pdf-remove-logfiles= to nil to have these files left behind after exporting. -- : Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1 : using Org-mode version 7.5 (release_7.5.279.ga2f2.dirty)