emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Suvayu Ali <fatkasuvayu+linux@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [New exporter] Wrong export to LaTeX
Date: Thu, 11 Oct 2012 17:35:14 +0200	[thread overview]
Message-ID: <20121011153514.GA15182@kuru.dyndns-at-home.com> (raw)
In-Reply-To: <80391lm5p0.fsf@somewhere.org>

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

Hi Sebastien,

On Thu, Oct 11, 2012 at 04:41:47PM +0200, Sebastien Vauban wrote:
> 
> So, in my case, removing the above line does not solve anything.
> 
> There must be something obviously wrong somewhere (in my setup?) but I don't
> find what at this moment...
> 

I am attaching what I get with your ECM and my minimal emacs setup.  I
hope that will help narrow it down.

I export like this:

  $ emacs -Q --batch -l ~/.emacs.d/minimal-e-export.el beamer-test.org \
          -f org-e-beamer-export-to-pdf -f kill-emacs

-- 
Suvayu

Open source is the future. It sets us free.

[-- Attachment #2: beamer-test.org --]
[-- Type: text/plain, Size: 405 bytes --]

#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [presentation]
#+BEAMER_THEME: default
#+COLUMNS: %45ITEM %10BEAMER_env(Env) %10BEAMER_act(Act) %4BEAMER_col(Col) %8BEAMER_opt(Opt)
#+PROPERTY: BEAMER_col_ALL 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 0.0 :ETC
#+OPTIONS: H:2

* First section

** First frame

Introduction: why?

** Second frame

Objective is...

* Second section

** Third frame

Conclusions are...

[-- Attachment #3: beamer-test.tex --]
[-- Type: text/plain, Size: 1031 bytes --]

% Created 2012-10-11 Thu 17:31
\documentclass[presentation]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{fixltx2e}
\usepackage{graphicx}
\usepackage{longtable}
\usepackage{float}
\usepackage{wrapfig}
\usepackage{soul}
\usepackage{textcomp}
\usepackage{marvosym}
\usepackage{wasysym}
\usepackage{latexsym}
\usepackage{amssymb}
\usepackage{hyperref}
\tolerance=1000
\usetheme{default}
\author{Suvayu Ali}
\date{\today}
\title{beamer-test}
\hypersetup{
  pdfkeywords={},
  pdfsubject={},
  pdfcreator={Generated by Org mode 7.9.2 in Emacs 24.2.50.1.}}
\begin{document}

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


\section{First section}
\label{sec-1}

\begin{frame}[label=sec-1-1]{First frame}
Introduction: why?
\end{frame}
\begin{frame}[label=sec-1-2]{Second frame}
Objective is\ldots{}
\end{frame}
\section{Second section}
\label{sec-2}

\begin{frame}[label=sec-2-1]{Third frame}
Conclusions are\ldots{}
\end{frame}
% Generated by Org mode 7.9.2 in Emacs 24.2.50.1.
\end{document}

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

[-- Attachment #5: minimal-e-export.el --]
[-- Type: text/plain, Size: 1117 bytes --]

;;; Minimal setup to load latest `org-mode' and use org-export

;;; Code
(setq debug-on-error t
      debug-on-signal nil
      debug-on-quit nil)

(add-to-list 'load-path (expand-file-name "~/build/org-mode/lisp"))
(add-to-list 'load-path (expand-file-name "~/build/org-mode/contrib/lisp"))

;; load org-export and its backends
(load-library "org-export")
(load-library "org-e-latex")
(load-library "org-e-beamer")
(load-library "org-e-html")

(setq org-export-dispatch-use-expert-ui t ; non-intrusive export dispatch
      org-e-latex-pdf-process		; for experimental org-export
      '("pdflatex -interaction nonstopmode -output-directory %o %f"
	"pdflatex -interaction nonstopmode -output-directory %o %f"
	"pdflatex -interaction nonstopmode -output-directory %o %f"))

;; beamer export with the new exporter
(add-to-list 'org-e-latex-classes
             '("beamer"
               "\\documentclass\[presentation\]\{beamer\}"
               ("\\section\{%s\}" . "\\section*\{%s\}")
               ("\\subsection\{%s\}" . "\\subsection*\{%s\}")
               ("\\subsubsection\{%s\}" . "\\subsubsection*\{%s\}")))

      reply	other threads:[~2012-10-11 15:35 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-11 13:04 [New exporter] Wrong export to LaTeX Sebastien Vauban
2012-10-11 13:21 ` Nicolas Goaziou
2012-10-11 16:52   ` Suvayu Ali
2012-10-11 17:54     ` Nicolas Goaziou
2012-10-12 10:24       ` Suvayu Ali
2012-10-12 11:06         ` Sebastien Vauban
2012-10-12 11:32           ` Sebastien Vauban
2012-10-12 11:51             ` Nicolas Goaziou
2012-10-12 12:15             ` Suvayu Ali
2012-10-12 12:05           ` Suvayu Ali
2012-10-15 20:23             ` Sebastien Vauban
2012-10-15 20:42               ` Nicolas Goaziou
2012-10-16  7:49                 ` Sebastien Vauban
2012-10-12 12:09         ` Nicolas Goaziou
2012-10-12 12:19           ` Suvayu Ali
2012-10-11 13:45 ` Suvayu Ali
2012-10-11 14:41   ` Sebastien Vauban
2012-10-11 15:35     ` Suvayu Ali [this message]

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=20121011153514.GA15182@kuru.dyndns-at-home.com \
    --to=fatkasuvayu+linux@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).