emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Doc bug: Publishing "Simple Example" is missing publishing function
@ 2017-09-20 12:20 Nick Dokos
  2017-09-21 19:17 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Nick Dokos @ 2017-09-20 12:20 UTC (permalink / raw)
  To: emacs-orgmode

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

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Simple publishing example - patch --]
[-- Type: text/x-patch, Size: 828 bytes --]

From 653cf7ba3041c5992091317f0c18c47326f58d70 Mon Sep 17 00:00:00 2001
From: Nick Dokos <ndokos@gmail.com>
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 "<link rel=\"stylesheet\"
-- 
2.7.5


[-- Attachment #3: Type: text/plain, Size: 12 bytes --]


-- 
Nick



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

* Re: Doc bug: Publishing "Simple Example" is missing publishing function
  2017-09-20 12:20 Doc bug: Publishing "Simple Example" is missing publishing function Nick Dokos
@ 2017-09-21 19:17 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2017-09-21 19:17 UTC (permalink / raw)
  To: Nick Dokos; +Cc: emacs-orgmode

Hello,

Nick Dokos <ndokos@gmail.com> writes:

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

Applied. Thank you.

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2017-09-21 19:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-20 12:20 Doc bug: Publishing "Simple Example" is missing publishing function Nick Dokos
2017-09-21 19:17 ` Nicolas Goaziou

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