[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Ruby/erb S5 Helper?

Mat Schaffer

3/2/2007 4:11:00 PM

I had a thought today about trying to create a ruby DSL for
generating S5 presentations. Granted, S5 is fairly simple. But I
think we could do better and have more functionality by using a
combination of Rake and Erb to generate the slides from templates. I
already got code highlighting in slides that looks like this:

<% highlight :ruby do %>
Locale.set 'en-US'
"Welcome".t # => "Welcome"
<% end %>

Which I think is pretty cool.

Anyone know of a project like this or should I strike off and start
something?
-Mat

3 Answers

Chris Carter

3/2/2007 4:31:00 PM

0

On 3/2/07, Mat Schaffer <schapht@gmail.com> wrote:
> I had a thought today about trying to create a ruby DSL for
> generating S5 presentations. Granted, S5 is fairly simple. But I
> think we could do better and have more functionality by using a
> combination of Rake and Erb to generate the slides from templates. I
> already got code highlighting in slides that looks like this:
>
> <% highlight :ruby do %>
> Locale.set 'en-US'
> "Welcome".t # => "Welcome"
> <% end %>
>
> Which I think is pretty cool.
>
> Anyone know of a project like this or should I strike off and start
> something?
> -Mat
>
>

Hi, I have this camping app that can do kind of what you want:
http://metacampsite.com/svn/...

--
Chris Carter
concentrationstudios.com
brynmawrcs.com

Mat Schaffer

3/2/2007 4:57:00 PM

0

Cool, good advice so far. I'm still not seeing quite what I'm
looking for. XOXO is good, but I feel like a presentation should be
more than just an outline. And I'd also like to do this as something
that you could email around, rather than a web app.

Also, does anyone know of a good ruby theme for S5?
-Mat

Andrew Stewart

3/5/2007 10:34:00 AM

0


On 2 Mar 2007, at 16:57, Mat Schaffer wrote:

> Cool, good advice so far. I'm still not seeing quite what I'm
> looking for. XOXO is good, but I feel like a presentation should
> be more than just an outline. And I'd also like to do this as
> something that you could email around, rather than a web app.

Paul Battley wrote a "Rake-driven text-to-S5 workflow" to simplify
the preparation of a talk he gave. You can find it here, mentioned
towards the end of the article:

http://po-ru.com/diary/ten-things-i-hate-ab...

Regards,
Andy Stewart