[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] s5 presentation

From: John Hendy
Subject: Re: [Orgmode] s5 presentation
Date: Wed, 10 Nov 2010 16:47:34 -0600

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:

- git clone https://github.com/sigma/org-s5.git
- download jquery here: http://docs.jquery.com/Downloading_jQuery (I used 1.4.3 and renamed it jquery.js
- download the s5 zip file here: http://meyerweb.com/eric/tools/s5/

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

[1] I got the .emacs code from Worg here: http://orgmode.org/worg/org-tutorials/org-publish-html-tutorial.php [2]

[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,

On Wed, Nov 10, 2010 at 2:53 PM, Dov Grobgeld <address@hidden> 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.


Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]