[Top][All Lists]

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

publishing: no default publishing function, or symbol is not defined

From: Christopher W. Ryan
Subject: publishing: no default publishing function, or symbol is not defined
Date: Fri, 18 Jun 2021 18:15:40 -0400
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.4

I'm making my first foray into publishing a project. I'm running GNU
Emacs 26.2 (build 1, x86_64-w64-mingw32) of 2019-04-13, on Windows 10.

I've defined a single project, just to try it out and learn.  Here is
the relevant portion of my .emacs file

;; Projects and publishing
(setq org-publish-project-alist

There is one org file in ......../Sandbox,  called

(as the filename suggests, I'm mostly interested in learning how to make
an index).

If I execute C-c C-e P a  whilie in the org file I am trying to publish,
I get an error message that there is "No publishing function chosen".  I
thought org-publish-org-to-html was the default, as described here:


But if I modify the relevant section of my .emacs file like this,
specifying a publishing action:

;; Projects and publishing
(setq org-publish-project-alist
         :publishing-function org-publish-org-to-html)))

and try again, I get an error message that I can't figure out: "Symbol’s
function definition is void: org-publish-org-to-html"

Grateful for any guidance.


--Chris Ryan

reply via email to

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