emacs-orgmode
[Top][All Lists]
Advanced

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

Simple org-publish configuration example in manual does not work


From: dalanicolai
Subject: Simple org-publish configuration example in manual does not work
Date: Sat, 27 Feb 2021 12:08:38 +0100

Hello, sorry for sending this email directly, but currently sending mail from Emacs does not work correctly.


I was trying out the org-publishing functionality, but I found that
the first example in the documentation given at
https://orgmode.org/manual/Simple-example.html#Simple-example
does not work. When I try to publish the project it errors with the
following message

org-publish-file: No publishing function chosen

So I figured that I should add a :publishing-function and I remembered
reading earlier in the documnetation,
i.e. at https://orgmode.org/manual/Publishing-action.html#Publishing-action
org-html-publish-to-html that org uses the default publishing-function

org-publish-org-to-html

But when trying to publish using that function then Emacs errors with
the message

org-publish-file: Symbol’s function definition is void: org-publish-org-to-html

I have found the following error report from 17 Mar 2013, reporting
exactly the same error (and a reply with the solution)
https://lists.gnu.org/archive/html/emacs-orgmode/2013-03/msg01221.html

It would be great if these two small point in the manual, which is otherwise great, could
get updated.

1. add the required :publishing-function keyword to the documentation (with the correct function value)
2. change the name of the default function from org-publish-org-to-html -> org-html-publish-to-html

Thank you!

Best regards,
Daniel Nicolai

reply via email to

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