emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with beamer export
@ 2013-10-07  0:14 Marvin Doyley
  2013-10-07 15:09 ` Nicolas Goaziou
  0 siblings, 1 reply; 12+ messages in thread
From: Marvin Doyley @ 2013-10-07  0:14 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

Hi there,

I just updated to Org 8.2.1 and for some reason when I export a frame I get

\subsection{Title}


rather than

\begin{frame}{Title}

\end{frame}


Is this a bug or am I doing something wrong ?

In my .emacs file, I have

(add-to-list 'org-latex-classes
            '("beamer"
"
\\makeatletter\\let\\ifGm@compatii\\relax\\makeatother
\\documentclass\[t]{beamer\}"
 ("\\section\{%s\}" . "\\section*\{%s\}")
  ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
 ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
))

Maybe, I missed something.

Thanks
M

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Problem with beamer export
@ 2013-10-07  0:45 Marvin Doyley
  2013-10-07  1:23 ` John Hendy
  0 siblings, 1 reply; 12+ messages in thread
From: Marvin Doyley @ 2013-10-07  0:45 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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

For more clarification
Here is a simple test file
#+STARTUP: beamer
#+LATEX_CMD: xelatex
#+LaTeX_CLASS: beamer
#+TITLE: Testing
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_HEADER: \input{header_beamer} \date{}
#+COLUMNS: %35ITEM %10BEAMER_env(Env) %10BEAMER_envargs(Env Args)
%4BEAMER_col(Col) %8BEAMER_OPT(opt)
#+OPTIONS:   H:2 num:t toc:nil \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t
#+EXPORT_EXCLUDE_TAGS: noexport

* Intro
** Apples
** Pears
- 1
- 2
- 3
** Cars

Ideally,

Apples & Cars should be two blank slide with just the frame titles, while
slide Pears should have bullets 1, 2 & 3.

This is what the file export to


\makeatletter\let\ifGm@compatii\relax\makeatother
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{rotating}
\usepackage[normalem]{ulem}
\usepackage{amsmath}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\input{header_beamer} \date{}
\usetheme{default}
\author{Marvin M. Doyley}
\date{\today}
\title{Testing}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Emacs 24.3.1 (Org mode 8.2.1)}}
\begin{document}

\maketitle

\section{Intro}
\label{sec-1}
\subsection{Apples}
\label{sec-1-1}
\subsection{Pears}
\label{sec-1-2}
\begin{itemize}
\item 1
\item 2
\item 3
\end{itemize}

\subsection{Cars}
\label{sec-1-3}
% Emacs 24.3.1 (Org mode 8.2.1)
\end{document}

Header_beamer.tex is
\usetheme{split}
\setbeamertemplate{footline}[split theme]
%% Beamer style
\setbeamerfont{frametitle}{family=\rmfamily,shape=\itshape}
\setbeamercovered{invisible}
\setbeamertemplate{itemize subitem}[circle]
\setbeamertemplate{frametitle}[default][center]
\setbeamertemplate{navigation symbols}{}

