From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Latex "Missing number, treated as zero." Date: Mon, 02 Dec 2013 15:09:21 +0100 Message-ID: <861u1vxs32.fsf@somewhere.org> References: <529B77E3.3070400@wilkesley.net> <87siucxquf.fsf@strey.biz> <529C7071.1040009@wilkesley.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org 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