[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] cannot export to beamer.
From: |
Uwe Brauer |
Subject: |
Re: [O] cannot export to beamer. |
Date: |
Sat, 15 Dec 2018 21:43:07 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>>> "Josiah" == Josiah Schwab <address@hidden> 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.
smime.p7s
Description: S/MIME cryptographic signature
- [O] cannot export to beamer., Uwe Brauer, 2018/12/15
- Re: [O] cannot export to beamer., Ken Mankoff, 2018/12/15
- Re: [O] cannot export to beamer., Josiah Schwab, 2018/12/15
- Re: [O] cannot export to beamer., Colin Baxter, 2018/12/15
- Re: [O] cannot export to beamer., Uwe Brauer, 2018/12/15
- Re: [O] cannot export to beamer.,
Uwe Brauer <=
- Re: [O] cannot export to beamer., Eric S Fraga, 2018/12/16
- Re: [O] cannot export to beamer., Uwe Brauer, 2018/12/16
- Re: [O] cannot export to beamer., Tim Cross, 2018/12/16
- Re: [O] cannot export to beamer., Uwe Brauer, 2018/12/16
- Re: [O] cannot export to beamer., Tim Cross, 2018/12/16
- Re: [O] cannot export to beamer., Ken Mankoff, 2018/12/16
- Re: [O] cannot export to beamer., Uwe Brauer, 2018/12/16
- Re: [O] cannot export to beamer., Eric S Fraga, 2018/12/16
- Re: [O] cannot export to beamer., Uwe Brauer, 2018/12/17
- Re: [O] cannot export to beamer., Eric S Fraga, 2018/12/17