emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Gabor Retvari <retvari@tmit.bme.hu>
Cc: Josiah Schwab <jschwab@gmail.com>, emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: Beamer export: can't get frame level right
Date: Wed, 16 Jul 2014 09:54:13 -0500	[thread overview]
Message-ID: <CA+M2ft_SWy7Ba60DSZjfjHvvNJgn=MiRGH7xKWNsEg3-gT9Bgw@mail.gmail.com> (raw)
In-Reply-To: <4468368.09ZJF6YdcZ@weber.tmit.bme.hu>

On Wed, Jul 16, 2014 at 4:58 AM, Gabor Retvari <retvari@tmit.bme.hu> wrote:
> Hi,
>
> On Monday 14 July 2014 08:29:40 Josiah Schwab wrote:
>> Which export command are you using?
>>
>> I think you may be using the regular LaTeX exporter.  Adding beamer to
>> your LaTeX_CLASS is not sufficient (or necessary).  Rather, you want to
>> use the Beamer export commands.
>>
>> http://orgmode.org/manual/Beamer-export.html
>
> Thanks a lot, org-beamer-export-to-pdf seems to solve this issue.
>
> Interestingly, C-c C-e l P (thank you John for the tip) does not work by
> default as org-export-dispatch does not seem to know about beamer specific
> export commands initially. Only after running org-beamer-export-to-pdf once the
> beamer specific export options show up in the dispatcher's list. Strange.
>
> Anyways, it would be nice to have this behavior better documented. Maybe a huge
> warning in the tutorial saying "Use beamer export options, standard LaTeX
> export will screw up your slide structure!" or somesuch. I see now that the
> tutorial mentions that "tutorials and references available for both org-mode
> itself, for LaTeX exporting, and for Beamer Class Export", but the link to the
> "Beamer Class Export" document does not quite work.
>
> http://orgmode.org/worg/exporters/beamer/tutorial.html

Sorry... looks like a by-product of still being pretty recent on the
new export engine and thus we have some instances of both new/old
instruction sets being out there in the wild. Can you see if this
works properly?
- http://orgmode.org/worg/exporters/beamer/ox-beamer.html

Aka, simply having this in .emacs:

(require 'ox-latex)
(add-to-list 'org-latex-classes
             '("beamer"
               "\\documentclass\[presentation\]\{beamer\}"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))


Good luck,
John


> Again, thank you for the help, it really is appreciated.
>
> Regards,
> Gabor
>
>

  parent reply	other threads:[~2014-07-16 14:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-12 12:50 Beamer export: can't get frame level right Gabor Retvari
2014-07-14 15:29 ` Josiah Schwab
2014-07-14 18:38   ` John Hendy
2014-07-16  9:58   ` Gabor Retvari
2014-07-16 14:45     ` Josiah Schwab
2014-07-16 14:54     ` John Hendy [this message]
2014-07-18 11:56       ` Gabor Retvari
2014-07-18 14:19         ` John Hendy

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='CA+M2ft_SWy7Ba60DSZjfjHvvNJgn=MiRGH7xKWNsEg3-gT9Bgw@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jschwab@gmail.com \
    --cc=retvari@tmit.bme.hu \
    /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).