emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Uwe Brauer <oub@mat.ucm.es>
To: emacs-orgmode@gnu.org
Subject: Re: cannot export to beamer.
Date: Sat, 15 Dec 2018 21:43:07 +0100	[thread overview]
Message-ID: <87sgyy4j38.fsf@mat.ucm.es> (raw)
In-Reply-To: 87y38qmzd9.fsf@gmail.com

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

>>> "Josiah" == Josiah Schwab <jschwab@gmail.com> writes:

   > Hi Uwe,
   >> Now I took the example
   >> https://orgmode.org/manual/A-Beamer-example.html#A-Beamer-example
   >> 
   >> And wanted to export it to beamer but obtained the message 
   >> user-error: Unknown LaTeX class ‘beamer’

   > This sounds to me like you are using the latex exporter, rather than the
   > beamer one.

   > After

   >   (require 'ox-beamer)

My problem can be caused that I have used custom to add the exam class.
So my relevant custom entries looks like

 '(org-latex-classes
   '(("article" "\\documentclass[12pt]{article}"
      ("\\section{%s}" . "\\section*{%s}")
      ("\\subsection{%s}" . "\\subsection*{%s}")
      ("\\subsubsection{%s}" . "\\subsubsection*{%s}")
      ("\\paragraph{%s}" . "\\paragraph*{%s}")
      ("\\subparagraph{%s}" . "\\subparagraph*{%s}"))
     ("report" "\\documentclass[12pt]{report}"
      ("\\part{%s}" . "\\part*{%s}")
      ("\\chapter{%s}" . "\\chapter*{%s}")
      ("\\section{%s}" . "\\section*{%s}")
      ("\\subsection{%s}" . "\\subsection*{%s}")
      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
     ("book" "\\documentclass[12pt]{book}"
      ("\\part{%s}" . "\\part*{%s}")
      ("\\chapter{%s}" . "\\chapter*{%s}")
      ("\\section{%s}" . "\\section*{%s}")
      ("\\subsection{%s}" . "\\subsection*{%s}")
      ("\\subsubsection{%s}" . "\\subsubsection*{%s}"))
     ("exam" "\\documentclass[12pt, addpoints, answers]{exam}"
      ("\\begin{questions}%%%s" "\\end{questions}" "\\begin{questions}%%%s" "\\end{questions}")
      ("\\titledquestion{%s}" . "")
      ("\\begin{parts}%%%s" "\\end{parts}" "\\begin{parts}%%%s" "\\end{parts}")
      ("\\part[%s] " . "")
      ("\\begin{subparts}%%%s" "\\end{subparts}" "\\begin{subparts}%%%s" "\\end{subparts}")
      ("\\subpart[%s] " . "")
      ("\\begin{solution}[%s]" "\\end{solution}" "\\begin{solution}[%s]" "\\end{solution}"))))


But heck, this is what custom is for!

If I don't figure it out I will send a bug report.

[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 5025 bytes --]

  parent reply	other threads:[~2018-12-15 20:49 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-15 17:38 cannot export to beamer Uwe Brauer
2018-12-15 17:49 ` Ken Mankoff
2018-12-15 17:54   ` Uwe Brauer
2018-12-17 14:20     ` Nick Dokos
2018-12-15 18:14 ` Josiah Schwab
2018-12-15 18:48   ` Colin Baxter
2018-12-15 19:30   ` Uwe Brauer
2018-12-15 20:43   ` Uwe Brauer [this message]
2018-12-16 10:25     ` Eric S Fraga
2018-12-16 18:16       ` Uwe Brauer
2018-12-16 19:21         ` Tim Cross
2018-12-16 21:01           ` Uwe Brauer
2018-12-16 21:36             ` Tim Cross
2018-12-16 19:46         ` Ken Mankoff
2018-12-16 21:11           ` Uwe Brauer
2018-12-16 22:37         ` Eric S Fraga
2018-12-17  8:02           ` Uwe Brauer
2018-12-17  9:53             ` Eric S Fraga

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=87sgyy4j38.fsf@mat.ucm.es \
    --to=oub@mat.ucm.es \
    --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).