From mboxrd@z Thu Jan 1 00:00:00 1970 From: gmx Subject: Beamer with org-mode Date: Mon, 10 Sep 2018 17:09:54 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------481FBDA5608BB74E8D8D5C23" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fzNpF-0003kZ-7N for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 11:10:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fzNpA-0007hd-4w for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 11:10:05 -0400 Received: from mout.gmx.net ([212.227.15.19]:54169) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fzNp9-0007fz-OQ for emacs-orgmode@gnu.org; Mon, 10 Sep 2018 11:10:00 -0400 Received: from [192.168.0.1] ([78.211.104.2]) by mail.gmx.com (mrgmx003 [212.227.17.184]) with ESMTPSA (Nemesis) id 0Luxaj-1fqp8M3sH3-0108Zd for ; Mon, 10 Sep 2018 17:09:56 +0200 In-Reply-To: Content-Language: fr 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" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------481FBDA5608BB74E8D8D5C23 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hello, I have completed .emacs with the indications found here (http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-and.html), and I modified it : ;; Utilisation de la classe beamer ;; #+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,french]{beamer}\n       \\mode<{{{beamermode}}}>\n       \\setbeameroption{show notes}       \\usepackage[utf8]{inputenc}\n       \\usepackage[T1]{fontenc}\n \\\usepackage{babel} \\\usetheme{keynote-gradient} \\\usepackage{beamerthemesplit} \\\usepackage{csquotes}       \\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}"))) The modifications concerned the French language and the use of a personal theme (adapted from an original model), stored in the following folder: home/MySelf/texmf/tex. Here is an example of a recent work (preambule only) : #+TITLE: title #+DATE: today #+AUTHOR: myself #+STARTUP: beamer #+LaTeX_CLASS: beamer #+LaTeX_CLASS_OPTIONS: [bigger] #+BEAMER_FRAME_LEVEL: 2 #+OPTIONS: toc:nil And the frames... When I work with Texstudio (my theme is called in this form: \usepackage{keynote-gradient}*), no problem: the theme is perfectly recognized. But not with org-mode. Please, how can I get my theme recognized? Thank you very much for your advice, Frédéric * In org-mode, \usetheme{keynote-gradient}ou \usepackage{keynote-gradient}have the same effects : nothing. --------------481FBDA5608BB74E8D8D5C23 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hello,

I have completed .emacs with the indications found here (http://emacs-fu.blogspot.com/2009/10/writing-presentations-with-org-mode-and.html), and I modified it : 

;; Utilisation de la classe beamer
;; #+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,french]{beamer}\n
      \\mode<{{{beamermode}}}>\n

      \\setbeameroption{show notes}
      \\usepackage[utf8]{inputenc}\n
      \\usepackage[T1]{fontenc}\n
\\\usepackage{babel}
\\\usetheme{keynote-gradient}
\\\usepackage{beamerthemesplit}
\\\usepackage{csquotes}
      \\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}")))


The modifications concerned the French language and the use of a personal theme (adapted from an original model), stored in the following folder: home/MySelf/texmf/tex.

Here is an example of a recent work (preambule only) :
#+TITLE: title
#+DATE: today
#+AUTHOR: myself
#+STARTUP: beamer
#+LaTeX_CLASS: beamer
#+LaTeX_CLASS_OPTIONS: [bigger]
#+BEAMER_FRAME_LEVEL: 2
#+OPTIONS: toc:nil

And the frames...

When I work with Texstudio (my theme is called in this form: \usepackage{keynote-gradient}*), no problem: the theme is perfectly recognized. But not with org-mode.

Please, how can I get my theme recognized?

Thank you very much for your advice,

Frédéric

* In org-mode, \usetheme{keynote-gradient}ou  \usepackage{keynote-gradient}have the same effects : nothing.


--------------481FBDA5608BB74E8D8D5C23--