From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Steve Prud'Homme" Subject: Problem orgmode, beamer and macport Date: Sun, 7 Oct 2012 14:34:07 -0400 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d041825eaab4a0a04cb7c599b Return-path: Received: from eggs.gnu.org ([208.118.235.92]:57403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKvg2-0006p0-UM for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 14:34:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKvg1-0001IM-JD for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 14:34:10 -0400 Received: from mail-wi0-f171.google.com ([209.85.212.171]:45577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKvg1-0001I3-2x for emacs-orgmode@gnu.org; Sun, 07 Oct 2012 14:34:09 -0400 Received: by mail-wi0-f171.google.com with SMTP id hj13so2467607wib.12 for ; Sun, 07 Oct 2012 11:34:07 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --f46d041825eaab4a0a04cb7c599b Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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=3D>beamer by placing ;; #+LaTeX_CLASS: beamer in org files(unless (boundp 'org-export-latex-clas= ses) (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=3Dnone,language=3D[ISO]C++,tabsize=3D4, frame=3Dsingle, basicstyle=3D\\small, showspaces=3Dfalse,showstringspaces=3Dfalse, showtabs=3Dfalse, keywordstyle=3D\\color{blue}\\bfseries, commentstyle=3D\\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 --=20 Post=E9 par Steve Prud'Homme sprudhom@gmail.com 514 466-3951 --f46d041825eaab4a0a04cb7c599b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok so i've install on my mac :
1. Macport
2. Emacs 24
3. Texli= ve

I want to make presentation with beamer :
Tutorial :
http://emacs-fu.blogspot.ca/2009/10/writing-pres= entations-with-org-mode-and.html
I've put this on my .emac
--
;; a=
llow for export=3D>beamer by placing

;; #+LaTeX_CLASS: beamer in org files
(unless (boundp 'org-export-l=
atex-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=3Dnone,language=3D[ISO]C++,tabsize=3D4,
  frame=3Dsingle,
  basicstyle=3D\\small,
  showspaces=3Dfalse,showstringspaces=3Dfalse,
  showtabs=3Dfalse,
  keywordstyle=3D\\color{blue}\\bfseries,
  commentstyle=3D\\color{red},
  }\n
      \\usepackage{verbatim}\n
      \\institute{{{{beamerinstitute}}}}\n         =20
       \\subject{{{{beamersubject}}}}\n"

     ("\\section{%s}" . "\\section*{%s}")
    =20
     ("\\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}"
    =20
     ("\\section{%s}" . "\\section*{%s}")
     ("\\subsection{%s}" . "\\subsection*{%s}")
     ("\\subsubsection{%s}" . <=
span class=3D"org-string">"\\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 Unive= rsity, Astrology Dept. #+TITLE: Presentation with Org-Mode and B= eamer #+AUTHOR: Someone
--
Ive do c-e p t= o 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 Unive= rsity, Astrology Dept. #+TITLE: Presentation with Org-Mode and B= eamer #+AUTHOR: Someone
--

What do i = have to do to fix that.
Thanks

--
Post=E9 par St= eve Prud'Homme
sprudhom@gmail.com
514 466-3951

--f46d041825eaab4a0a04cb7c599b--