Alan Schmitt wrote:
> I think this letter class is wrong. Here is mine for beamer (note the
> "\[" before the options to be substituted by the export process):
>
> (add-to-list 'org-latex-classes
>              '("beamer"
>                "\\documentclass[presentation]{beamer}
> \[DEFAULT-PACKAGES]
> \[PACKAGES]
> \[EXTRA]"
>                ("\\section{%s}" . "\\section*{%s}")
>                ("\\subsection{%s}" . "\\subsection*{%s}")
>                ("\\subsubsection{%s}" . "\\subsubsection*{%s}")))

Note that you don't need to escape the `[' with `\': it's not a regexp simply
a string; hence, `[' does not need to be escaped.

Best regards,
  Seb

-- 
Sebastien Vauban


Reply via email to