Hello, Rainer M Krug <r.m.k...@gmail.com> 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