\newcommand{\pdd}[2]{\frac{\partial {#1}}{\partial {#2}}}         % partial
derivative
\newcommand{\ave}[1]{\left\langle#1\right\rangle}   % average <x>
\newcommand{\var}[1]{\sigma}                                      % for
variance
\newcommand{\abs}[1]{\left|#1\right|}                             %
modulus/absolute value
\newcommand{\uv}[1]{\ensuremath{\mathbf{\hat{#1}}}}               % for
unit vector
\newcommand{\degree}{\ensuremath{^\circ}}                         % degree

\renewcommand{\div}[1]{\gv{\nabla} \cdot #1}                      % for
divergence
\newcommand{\curl}[1]{\gv{\nabla} \times #1}                      % for curl
\newcommand{\grad}[1]{\gv{\nabla} #1}                             % for
gradient
\newcommand{\integrate}[2]{\ensuremath{\int_{#1}^{#2}}}
%Intregral with lower and upper limits
\newcommand{\summation}[2]{\displaystyle{\sum_{#1}^{#2}}}
\newcommand{\padd}[1]{\textcolor{blue}{#1}}
\newcommand{\cvb}[1]{\left(#1\right)} % ( ) delimiters
\newcommand{\clyb}[1]{\left\{#1\right\}} % { } delimiters
\newcommand{\sqb}[1]{\left[#1\right]} % [ ] delimiters
\newcommand{\sinc}{{\rm sinc}}
\newcommand{\Image}[2]{\begin{figure}\includegraphics[scale=#1]{Img/#2}\end{figure}}
       %
\newcommand{\cntr}[1]{\begin{center}#1\end{center}}
\newcommand{\eqn}[1]{\begin{equation}#1\end{equation}}
\author{Marvin Doyley \\ \copyright Copyright 2013}
\institute{University of Rochester \\ Hajim School of Engineering and
Applied Science}

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Problem with beamer export
@ 2013-10-08  2:35 Marvin Doyley
  2013-10-08 17:06 ` Achim Gratz
  0 siblings, 1 reply; 12+ messages in thread
From: Marvin Doyley @ 2013-10-08  2:35 UTC (permalink / raw)
  To: Stromeko; +Cc: emacs-orgmode@gnu.org

The problem is now solved. I downloaded the latest update and everything works like a charm.

I still get some strange errors during completion.

Here is the result of the make config-all

========= Emacs executable and Installation paths
EMACS	= emacs
DESTDIR	=
ORGCM	= dirall
ORG_MAKE_DOC	= info html pdf
lispdir	= /usr/share/emacs/site-lisp/org
infodir	= /usr/share/info
datadir	= /usr/share/emacs/etc/org
testdir	= /var/folders/70/h1dqf9dn3997jbfptpp2fxlm0000gn/T//tmp-orgtest
========= Additional files from contrib/lisp


========= Test configuration
BTEST_PRE	=
BTEST_POST	=
BTEST_OB_LANGUAGES	= awk C fortran maxima lilypond octave python sh perl
BTEST_EXTRA	=

========= Executables used by make
CP	= install -m 644 -p
MKDIR	= install -m 755 -d
RM	= rm -f
RMR	= rm -fr
FIND	= find
SUDO	= sudo
PDFTEX	= pdftex
TEXI2PDF	= texi2pdf --batch --clean --expand
TEXI2HTML	= makeinfo --html --number-sections
MAKEINFO	= makeinfo
INSTALL_INFO	= install-info

========= Commands used by make
BATCH	= emacs -batch -Q --eval '(setq vc-handled-backends nil)'
BATCHL	= emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '"'"'load-path ".")'
ELC	= emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '"'"'load-path ".")' --eval '(batch-byte-compile)'
ELCDIR	= emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '"'"'load-path ".")' --eval '(batch-byte-recompile-directory 0)'
BTEST	= emacs -batch -Q --eval '(setq vc-handled-backends nil)'  --eval '(add-to-list '"'"'load-path "./lisp")' --eval '(add-to-list '"'"'load-path "./testing")'  -l org-loaddefs.el -l testing/org-test.el --eval '(require '"'"'ob-awk)' --eval '(require '"'"'ob-C)' --eval '(require '"'"'ob-fortran)' --eval '(require '"'"'ob-maxima)' --eval '(require '"'"'ob-lilypond)' --eval '(require '"'"'ob-octave)' --eval '(require '"'"'ob-python)' --eval '(require '"'"'ob-sh)' --eval '(require '"'"'ob-perl)'  --eval '(setq org-confirm-babel-evaluate nil)'
MAKE_LOCAL_MK	= emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '"'"'load-path "./lisp")' --eval '(load "org-compat.el")' --eval '(load "../mk/org-fixup.el")' --eval '(org-make-local-mk)'
MAKE_ORG_INSTALL	= emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '"'"'load-path ".")' --eval '(load "org-compat.el")' --eval '(load "../mk/org-fixup.el")' --eval '(org-make-org-loaddefs)'
MAKE_ORG_VERSION	= emacs -batch -Q --eval '(setq vc-handled-backends nil)' --eval '(add-to-list '"'"'load-path ".")' --eval '(load "org-compat.el")' --eval '(load "../mk/org-fixup.el")' --eval '(org-make-org-version "8.2.1" "release_8.2.1-80-g21b110" "'/usr/share/emacs/etc/org'")'
========= Org version
make:  Org-mode version 8.2.1 (release_8.2.1-80-g21b110 => /usr/share/emacs/site-lisp/org)

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

end of thread, other threads:[~2013-10-10  2:37 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-07  0:14 Problem with beamer export Marvin Doyley
2013-10-07 15:09 ` Nicolas Goaziou
2013-10-10  2:36   ` Ista Zahn
  -- strict thread matches above, loose matches on Subject: below --
2013-10-07  0:45 Marvin Doyley
2013-10-07  1:23 ` John Hendy
2013-10-07  1:31   ` Marvin Doyley
2013-10-07  1:36     ` John Hendy
2013-10-07  1:49       ` Marvin Doyley
2013-10-07  4:43         ` Marcin Borkowski
2013-10-07 18:39         ` Achim Gratz
2013-10-08  2:35 Marvin Doyley
2013-10-08 17:06 ` Achim Gratz

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