From: mypostgtd <postgtd@gmail.com>
To: emacs-orgmode@gnu.org
Subject: missing frame title using org beamer export
Date: Wed, 2 Dec 2015 06:42:27 +0000 (UTC) [thread overview]
Message-ID: <loom.20151202T073208-770@post.gmane.org> (raw)
- 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?
- debug trials and observations
1. The same org file works fine in org-mode version 7.8.08.
However, in org version 8.3.2, the frame titles are missing
2. I tried to add following to the .emacs, but it didn't seem to help.
[source: http://emacs-fu.blogspot.com/2009/10/
writing-presentations-with-org-mode-and.html]
;; allow for export=>beamer by placing
;; #+LaTeX_CLASS: beamer in org files
(unless (boundp 'org-latex-classes)
(setq org-latex-classes nil))
(add-to-list 'org-latex-classes
;; beamer class, for presentations
'("beamer"
"\\documentclass\[8pt\]\{beamer\}\n
\\mode<{{{beamermode}}}>\n
\\usetheme{{{{beamertheme}}}}\n
\\usecolortheme{{{{beamercolortheme}}}}\n
\\beamertemplateballitem\n
\\setbeameroption{show notes}
\\usepackage[utf8]{inputenc}\n
\\usepackage[T1]{fontenc}\n
\\usepackage{hyperref}\n
\\usepackage{color}
\\usepackage{listings}
\\lstset{numbers=none,language=[ISO]C++,tabsize=4,
frame=single,
basicstyle=\\small,
showspaces=false,showstringspaces=false,
showtabs=false,
keywordstyle=\\color{blue}\\bfseries,
commentstyle=\\color{red},
}\n
\\usepackage{verbatim}\n
\\institute{{{{beamerinstitute}}}}\n
\\subject{{{{beamersubject}}}}\n"
("\\section{%s}" . "\\section*{%s}")
("\\subsection\{%s\}" . "\\subsection*\{%s\}")
("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")
("\\paragraph\{%s\}" . "\\paragraph*\{%s\}")
;; ("\\begin{frame}[fragile]\\frametitle{%s}"
;; "\\end{frame}"
;; "\\begin{frame}[fragile]\\frametitle{%s}"
;; "\\end{frame}")
))
- org file contents
#+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
- to debug, I used a fresh .emacs file, with minimum settings as below:
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(org-beamer-frame-level 3)
'(org-export-backends (quote (ascii beamer html icalendar latex org))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
)
- As shown in the .tex file, the exported file is missing all frame titles.
\documentclass[presentation, smaller]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{grffile}
\usepackage{longtable}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{amssymb}
\usepackage{capt-of}
\usepackage{hyperref}
\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
\tableofcontents
\section{Section 1}
\label{sec:orgheadline4}
\subsection{SubSection 1.1}
\label{sec:orgheadline3}
\subsubsection{Slide 1.1.1 frame title}
\label{sec:orgheadline1}
\begin{itemize}
\item blah blah I am first frame content
\item content itme 2
\end{itemize}
\subsubsection{Slide 1.1.2 frame title}
\label{sec:orgheadline2}
\begin{itemize}
\item dummy
\end{itemize}
\section{Section 2}
\label{sec:orgheadline8}
\subsection{SubSection 2.1}
\label{sec:orgheadline7}
\subsubsection{Slide 2.1.1 frame title}
\label{sec:orgheadline5}
\begin{itemize}
\item blah blah I am first frame content
\item content itme 2
\end{itemize}
\subsubsection{Slide 2.1.2 frame title}
\label{sec:orgheadline6}
\begin{itemize}
\item block 1
\begin{itemize}
\item item 1
\item item 2
\end{itemize}
\item block 2
\end{itemize}
\end{document}
next reply other threads:[~2015-12-02 6:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-02 6:42 mypostgtd [this message]
2015-12-02 13:19 ` missing frame title using org beamer export 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
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=loom.20151202T073208-770@post.gmane.org \
--to=postgtd@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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).