From: zwz <zhangweize@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [beamer] blank outline slide?
Date: Sun, 15 May 2011 20:40:11 +0800 [thread overview]
Message-ID: <877h9si1ck.fsf@gmail.com> (raw)
In-Reply-To: 878vu9awdv.fsf@ucl.ac.uk
Eric S Fraga <e.fraga@ucl.ac.uk> writes:
> zwz <zhangweize@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"))
next prev parent reply other threads:[~2011-05-15 12:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-12 13:43 [beamer] blank outline slide? zwz
2011-05-13 9:43 ` Eric S Fraga
2011-05-14 15:08 ` zwz
2011-05-14 19:57 ` Eric S Fraga
2011-05-15 12:40 ` zwz [this message]
2011-05-16 9:57 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877h9si1ck.fsf@gmail.com \
--to=zhangweize@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).