From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Strey Subject: Re: Latex "Missing number, treated as zero." Date: Sun, 01 Dec 2013 21:23:52 +0100 Message-ID: <87siucxquf.fsf@strey.biz> References: <529B77E3.3070400@wilkesley.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnDYk-0003Um-LX for Emacs-orgmode@gnu.org; Sun, 01 Dec 2013 15:24:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnDYe-0007rG-R5 for Emacs-orgmode@gnu.org; Sun, 01 Dec 2013 15:24:06 -0500 Received: from mx1.supremebox.com ([198.23.53.39]:40153) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnDYe-0007qo-N3 for Emacs-orgmode@gnu.org; Sun, 01 Dec 2013 15:24:00 -0500 In-reply-to: <529B77E3.3070400@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 Hi Ian, lists@wilkesley.net writes: > This is a Latex problem, but I am hoping someone here can trow some > light on it. No, it's not a LaTeX problem. > \documentclass{scrlttr2} \usepackage[english]{babel} [NO-DEFAULT-PACKAGES] This line is no valid LaTeX code. As you already mentioned, if you remove `[NO-DEFAULT-PACKAGES]', the pdflatex run works. Please check your Emacs variable org-latex-classes. 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}")) `---- Best regards Michael Strey -- http://www.strey.biz