From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: Latex "Missing number, treated as zero." Date: Mon, 02 Dec 2013 14:14:58 +0100 Message-ID: References: <529B77E3.3070400@wilkesley.net> <87siucxquf.fsf@strey.biz> <529C7071.1040009@wilkesley.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46144) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnTOd-00085b-83 for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 08:18:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnTOV-0003Wi-Rt for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 08:18:43 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:58876) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnTOV-0003WX-LL for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 08:18:35 -0500 In-reply-to: <529C7071.1040009@wilkesley.net> 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@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: ian@manor-farm.org Cc: emacs-orgmode@gnu.org lists@wilkesley.net writes: >> Here is what I have in this variable for my letter class: >> >> ,---- >> | ("letter_private" "\\documentclass[fontsize=11pt,strey_privat]{scrlttr2}\n\\LoadLetterOption{DIN}\n[NO-DEFAULT-PACKAGES]\n[PACKAGES]\n[EXTRA]" >> | ("\\section{%s}" . "\\section*{%s}") >> | ("\\subsection{%s}" . "\\subsection*{%s}") >> | ("\\subsubsection{%s}" . "\\subsubsection*{%s}")) >> `---- I think this letter class is wrong. Here is mine for beamer (note the "\[" before the options to be substituted by the export process): --8<---------------cut here---------------start------------->8--- (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}"))) --8<---------------cut here---------------end--------------->8--- > Looking at how org produces the pdf file it uses the "nonstopmode" in > the command line arguments to pdflatex. So when I used xelatex with this > option: > > xelatex -interaction=nonstopmode test.tex This tell latex to continue compiling even if there are errors. I'm not sure you want to rely on this. Alan