emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug in publishing to LaTeX
@ 2012-11-19 19:45 Harri Kiiskinen
  2012-11-20  9:05 ` Giovanni Ridolfi
  0 siblings, 1 reply; 5+ messages in thread
From: Harri Kiiskinen @ 2012-11-19 19:45 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2012-12-20 18:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-19 19:45 Bug in publishing to LaTeX Harri Kiiskinen
2012-11-20  9:05 ` Giovanni Ridolfi
2012-11-20 17:05   ` Achim Gratz
2012-12-20 18:07     ` Bastien
2012-12-20 18:06   ` Bastien

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).