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

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

On Wed, Dec 2, 2015 at 12:17 PM, Jinli Feng <postgtd@gmail.com> wrote:
>
>
> 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:

[snip]

>> 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?
>

I just used a minimal config (below), and I get what appears to be the
same! I have an author/date on the front page, though. No idea how to
explain that one... I attached my generated .pdf if that helps. Do you
get any errors during compilation, or perhaps want to see if there's
any output in the *Org LaTeX Errors* (or something like that) buffer?
I wonder if there's a package that you could be missing... though
beamer should be pretty standard/straightforward and with everything
else working, I don't understand why that wouldn't work.

> 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!

Happy to help. I recall following along from a distance as the mailing
list elisp experts were formalizing everything, seriously having no
idea what was going on. Then it was released and seemed like I might
as well figure out what this was all about. Glad you were able to
migrate and hope there wasn't *too* much pain involved!


John

>
>>
>> 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: beamer-test.org --]
[-- Type: application/octet-stream, Size: 673 bytes --]

#+STARTUP: beamer
#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation, smaller]
#+BEAMER_THEME: Rochester
#+BEAMER_COLOR_THEME:
#+BEAMER_FRAME_LEVEL: 3

#+TITLE: Test Frame title
#+AUTHOR:  dummy
#+DATE:      \today

#+LANGUAGE:  en

* Section 1
** SubSection 1.1
*** Slide 1.1.1 frame title
    - blah blah I am first frame content
    - content itme 2
*** Slide 1.1.2 frame title
    - dummy
* Section 2
** SubSection 2.1
*** Slide 2.1.1 frame title
    - blah blah I am first frame content
    - content itme 2
*** Slide 2.1.2 frame title
    - block 1
      - item 1
      - item 2
    - block 2

[-- Attachment #3: beamer-test.pdf --]
[-- Type: application/pdf, Size: 33022 bytes --]

[-- Attachment #4: min-config --]
[-- Type: application/octet-stream, Size: 514 bytes --]

;; set load paths
;; set load dirs and global config options
(add-to-list 'load-path "~/.elisp/org.git/lisp/")
(add-to-list 'load-path "~/.elisp/org.git/contrib/lisp")

(require 'ox-latex)
(require 'ox-beamer)

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

  reply	other threads:[~2015-12-03  3:08 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
2015-12-03  3:08         ` John Hendy [this message]
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='CA+M2ft-wZZn2Qq24xasmjLKS_=UNbLPhNWf7-Yiz4YF7kX9rPA@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=postgtd@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).