From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Tangled Latex code gives error Date: Mon, 27 Apr 2015 10:33:52 +0100 Message-ID: <87iochkj9b.fsf@ucl.ac.uk> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60898) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmfQR-0002rl-N0 for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 05:34:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YmfQM-0005lO-1e for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 05:34:03 -0400 Received: from mail-am1on0129.outbound.protection.outlook.com ([157.56.112.129]:21194 helo=emea01-am1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YmfQL-0005lE-P3 for emacs-orgmode@gnu.org; Mon, 27 Apr 2015 05:33:57 -0400 In-Reply-To: (Lawrence Bottorff's message of "Sun, 26 Apr 2015 19:20:31 -0400") 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: Lawrence Bottorff Cc: emacs-orgmode@gnu.org On Sunday, 26 Apr 2015 at 19:20, Lawrence Bottorff wrote: > I'm following the Latex howto of org-mode babel. Here's the snippet from > the howto I've got in a separate .org file (see bottom of howto page): [...] > My real confusion starts when I try to tangle the babel code blocks. The > C-c C-v t command produces two separate files just fine, a .tex and .el, > but then if I try to Run Latex on the .tex file just by itself it gives an > error. Here's what the org-mode tangle produces: Why do you wish to tangle? The LaTeX will definitely not work standalone as it is not complete. You can export your document to LaTeX (C-c C-e l l) which is probably what you want? -- : Eric S Fraga (0xFFFCF67D), Emacs 25.0.50.1, Org release_8.3beta-1062-gce4e64