emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Steve Prud'Homme" <sprudhom@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Problem orgmode, beamer and macport
Date: Sun, 7 Oct 2012 14:34:07 -0400	[thread overview]
Message-ID: <CAN6y2uiT1Hyz=OJRoUcjhqrxdwyU9sPQvnOYnA6sTmQby_++sw@mail.gmail.com> (raw)

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

Ok so i've install on my mac :
1. Macport
2. Emacs 24
3. Texlive

I want to make presentation with beamer :
Tutorial :
http://emacs-fu.blogspot.ca/2009/10/writing-presentations-with-org-mode-and.html
I've put this on my .emac
--

;; allow for export=>beamer by placing
;; #+LaTeX_CLASS: beamer in org files(unless (boundp 'org-export-latex-classes)
  (setq org-export-latex-classes nil))
(add-to-list 'org-export-latex-classes
  ;; beamer class, for presentations  '("beamer"
     "\\documentclass[11pt]{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}")

     ("\\begin{frame}[fragile]\\frametitle{%s}"
       "\\end{frame}"
       "\\begin{frame}[fragile]\\frametitle{%s}"
       "\\end{frame}")))

  ;; letter class, for formal letters
  (add-to-list 'org-export-latex-classes

  '("letter"
     "\\documentclass[11pt]{letter}\n
      \\usepackage[utf8]{inputenc}\n
      \\usepackage[T1]{fontenc}\n
      \\usepackage{color}"

     ("\\section{%s}" . "\\section*{%s}")
     ("\\subsection{%s}" . "\\subsection*{%s}")
     ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
     ("\\paragraph{%s}" . "\\paragraph*{%s}")
     ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
--

After i've put this in one of my file

--
#+LaTeX_CLASS: beamer#+MACRO: BEAMERMODE presentation#+MACRO:
BEAMERTHEME Antibes#+MACRO: BEAMERCOLORTHEME lily#+MACRO:
BEAMERSUBJECT RMRF#+MACRO: BEAMERINSTITUTE Miskatonic University,
Astrology Dept.#+TITLE: Presentation with Org-Mode and Beamer#+AUTHOR:
Someone
--
Ive do c-e p to produce a pdf
This is the after message :
--
#+LaTeX_CLASS: beamer#+MACRO: BEAMERMODE presentation#+MACRO:
BEAMERTHEME Antibes#+MACRO: BEAMERCOLORTHEME lily#+MACRO:
BEAMERSUBJECT RMRF#+MACRO: BEAMERINSTITUTE Miskatonic University,
Astrology Dept.#+TITLE: Presentation with Org-Mode and Beamer#+AUTHOR:
Someone
--

What do i have to do to fix that.
Thanks


-- 
Posté par Steve Prud'Homme
sprudhom@gmail.com
514 466-3951

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

         reply	other threads:[~2012-10-07 18:34 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <sprudhom@gmail.com>
2011-12-21 18:17 ` Custom title page in org-mode Steve Prud'Homme
2011-12-21 22:15   ` Nick Dokos
2011-12-21 22:23     ` John Hendy
2011-12-21 23:25       ` Nick Dokos
2011-12-21 23:52         ` Nick Dokos
2011-12-22  2:03         ` John Hendy
2011-12-22  3:01           ` Nick Dokos
2011-12-23 12:54           ` Bastien
2012-10-07 18:34 ` Steve Prud'Homme [this message]
2012-10-07 22:55   ` Problem orgmode, beamer and macport Nick Dokos
2012-10-07 23:06     ` Steve Prud'Homme
2012-10-07 23:38       ` Nick Dokos
2012-10-07 23:42         ` Nick Dokos
2012-10-08 17:08           ` cberry

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='CAN6y2uiT1Hyz=OJRoUcjhqrxdwyU9sPQvnOYnA6sTmQby_++sw@mail.gmail.com' \
    --to=sprudhom@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).