emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* missing frame title using org beamer export
@ 2015-12-02  6:42 mypostgtd
  2015-12-02 13:19 ` Eric S Fraga
  0 siblings, 1 reply; 8+ messages in thread
From: mypostgtd @ 2015-12-02  6:42 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-12-03  3:08 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2015-12-02 18:03     ` Eric S Fraga
2015-12-02 18:20       ` Jinli Feng

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).