当我尝试为Org-mode制作自定义beamer类通过操作org-export-latex-classes
时,我会做以下操作:
(add-to-list 'org-export-latex-classes
'("mybeamer"
"\\documentclass{beamer}
\\usepackage{...}
[NO-DEFAULT-PACKAGES]
[NO-PACKAGES]
[EXTRA]"
("\\section{%s}" . "\\section*{%s}")
("\\subsection{%s}" . "\\subsection*{%s}")
("\\subsubsection{%s}" . "\\subsubsection*{%s}")
("\\paragraph{%s}" . "\\paragraph*{%s}")
("\\subparagraph{%s}" . "\\subparagraph*{%s}")))
很明显,这对beamer并不起作用,因为它以其他方式而不是按章节结构化内容。我该如何让Org-mode与beamer结构内容的方式兼容?