emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] org-publish parameters mismatch → cannot pu blish to HTML


From: Nick Dokos
Subject: Re: [O] org-publish parameters mismatch → cannot pu blish to HTML
Date: Wed, 27 Nov 2013 08:49:06 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Daniel Clemente <address@hidden> writes:

>   Hi, in ox-publish.el I see in line 555:
>
> (defun org-publish-org-to (backend filename extension plist &optional pub-dir)
>
>
>   org-publish-org-to-html seems to have its parameters in the same
>   order (filename, extension, plist). Correct me if I'm wrong.
>
>   But then in same file, line 654:
>               (when (org-publish-needed-p
>                      filename pub-dir f tmp-pub-dir base-dir)
>                 (funcall f project-plist filename tmp-pub-dir)
>
>
>   With the default setting f == org-publish-org-to-html, the funcall
>   passes parameters in the wrong order: plist filename. It should be:
>   filename extension plist
>
>   Later I see org trying to open the „filename“ variable which is not
> a file name but a plist: (wrong-type-argument stringp (:base-directory
> "~/repoweb/ofinial…" …) …) file-truename((:base-directory
> "~/repoweb/ofinial/hacer/" :publishing-directory …) …)
>
>
>   Maybe my setup is wrong (I'm confused with the org-publish /
>   ox-publish mix) but the org-publish-project-alist seems safe; the
>   stranges thing is: :publishing-function org-publish-org-to-html
>
>
>   Does org-publish work for someone else? Why do I see new problems
>   each time I try to publish…?
>

If you are using org8.X, then org-publish-org-to-html no longer
exists. If it does, you are picking up old org bits from somewhere.

See http://orgmode.org/worg/org-8.0.html for some tips, but bear in mind
that it's probably incomplete.

-- 
Nick




reply via email to

[Prev in Thread] Current Thread [Next in Thread]