emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-publish broken?
@ 2013-02-13 17:19 henry atting
  2013-02-13 17:22 ` Nicolas Goaziou
  2013-02-13 17:25 ` Bastien
  0 siblings, 2 replies; 5+ messages in thread
From: henry atting @ 2013-02-13 17:19 UTC (permalink / raw)
  To: emacs-orgmode

Since the last git pull: org-mode version 7.9.3e (7.9.3e-1016-g2fa53e)
org-publish no longer works. Error message:

Publishing file file.org `org-publish-org-to-html'
org-publish-file: Symbol's function definition is void: org-publish-org-to-html

My (unchanged) settings:

 (setq org-publish-project-alist
           '(("org"
              :base-directory "~/horg/"
              :publishing-directory "~/public"
              :section-numbers nil
              :table-of-contents t
              :html-preamble nil
              :publishing-function org-publish-org-to-html
              :style "<link rel=\"stylesheet\"
                     href=\"../.style.css\"
                     type=\"text/css\"/>")
		("org-static"
		 :base-directory "~/horg/"
                 :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
                 :publishing-directory "~/public/"
                 :recursive t
                 :publishing-function org-publish-attachment
 )
))



-- 
henry, web: http://literaturlatenight.de
demnächst: http://literaturlatenight.de/blog/#sec-4
upcoming: http://literaturlatenight.de/blog/#sec-5

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

* Re: org-publish broken?
  2013-02-13 17:19 org-publish broken? henry atting
@ 2013-02-13 17:22 ` Nicolas Goaziou
  2013-02-13 17:25 ` Bastien
  1 sibling, 0 replies; 5+ messages in thread
From: Nicolas Goaziou @ 2013-02-13 17:22 UTC (permalink / raw)
  To: henry atting; +Cc: emacs-orgmode

Hello,

henry atting <snd@online.de> writes:

> Since the last git pull: org-mode version 7.9.3e (7.9.3e-1016-g2fa53e)
> org-publish no longer works. Error message:
>
> Publishing file file.org `org-publish-org-to-html'
> org-publish-file: Symbol's function definition is void: org-publish-org-to-html
>
> My (unchanged) settings:
>
>  (setq org-publish-project-alist
>            '(("org"
>               :base-directory "~/horg/"
>               :publishing-directory "~/public"
>               :section-numbers nil
>               :table-of-contents t
>               :html-preamble nil
>               :publishing-function org-publish-org-to-html

The publishing function should be: `org-html-publish-to-html'

>               :style "<link rel=\"stylesheet\"
>                      href=\"../.style.css\"
>                      type=\"text/css\"/>")
> 		("org-static"
> 		 :base-directory "~/horg/"
>                  :base-extension "css\\|js\\|png\\|jpg\\|gif\\|pdf\\|mp3\\|ogg\\|swf"
>                  :publishing-directory "~/public/"
>                  :recursive t
>                  :publishing-function org-publish-attachment
>  )
> ))


Regards,

-- 
Nicolas Goaziou

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

* Re: org-publish broken?
  2013-02-13 17:19 org-publish broken? henry atting
  2013-02-13 17:22 ` Nicolas Goaziou
@ 2013-02-13 17:25 ` Bastien
  2013-02-13 17:42   ` henry atting
  1 sibling, 1 reply; 5+ messages in thread
From: Bastien @ 2013-02-13 17:25 UTC (permalink / raw)
  To: henry atting; +Cc: emacs-orgmode

Hi Henry,

henry atting <snd@online.de> writes:

> Since the last git pull: org-mode version 7.9.3e (7.9.3e-1016-g2fa53e)
> org-publish no longer works. Error message:
>
> Publishing file file.org `org-publish-org-to-html'
> org-publish-file: Symbol's function definition is void:
> org-publish-org-to-html

Since you are using Org from the master branch, 
you need to use org-html-publish-to-html from ox-html.el.

This is one of the incompatible changes that comes with
merging the new exporter.

Until 8.0 is released, I suggest publication should be
done from the maint branch.  Otherwise you'll need to
update your configuration.

HTH,

-- 
 Bastien

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

* Re: org-publish broken?
  2013-02-13 17:25 ` Bastien
@ 2013-02-13 17:42   ` henry atting
  2013-02-13 17:50     ` Bastien
  0 siblings, 1 reply; 5+ messages in thread
From: henry atting @ 2013-02-13 17:42 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@altern.org> writes:

> Hi Henry,
>
> henry atting <snd@online.de> writes:
>
>> Since the last git pull: org-mode version 7.9.3e (7.9.3e-1016-g2fa53e)
>> org-publish no longer works. Error message:
>>
>> Publishing file file.org `org-publish-org-to-html'
>> org-publish-file: Symbol's function definition is void:
>> org-publish-org-to-html
>
> Since you are using Org from the master branch, 
> you need to use org-html-publish-to-html from ox-html.el.
>
> This is one of the incompatible changes that comes with
> merging the new exporter.
>
> Until 8.0 is released, I suggest publication should be
> done from the maint branch.  Otherwise you'll need to
> update your configuration.

Since exporting now works but not at all properly I will stick to the
maint branch.


> HTH,

Thanks,

-- 
henry, web: http://literaturlatenight.de
demnaechst: http://literaturlatenight.de/blog/#sec-4
upcoming: http://literaturlatenight.de/blog/#sec-5

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

* Re: org-publish broken?
  2013-02-13 17:42   ` henry atting
@ 2013-02-13 17:50     ` Bastien
  0 siblings, 0 replies; 5+ messages in thread
From: Bastien @ 2013-02-13 17:50 UTC (permalink / raw)
  To: henry atting; +Cc: emacs-orgmode

henry atting <snd@online.de> writes:

> Since exporting now works but not at all properly I will stick to the
> maint branch.

Well, exporting and publishing do work, but you need to adapt some
of your configuration for it to work.  We are in the process of
documenting this.  Any help is welcome!

Thanks,

-- 
 Bastien

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

end of thread, other threads:[~2013-02-13 17:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-13 17:19 org-publish broken? henry atting
2013-02-13 17:22 ` Nicolas Goaziou
2013-02-13 17:25 ` Bastien
2013-02-13 17:42   ` henry atting
2013-02-13 17:50     ` Bastien

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