emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jinli Feng <postgtd@gmail.com>
To: John Hendy <jw.hendy@gmail.com>
Cc: emacs-orgmode <emacs-orgmode@gnu.org>
Subject: Re: missing frame title using org beamer export
Date: Wed, 2 Dec 2015 13:17:32 -0500	[thread overview]
Message-ID: <CANTJ8S5j=WjmUAmRfk=+fJocQwhYf1dPqvxWdRyB7n=D56KDVw@mail.gmail.com> (raw)
In-Reply-To: <CA+M2ft_HmwFzWeE6rXVx6NeGzXM3dZhChUTtAS8hiR3ec2h90g@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 3038 bytes --]

On Wed, Dec 2, 2015 at 11:21 AM, John Hendy <jw.hendy@gmail.com> wrote:

> On Wed, Dec 2, 2015 at 9:46 AM, Jinli Feng <postgtd@gmail.com> wrote:
> >
> >
> > On Wed, Dec 2, 2015 at 8:19 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
> >>
> >> On Wednesday,  2 Dec 2015 at 06:42, mypostgtd wrote:
> >> > - issue: org mode beamer export ignored all frame titles
> >> >
> >> > I've tried searching online for couple of hours, but couldn't find a
> >> > solution.
> >> > Can someone please advise?
> >>
> >> How did you actually export the file to beamer?  Your LaTeX file seems
> >> to be the result of a LaTeX export, not beamer.  Your org file exports
> >> just fine for me.
> >
> >
> > Eric,
> >
> > Thanks for the rely. I used "C-c C-e l p" to export the file. For some
> > reason "C-c C-e p" no longer works in orgmode v8.3. I'm yet to figure out
> > how to bind that key directly to pdf output. Is this the same as how you
> > exported the file?
>
> As you may well be aware, Org changed a lot from 7.x -> 8.x. Have you
> been through the various upgrade documents out there? This will be one
> of many "surprises" you'll run into if you don't take a look.
> - Official upgrade notes: http://orgmode.org/worg/org-8.0.html
> - Walkthrough attempt I made:
>
> http://jwhendy.blogspot.com/2013/03/migrating-to-new-org-mode-exporter-org.html
> - Beamer for Org 8.x:
> http://orgmode.org/worg/exporters/beamer/ox-beamer.html
>
> In particular, I'm guessing you don't have the beamer class defined
> and aren't aware of =C-c C-e l P= (note capital P), which is the
> beamer export function now. It's just sufficient to just define the
> class as beamer and export to LaTeX.
>
> Quick answer: go to the second link above and copy that first code
> block into your .emacs. Reload your config (or just restart emacs),
> and do =C-c C-e l P=. See if that helps.
>

Thanks, John! I added the beamer definition and used the Upper case P which
almost did the trick, in the sense that all the headings are properly
exported and the frames look as expected. However, the pdf file is missing
the title and author, with only the date showing on the front page.  I
don't see anything obviously wrong in the tex file:

\author{dummy}
\date{\today}
\title{Test Frame title}
\hypersetup{
 pdfauthor={dummy},
 pdftitle={Test Frame title},
 pdfkeywords={},
 pdfsubject={},
 pdfcreator={Emacs 24.3.2 (Org mode 8.3.2)},
 pdflang={English}}
\begin{document}

\maketitle
\begin{frame}{Outline}
\tableofcontents
\end{frame}

Any idea why?

btw. I searched for hours about migrating from v7 to v8 of orgmode, but
didn't come upon your blog. It could've saved me so much headache! Maybe we
should add yours as a link on the worg page? I've avoided the migration as
per the rule "not breaking what works", but it's time to take the plunge
and living through the growing pain :) Thanks for the help!


> Hope that gets you pointed in the right direction!
>
>
> John
>
>
> >>
> >> --
> >> : Eric S Fraga (0xFFFCF67D), Emacs 24.5.1, Org release_8.3.2-359-g6b2c38
> >
> >
>

[-- Attachment #2: Type: text/html, Size: 4977 bytes --]

  reply	other threads:[~2015-12-02 18:17 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02  6:42 missing frame title using org beamer export mypostgtd
2015-12-02 13:19 ` Eric S Fraga
2015-12-02 15:46   ` Jinli Feng
2015-12-02 16:21     ` John Hendy
2015-12-02 18:17       ` Jinli Feng [this message]
2015-12-03  3:08         ` John Hendy
2015-12-02 18:03     ` Eric S Fraga
2015-12-02 18:20       ` Jinli Feng

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='CANTJ8S5j=WjmUAmRfk=+fJocQwhYf1dPqvxWdRyB7n=D56KDVw@mail.gmail.com' \
    --to=postgtd@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jw.hendy@gmail.com \
    /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).