logo Debian Debian Debian-France Debian-Facile Debian-fr.org Forum-Debian.fr Debian ? Communautés logo inclusivité

Debian-facile

Bienvenue sur Debian-Facile, site d'aide pour les nouveaux utilisateurs de Debian.

Vous n'êtes pas identifié(e).

#1 30-04-2021 22:19:01

ploum
Membre
Lieu : Le Mans
Distrib. : Debian Bulleyes
Noyau : Linux 5.10.0-5-amd64
(G)UI : Gnome
Inscription : 19-11-2020

[Emacs] > [Orgmode] > [Beamer] > pdf wasn't produced

Bonjour à tous,

Je bloque sur la production de pdf ( Beamer) via orgmode.

J'ai bien installé le paquet texlive-latex-extra selon cette page https://www.reddit.com/r/emacs/comments … s_missing/ mais cela n'aboutit pas.

Si vous avez une idée ... je suis preneur.

Bon Week end ?
Ploum

Hors ligne

#2 30-04-2021 22:59:08

Philou92
Adhérent(e)
Lieu : Hauts de Seine
Distrib. : Debian bookworm
Noyau : Linux 6.1.0-13-amd64
(G)UI : LightDM et Xfce4.18
Inscription : 29-04-2015

Re : [Emacs] > [Orgmode] > [Beamer] > pdf wasn't produced

As-tu activé beamer ?
Vu dans la faq de orgmode :

How can I export to Latex Beamer?

The latex Beamer Class is a useful class for generating slide shows. The following can be used to export Org-mode documents to LaTeX beamer.
Add the following to your Emacs initialization file.

(unless (boundp 'org-latex-classes)
  (setq org-latex-classes nil))
(add-to-list 'org-latex-classes
             '("beamer"
               "\\documentclass[11pt]{beamer}\n\\usepackage[utf8]{inputenc}\n\\usepackage[T1]{fontenc}\n\\usepackage{hyperref}\n\\usepackage{verbatim}\n"
               ("\\section{%s}" . "\\section*{%s}")
               ("\\begin{frame}\\frametitle{%s}" "\\end{frame}"
                "\\begin{frame}\\frametitle{%s}" "\\end{frame}")))

Then by placing

#+LaTeX_CLASS: beamer

in the header of your Org-mode document it will automatically export to the Beamer document class on LaTeX export. With the above configuration top-level headers will be mapped to sections in the Beamer document, second-level headers will be mapped to frames, and lower level headlines will be mapped to itemize objects.

This above is adapted from an email by Nick Dokos, and an email by Thomas Dye. For a much more complex Beamer setup see the email by Thomas Dye.

Dernière modification par Philou92 (30-04-2021 23:00:10)


Tousse antique Ovide !

Hors ligne

Pied de page des forums