From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jinli Feng Subject: Re: missing frame title using org beamer export Date: Wed, 2 Dec 2015 13:17:32 -0500 Message-ID: References: <87r3j5ng2v.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113dd93ab4746e0525ee4986 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55562) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4ByB-0004xS-80 for emacs-orgmode@gnu.org; Wed, 02 Dec 2015 13:17:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a4By9-0006ZF-Bl for emacs-orgmode@gnu.org; Wed, 02 Dec 2015 13:17:35 -0500 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:35426) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a4By9-0006ZB-3J for emacs-orgmode@gnu.org; Wed, 02 Dec 2015 13:17:33 -0500 Received: by oige206 with SMTP id e206so29838615oig.2 for ; Wed, 02 Dec 2015 10:17:32 -0800 (PST) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: John Hendy Cc: emacs-orgmode --001a113dd93ab4746e0525ee4986 Content-Type: text/plain; charset=UTF-8 On Wed, Dec 2, 2015 at 11:21 AM, John Hendy wrote: > On Wed, Dec 2, 2015 at 9:46 AM, Jinli Feng wrote: > > > > > > On Wed, Dec 2, 2015 at 8:19 AM, Eric S Fraga 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 > > > > > --001a113dd93ab4746e0525ee4986 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable


On Wed, Dec 2, 2015 at 11:21 AM, John Hendy <jw.hendy@gmail.com&g= t; wrote:
On Wed, Dec 2, 2015 a= t 9:46 AM, Jinli Feng <postgtd@gmai= l.com> wrote:
>
>
> On Wed, Dec 2, 2015 at 8:19 AM, Eric S Fraga <e.fraga@ucl.ac.uk> wrote:
>>
>> On Wednesday,=C2=A0 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 coul= dn't find a
>> > solution.
>> > Can someone please advise?
>>
>> How did you actually export the file to beamer?=C2=A0 Your LaTeX f= ile seems
>> to be the result of a LaTeX export, not beamer.=C2=A0 Your org fil= e 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 y= ou
> 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 l= ook.
- Official upgrade notes: http://orgmode.org/worg/org-8.0.html
- Walkthrough attempt I made:
http://jwhendy.blogsp= ot.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 =3DC-c C-e l P=3D (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 =3DC-c C-e l P=3D. 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 properl= y exported and the frames look as expected. However, the pdf file is missin= g the title and author, with only the date showing on the front page.=C2=A0= I don't see anything obviously wrong in the tex file:

= \author{dummy}
\date{\today}
\title{Test Frame title}
\hypersetup{
=C2=A0pdfauthor=3D{dummy},
=C2=A0= pdftitle=3D{Test Frame title},
=C2=A0pdfkeywords=3D{},
= =C2=A0pdfsubject=3D{},
=C2=A0pdfcreator=3D{Emacs 24.3.2 (Org mode= 8.3.2)},
=C2=A0pdflang=3D{English}}
\begin{document}

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

<= /div>
Any idea why?

btw. I searched for hours about mi= grating from v7 to v8 of orgmode, but didn't come upon your blog. It co= uld've saved me so much headache! Maybe we should add yours as a link o= n the worg page? I've avoided the migration as per the rule "not b= reaking what works", but it's time to take the plunge and living t= hrough 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-g= 6b2c38
>
>

--001a113dd93ab4746e0525ee4986--