emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: dalanicolai <dalanicolai@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Simple org-publish configuration example in manual does not work
Date: Sat, 27 Feb 2021 12:08:38 +0100	[thread overview]
Message-ID: <CACJP=3k2jL1z0d-uALFGoutffFF2o=7-L39zUns6si0KAhZ-_g@mail.gmail.com> (raw)

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

             reply	other threads:[~2021-02-27 11:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-27 11:08 dalanicolai [this message]
2021-03-02  6:17 ` Kyle Meyer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACJP=3k2jL1z0d-uALFGoutffFF2o=7-L39zUns6si0KAhZ-_g@mail.gmail.com' \
    --to=dalanicolai@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).