Re: [O] Publish to html issue

2013-03-17 Thread Igor Kupczyński
Hi Jay,

Changing from *org-publish-org-to-html* to *org-html-publish-to-html *does
the trick indeed. Thank you very much for this hint :-) I also missed the
8.0 document you've mentioned - it is helpful.

Cheers,
Igor


On Sun, Mar 17, 2013 at 1:42 AM, Jay Kerns gjkerns...@gmail.com wrote:

 Dear Igor,

 On Sat, Mar 16, 2013 at 7:12 PM, Igor Kupczyński puszc...@gmail.com
 wrote:
  Dear List,
 
  I try to set up a simple org -- html publishing system.
 [snip]

 
  (setq org-publish-project-alist
'((org
:base-directory ~/tmp/org/
:publishing-directory ~/tmp/html
:section-numbers nil
:table-of-contents nil
:publishing-function org-publish-org-to-html
:style link rel=\stylesheet\
  href=\../other/mystyle.css\
  type=\text/css\/)))

 [snip]

 Would you please try keeping everything the same except for the
 following change:

 :publishing-function org-html-publish-to-html

 Then (after restart) open one of the *.org files in your ~/tmp/org
 directory and do the keybinding C-c C-e P p.  It should do some
 thinking and there should be (at least one) *.html file(s) in
 ~/tmp/html.

 Also, please see the following information on Worg which has lots of
 updates/changes that haven't made it to the manual yet:

 http://orgmode.org/worg/org-8.0.html

 I hope this helps,

 --
 Jay



[O] Publish to html issue

2013-03-16 Thread Igor Kupczyński
Dear List,

I try to set up a simple org -- html publishing system.

If I configure it according to the manual [
http://orgmode.org/org.html#Project-alist]:

(setq org-publish-project-alist
'((org
:base-directory ~/tmp/org/
:publishing-directory ~/tmp/html
:section-numbers nil
:table-of-contents nil
:style link rel=\stylesheet\
 href=\../other/mystyle.css\
 type=\text/css\/)))


I have a following error:


 org-publish-file: No publishing function chosen


OK, so I try to fix it using the configuration posted in the publishing
tutorial [
http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.html#text-3-1],
namly by providing the publishing-function.

(setq org-publish-project-alist
'((org
:base-directory ~/tmp/org/
:publishing-directory ~/tmp/html
:section-numbers nil
:table-of-contents nil* :publishing-function
org-publish-org-to-html*:style link rel=\stylesheet\
  href=\../other/mystyle.css\
  type=\text/css\/)))


With no luck though:


  Publishing file /home/igor/tmp/org/remember.org using
`org-publish-org-to-html'
  org-publish-file: Symbol's function definition is void:
org-publish-org-to-html


On the mail list archives I see some references to the new
exporter, unfortunately I'm an org-mode newbie and it does not ring any
bells.

If this is relevant I can export a single file with a command
org-html-export-to-html

And my emacs/org versions are:
 Org http://orgmode.org mode 8.0-pre in
Emacshttp://www.gnu.org/software/emacs/
 24.3.50.1.

I'm on ubuntu and got my emacs from cassou-emacs-quantal PPA repo, but with
the stock 24.2 the issue was the same. I have org mode from el-get, which
in turn downloads it from git://orgmode.org/org-mode.git

I'd really appreciate your help with this issue.

Thanks  Cheers,
Igor Kupczyński