From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: "org-nil" error in LaTeX export Date: Wed, 09 Mar 2011 13:14:08 -0500 Message-ID: <10173.1299694448@alphaville.dokosmarshall.org> References: <4D77BC4B.80809@gmail.com> <87mxl45gfi.fsf@gnu.org> Reply-To: nicholas.dokos@hp.com Return-path: Received: from [140.186.70.92] (port=49466 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PxNu7-00027f-KP for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 13:14:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PxNu6-0004Xd-2A for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 13:14:35 -0500 Received: from vms173019pub.verizon.net ([206.46.173.19]:41813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PxNu5-0004XC-Te for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 13:14:34 -0500 Received: from alphaville.dokosmarshall.org ([unknown] [173.76.32.106]) by vms173019.mailsrvcs.net (Sun Java(tm) System Messaging Server 7u2-7.02 32bit (built Apr 16 2009)) with ESMTPA id <0LHS00I8OYNKHWF0@vms173019.mailsrvcs.net> for emacs-orgmode@gnu.org; Wed, 09 Mar 2011 12:14:14 -0600 (CST) In-reply-to: Message from Bastien of "Wed, 09 Mar 2011 18:53:21 +0100." <87mxl45gfi.fsf@gnu.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: nicholas.dokos@hp.com, emacs-orgmode@gnu.org, Brenton Kenkel Bastien wrote: > Hi Brenton, > > Brenton Kenkel writes: > > > I am having a problem with exporting to LaTeX from org-mode. I am > > running org-mode 7.5 in Emacs 23.1.1 on 64-bit Ubuntu 10.10. > > I cannot reproduce it -- can you test with a bare emacs -q ? > > Also, please make sure to remove any previous Org installation. > I cannot reproduce it either: the only way that this could happen is if the :for-backend property is missing when org-export-preprocess-string is called. But org-export-latex-first-lines sets that explicitly - *if* you have a consistent version of org. But Brenton seems indeed to be using remnants of an old installation. His backtrace shows: ,---- | org-export-preprocess-string(#("#+TITLE: Test\n#+AUTHOR: test | author\n\n" 0 8 (fontified nil font-lock-fontified t) 8 9 (fontified | nil) 9 13 (fontified nil font-lock-fontified t) 13 14 (fontified nil) | 14 23 (fontified nil font-lock-fontified t) 23 24 (fontified nil) 24 | 35 (fontified nil font-lock-fontified t) 35 37 (fontified nil)) | :for-LaTeX t :emph-multiline t :add-text nil :comments nil <<<<<<<<<<<<<<<<<<<<<<<<< | :skip-before-1st-heading nil :LaTeX-fragments nil :timestamps t | :footnotes t) | org-export-latex-first-lines((:latex-image-options "width=10em" | :exclude-tags ("noexport") :select-tags ("export") | :publishing-directory nil :timestamp nil :expand-quoted-html t | :html-table-tag "" :xml-declaration | (("html" . "") ("php" . "\"; ?>")) | :html-postamble nil :html-preamble nil :html-extension "html" | :inline-images maybe :convert-org-links t :agenda-style "" | :style-extra "" :style "" :style-include-scripts t | :style-include-default t :table-auto-headline t :tables t | :time-stamp-file t :creator-info t :email-info nil :author-info t | :email "brenton@veblen" ...) nil) `---- The ":for-LaTeX t" stuff on the marked line seems to indicate left-overs that have gone stale. Nick