[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] new exporter - LaTeX export setting org-export-latex-packages-al
From: |
Nicolas Goaziou |
Subject: |
Re: [O] new exporter - LaTeX export setting org-export-latex-packages-alist and BUG empty source block export |
Date: |
Thu, 07 Feb 2013 14:37:57 +0100 |
Hello,
Rainer M Krug <address@hidden> writes:
> Hi
>
> I had the following in my emacs.org:
>
> #+begin_src emacs-lisp
> (require 'org-latex)
> (setq org-export-latex-listings t)
> (add-to-list 'org-export-latex-packages-alist '("" "listings"))
> (add-to-list 'org-export-latex-packages-alist '("" "color"))
> #+end_src
>
> After upgrade of org this morning using git, the new exporter is there and I
> get the following
> error message:
>
> (void-variable org-export-latex-packages-alist)
It should be `org-latex-packages-alist', `org-latex-listings'. You also
don't need (and shouldn't) require 'org-latex. Please see:
http://permalink.gmane.org/gmane.emacs.orgmode/65574
> In addition, there seems to be a BUG:
>
> when exporting an empty source block to LaTeX, I get the following error
> message:
>
> org-babel-exp processing... [69 times]
> apply: Wrong number of arguments: max, 0
>
> I can easily replicate this with a document only containing:
>
> * org-mode
> #+begin_src emacs-lisp
>
> #+end_src
>
> which exports fine to html, but not LaTeX.
Indeed. It should be fixed now. Thank you for reporting it.
Regards,
--
Nicolas Goaziou