From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Doc bug: Publishing "Simple Example" is missing publishing function Date: Wed, 20 Sep 2017 08:20:48 -0400 Message-ID: <8760cdwogv.fsf@pierrot.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33311) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duezh-00012a-Fp for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 09:25:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dueyd-0001LC-9V for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 09:24:49 -0400 Received: from [195.159.176.226] (port=41413 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dueyN-0000zZ-SS for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 09:23:42 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dudzm-00067m-5c for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 14:20:50 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain I tried to publish the project described in (info "(org) Simple example") and I got the complaint ,---- | ~$ emacs -batch -l foo.el --eval '(org-publish "org")' | No publishing function chosen `---- I attach a patch to fix the doc. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Add-publishing-function-to-Simple-example.patch Content-Description: Simple publishing example - patch >From 653cf7ba3041c5992091317f0c18c47326f58d70 Mon Sep 17 00:00:00 2001 From: Nick Dokos Date: Wed, 20 Sep 2017 08:03:49 -0400 Subject: [PATCH] Add publishing function to "Simple example" The simple example project definition is missing a publishing function. Added org-html-publish-to-html as the publishing function. --- doc/org.texi | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/org.texi b/doc/org.texi index b368c0e..53143df 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -15024,6 +15024,7 @@ directory on the local machine. '(("org" :base-directory "~/org/" :publishing-directory "~/public_html" + :publishing-function org-html-publish-to-html :section-numbers nil :with-toc nil :html-head "