I was interested in this but hadn't tried it. After seeing your message I decided to give it a whirl. The only thing the README may leave slightly to the imagination is that one needs to setup org-publish in addition to the rest of the steps. I had never done this before so I followed Worg's instructions and was able to generate the s5 presentations provided with the git repo (blank and demo). Were I to expand the README, it would read like this:
--------------------
--- mkdir s5
--- cd s5
--- unzip path/to/s5.zip
--- note presence of folder called ui
- get org publishing setup [1]
--- mkdir s5-publish
--- mkdir s5-publish/source
--- mkdir s5-publish/exported
--- edit .emacs and add this:
,-----
| (setq org-publish-project-alist
| '(("org-s5"
| :base-directory "~/path/to/s5-publish/source"
| :base-extension "org"
| :publishing-directory "~/path/to/s5-publish/exported"
| :recursive t
| :publishing-function org-publish-org-to-html
| :headline-levels 4
| :auto-preamble t
| )))
`-----
- get the s5 stuff where it needs to be
--- cp path/to/s5/ui s5-publish/exported/
--- cp jquery.js s5-publish/exported/ui/
--- cp path/to/s5-org.git/org-slides.js s5/publish/exported/ui/
--- cp path/to/s5-org.git/
s5-demo.org s5/publish/source/
Restart emacs and try M-x org-publish-project and hit return twice. It should export path/to/s5-publish/source/
s5-demo.org into the export directory we created; look for path/to/s5-publish/exported/s5-demo.html and open it up.
----------------------
[2] Worg lists the base and publish directories with trailing slashes. I was not able to publish successfully until I googled around and found a mailing list post (
http://patchwork.newartisans.com/patch/233/) where the poster did not have trailing slashes. In trying that, it worked.
Hope that helps,
John
On Wed, Nov 10, 2010 at 2:53 PM, Dov Grobgeld
<dov.grobgeld@gmail.com> wrote:
I tried to get the s5 presentation mode from
https://github.com/sigma/org-s5 running, but I'm missing something. I followed all the steps in the README, but how do you generate the S5:ified html? I tried simply doing [C-c C-e b] but it did not open up in s5 mode. What am I missing? Should the generated html contain the contents of preamble in org-s5.el? It does not.
Thanks!
Dov
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode