emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Dov Grobgeld <dov.grobgeld@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: s5 presentation
Date: Wed, 10 Nov 2010 16:47:34 -0600	[thread overview]
Message-ID: <AANLkTikybdrnVO2ea0+0-1XOx5JGw=4PNZyB+E4udzhJ@mail.gmail.com> (raw)
In-Reply-To: <AANLkTikyrbQbx01qo8gUzUo8XNZiTUgNhy7Tpr316aZ8@mail.gmail.com>

[-- Attachment #1.1: Type: text/plain, Size: 2972 bytes --]

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

- 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
<http://docs.jquery.com/Downloading_jQuery>- 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 <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

[-- Attachment #1.2: Type: text/html, Size: 4810 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

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

  reply	other threads:[~2010-11-10 22:57 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-10 20:53 s5 presentation Dov Grobgeld
2010-11-10 22:47 ` John Hendy [this message]
2010-11-10 23:46 ` Rick Moynihan
2010-11-11  0:53 ` Yann Hodique
2010-11-11  7:12   ` Dov Grobgeld
2010-11-11 10:31     ` Yann Hodique
2010-11-11 11:13       ` Dov Grobgeld
2010-11-11 11:34         ` Yann Hodique
2010-11-11 12:21           ` Dov Grobgeld

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTikybdrnVO2ea0+0-1XOx5JGw=4PNZyB+E4udzhJ@mail.gmail.com' \
    --to=jw.hendy@gmail.com \
    --cc=dov.grobgeld@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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