emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] preview beamer frame in org/beamer


From: Aaron Ecay
Subject: Re: [O] preview beamer frame in org/beamer
Date: Wed, 18 Dec 2013 00:08:37 -0500
User-agent: Notmuch/0.16+154~g96c0ce2 (http://notmuchmail.org) Emacs/24.3.50.1 (x86_64-unknown-linux-gnu)

Hi Mirko,

2013ko abenudak 14an, Mirko Vukovic-ek idatzi zuen:
> 
> Is there a command to generate a pdf output of a single beamer frame?
> 
> The command would generate the latex file with the correct header, and a
> single frame, and process it into a pdf file.

You could do this partially with the \includeonlyframes command
(Sec. 4.3.3 of the Beamer manual).  This will cut down on the Latex
compilation time needed, but not the time used by org to export the
document to Latex, so if the bottleneck is expensive babel computations
(for example) this won’t help – but other things (e.g. babel’s cache)
might.

Such a command isn’t currently implemented; what would be needed would
be to:
1) find out the label of the \frame corresponding to the current
   headline
2) perform the usual export
3) insert \includeonlyframes{the-label-from-step-1} into the generated
   latex (just above the \begin{document} line should be fine)
4) compile as usual

-- 
Aaron Ecay



reply via email to

[Prev in Thread] Current Thread [Next in Thread]