From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Elston Subject: Re: [PATCH] IMPORTANT: (possibly) incompatible Change Date: Thu, 01 Apr 2010 19:47:58 -0700 Message-ID: <4BB55ADE.3060506@comcast.net> References: <87wrwqlk07.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NxWvo-00048L-83 for emacs-orgmode@gnu.org; Thu, 01 Apr 2010 22:48:24 -0400 Received: from [140.186.70.92] (port=39295 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NxWvm-00048D-0F for emacs-orgmode@gnu.org; Thu, 01 Apr 2010 22:48:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NxWvk-0006Uj-FY for emacs-orgmode@gnu.org; Thu, 01 Apr 2010 22:48:21 -0400 Received: from qmta08.westchester.pa.mail.comcast.net ([76.96.62.80]:50582) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NxWvk-0006Uc-Aj for emacs-orgmode@gnu.org; Thu, 01 Apr 2010 22:48:20 -0400 In-Reply-To: <87wrwqlk07.fsf@gmail.com> 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: emacs-orgmode@gnu.org It appears that the cadr -> cdr change is also necessary in org-latex.el (at least for Emacs 22.3). Mark On 4/1/2010 6:29 PM, Eric Schulte wrote: > After updating to the current git head, I have to make the following > changes for latex image generation to work. > > diff --git a/lisp/org.el b/lisp/org.el > index dc45871..443f881 100644 > --- a/lisp/org.el > +++ b/lisp/org.el > @@ -2936,7 +2936,7 @@ appears on the page." > ;; when formatting latex fragments. Originally it was part of the > ;; LaTeX exporter, which is why the name includes "export". > (defcustom org-export-latex-default-packages-alist > - '(("AUTO" . "inputenc") > + '(("" . "inputenc") > ("T1" . "fontenc") > ("" . "graphicx") > ("" . "longtable") > @@ -15247,9 +15247,9 @@ Some of the options can be changed using the variable > (concat "\n" > (mapconcat (lambda(p) > (if (equal "" (car p)) > - (format "\\usepackage{%s}" (cadr p)) > + (format "\\usepackage{%s}" (cdr p)) > (format "\\usepackage[%s]{%s}" > - (car p) (cadr p)))) > + (car p) (cdr p)))) > (append > org-export-latex-default-packages-alist > org-export-latex-packages-alist) > > > > > > > The "AUTO" change is because the AUTO.def file is not present on my > fairly complete Ubuntu texlive latex install > > : ERROR: LaTeX Error: File `AUTO.def' not found. > > The other change is because `org-export-latex-default-packages-alist' is > now a simple cons cell rather than a list so cadr was throwing errors. > > It seems to me these may be general problems, not just specific to my > setup. > > Best -- Eric >