emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Beamer with org-mode
       [not found] <mailman.67.1536508819.25356.emacs-orgmode@gnu.org>
@ 2018-09-10 15:09 ` gmx
  2018-09-11  8:13   ` Eric S Fraga
  0 siblings, 1 reply; 2+ messages in thread
From: gmx @ 2018-09-10 15:09 UTC (permalink / raw)
  To: emacs-orgmode

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

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.



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

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

* Re: Beamer with org-mode
  2018-09-10 15:09 ` Beamer with org-mode gmx
@ 2018-09-11  8:13   ` Eric S Fraga
  0 siblings, 0 replies; 2+ messages in thread
From: Eric S Fraga @ 2018-09-11  8:13 UTC (permalink / raw)
  To: gmx; +Cc: emacs-orgmode

On Monday, 10 Sep 2018 at 17:09, gmx wrote:

[...]

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

Maybe add

  #+beamer_theme: keynote-gradient

to your org file?

-- 
Eric S Fraga via Emacs 27.0.50, Org release_9.1.13-783-g97fac4

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

end of thread, other threads:[~2018-09-11  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.67.1536508819.25356.emacs-orgmode@gnu.org>
2018-09-10 15:09 ` Beamer with org-mode gmx
2018-09-11  8:13   ` Eric S Fraga

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