emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Simple org-publish configuration example in manual does not work
@ 2021-02-27 11:08 dalanicolai
  2021-03-02  6:17 ` Kyle Meyer
  0 siblings, 1 reply; 2+ messages in thread
From: dalanicolai @ 2021-02-27 11:08 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1462 bytes --]

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

[-- Attachment #2: Type: text/html, Size: 1912 bytes --]

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

* Re: Simple org-publish configuration example in manual does not work
  2021-02-27 11:08 Simple org-publish configuration example in manual does not work dalanicolai
@ 2021-03-02  6:17 ` Kyle Meyer
  0 siblings, 0 replies; 2+ messages in thread
From: Kyle Meyer @ 2021-03-02  6:17 UTC (permalink / raw)
  To: dalanicolai; +Cc: emacs-orgmode

dalanicolai writes:

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

No worries.  There's no requirement to send it from Emacs.

[...]
> 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*

Thanks for reporting.  Done in 8244e7ba8 and b712b9618.


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

end of thread, other threads:[~2021-03-02  6:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-27 11:08 Simple org-publish configuration example in manual does not work dalanicolai
2021-03-02  6:17 ` Kyle Meyer

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).