Hi,

it seems that there is a bug in publishing to LaTeX:

org-publish-org-to calls org-export-as -functions with six arguments:

(funcall (intern (concat "org-export-as-" format))
                       (plist-get plist :headline-levels)
                       nil plist nil
                       (plist-get plist :body-only)
                       pub-dir)

but org-export-as-latex accepts only five:

(org-export-as-latex ARG &optional EXT-PLIST TO-BUFFER BODY-ONLY
PUB-DIR)

as compared to org-export-as-html, for example, which takes six:

(org-export-as-html ARG &optional HIDDEN EXT-PLIST TO-BUFFER BODY-ONLY
PUB-DIR)

This in: Org-mode version 7.9.2 (release_7.9.2-603-gf8a69a @ 
/usr/local/share/emacs/site-lisp/org/)

I do not know the export code so well as to suggest a patch of my own.

All the best,

Harri Kiiskinen


Reply via email to