# \[ANN\] Slide Show (S9) Gem Now Includes S5 Support (Including Built-In Gradient Themes)

**URL:** <https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492>\
**Category:** ruby-talk\
**Created:** [3 July 2008 05:59 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492 "2008-07-03T05:59:39Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gerald\_Bauer3](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@Gerald\_Bauer3](https://rubytalk.org/u/Gerald_Bauer3)\
**Post date:** [3 July 2008 05:59 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/1 "2008-07-03T05:59:39Z")

</div>

Hello,

&nbsp;&nbsp;The Ruby Slide Show (S9) gem that lets you create slide shows and  
author slides in plain text using a wiki-style markup language that's  
easy-to-write and easy-to-read now includes (experimental) support for  
S5 slide shows.

&nbsp;&nbsp;To create a S5 slide show instead of a FullerScreen slide show just  
flip the s5 switch. Example:

&nbsp;&nbsp;&nbsp;slideshow -s5 microformats

&nbsp;&nbsp;&nbsp;That's it. The slideshow (S9) gem will create a web page  
(microformats.html), a style sheet (microformats.css) and a  
"loss-free" gradient theme using vector graphics (microformats.svg)  
plus copy the S5 machinery into the s5 subfolder (that you can share  
between all your slide shows).

&nbsp;&nbsp;&nbsp;You can find some S9 generated S5 samples online:

&nbsp;&nbsp;&nbsp;o Slide Show (S9) 10-Minute Tutorial @  
[http://slideshow.rubyforge.org/s5/tutorial.html](http://slideshow.rubyforge.org/s5/tutorial.html)  
&nbsp;&nbsp;&nbsp;o Microformats - Add Semantics to Your Web Site @  
[http://slideshow.rubyforge.org/s5/microformats.html](http://slideshow.rubyforge.org/s5/microformats.html)  
&nbsp;&nbsp;&nbsp;o Facebook Stats, Numbers & More @  
[http://slideshow.rubyforge.org/s5/facebook.html](http://slideshow.rubyforge.org/s5/facebook.html)  
&nbsp;&nbsp;&nbsp;o Merb - All You Need, None You Don't @  
[http://slideshow.rubyforge.org/s5/merb.html](http://slideshow.rubyforge.org/s5/merb.html)

&nbsp;&nbsp;&nbsp;(Note, S5 slide shows include a hidden control bar. Scroll to the  
lower right corner to make the jump box, outline toggle button and  
more show up).

&nbsp;&nbsp;&nbsp;If you're curious you can find the plain-text sources online @  
[http://slideshow.rubyforge.org/svn/samples](http://slideshow.rubyforge.org/svn/samples)

&nbsp;&nbsp;&nbsp;Questions and comments welcome. Enjoy.

&nbsp;&nbsp;&nbsp;Cheers.

PS: S9 Tip of the Day: Replace .html with .svg to check your  
background gradient theme. Try  
[http://slideshow.rubyforge.org/s5/microformats.svg](http://slideshow.rubyforge.org/s5/microformats.svg)

> **···**
>
> --  
> Gerald Bauer - Internet Professional - [http://geraldbauer.wordpress.com](http://geraldbauer.wordpress.com)

---

<div class="post-metadata">

**Author:** ![James\_Britt3](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@James\_Britt3](https://rubytalk.org/u/James_Britt3)\
**Post date:** [3 July 2008 07:48 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/2 "2008-07-03T07:48:17Z")

</div>

Gerald Bauer wrote:

> Hello,
> 
> &nbsp;&nbsp;The Ruby Slide Show (S9) gem that lets you create slide shows and  
> author slides in plain text using a wiki-style markup language that's  
> easy-to-write and easy-to-read now includes (experimental) support for  
> S5 slide shows.

Under what license is this released? It doesn't seem to say on the project page.

> **···**
>
> --  
> James Britt
> 
> [www.happycamperstudios.com](http://www.happycamperstudios.com) - Wicked Cool Coding  
> [www.jamesbritt.com](http://www.jamesbritt.com) - Playing with Better Toys  
> [www.ruby-doc.org](http://www.ruby-doc.org) - Ruby Help & Documentation  
> [www.rubystuff.com](http://www.rubystuff.com) - The Ruby Store for Ruby Stuff

---

<div class="post-metadata">

**Author:** ![\_Pena\_Botp1](https://avatars.discourse-cdn.com/v4/letter/_/94ad74/32.png) [@\_Pena\_Botp1](https://rubytalk.org/u/_Pena_Botp1)\
**Post date:** [3 July 2008 08:14 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/3 "2008-07-03T08:14:31Z")

</div>

# (Note, S5 slide shows include a hidden control bar. Scroll to the  
# lower right corner to make the jump box, outline toggle button and  
# more show up).

arggh, how could i miss that. very nifty indeed. all the time i was just happy clicking 🙂

thanks for slideshow, Gerald  
kind regards -botp

> **···**
>
> From: Gerald Bauer [[mailto:geraldbauer2007@gmail.com](mailto:geraldbauer2007@gmail.com)]

---

<div class="post-metadata">

**Author:** ![Axel\_Etzold](https://avatars.discourse-cdn.com/v4/letter/a/ba8739/32.png) [@Axel\_Etzold](https://rubytalk.org/u/Axel_Etzold)\
**Post date:** [3 July 2008 08:21 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/4 "2008-07-03T08:21:25Z")

</div>

-------- Original-Nachricht --------

> Datum: Thu, 3 Jul 2008 14:59:39 +0900  
> Von: "Gerald Bauer" \<geraldbauer2007@gmail.com\>  
> An: ruby-talk@ruby-lang.org  
> Betreff: [ANN] Slide Show (S9) Gem Now Includes S5 Support (Including Built-In Gradient Themes)

> Hello,
> 
> &nbsp;&nbsp;The Ruby Slide Show (S9) gem that lets you create slide shows and  
> author slides in plain text using a wiki-style markup language that's  
> easy-to-write and easy-to-read now includes (experimental) support for  
> S5 slide shows.
> 
> &nbsp;&nbsp;To create a S5 slide show instead of a FullerScreen slide show just  
> flip the s5 switch. Example:
> 
> &nbsp;&nbsp;&nbsp;slideshow -s5 microformats
> 
> &nbsp;&nbsp;&nbsp;That's it. The slideshow (S9) gem will create a web page  
> (microformats.html), a style sheet (microformats.css) and a  
> "loss-free" gradient theme using vector graphics (microformats.svg)  
> plus copy the S5 machinery into the s5 subfolder (that you can share  
> between all your slide shows).
> 
> &nbsp;&nbsp;&nbsp;You can find some S9 generated S5 samples online:
> 
> &nbsp;&nbsp;&nbsp;o Slide Show (S9) 10-Minute Tutorial @  
> [http://slideshow.rubyforge.org/s5/tutorial.html](http://slideshow.rubyforge.org/s5/tutorial.html)  
> &nbsp;&nbsp;&nbsp;o Microformats - Add Semantics to Your Web Site @  
> [http://slideshow.rubyforge.org/s5/microformats.html](http://slideshow.rubyforge.org/s5/microformats.html)  
> &nbsp;&nbsp;&nbsp;o Facebook Stats, Numbers & More @  
> [http://slideshow.rubyforge.org/s5/facebook.html](http://slideshow.rubyforge.org/s5/facebook.html)  
> &nbsp;&nbsp;&nbsp;o Merb - All You Need, None You Don't @  
> [http://slideshow.rubyforge.org/s5/merb.html](http://slideshow.rubyforge.org/s5/merb.html)
> 
> &nbsp;&nbsp;&nbsp;(Note, S5 slide shows include a hidden control bar. Scroll to the  
> lower right corner to make the jump box, outline toggle button and  
> more show up).
> 
> &nbsp;&nbsp;&nbsp;If you're curious you can find the plain-text sources online @  
> [http://slideshow.rubyforge.org/svn/samples](http://slideshow.rubyforge.org/svn/samples)
> 
> &nbsp;&nbsp;&nbsp;Questions and comments welcome. Enjoy.
> 
> &nbsp;&nbsp;&nbsp;Cheers.
> 
> PS: S9 Tip of the Day: Replace .html with .svg to check your  
> background gradient theme. Try  
> [http://slideshow.rubyforge.org/s5/microformats.svg](http://slideshow.rubyforge.org/s5/microformats.svg)
> 
> --  
> Gerald Bauer - Internet Professional - [http://geraldbauer.wordpress.com](http://geraldbauer.wordpress.com)

Dear Gerald,

thank you for this. It looks very nice. Is it possible to integrate it somehow with  
Latex ([http://en.wikipedia.org/wiki/LaTeX\](http://en.wikipedia.org/wiki/LaTeX%5C)) for formula/Greek variables editing ?

Thank you very much,

Best regards,

Axel

> **···**
>
> --  
> Psssst! Schon das coole Video vom GMX MultiMessenger gesehen?  
> Der Eine für Alle: [GMX Produkte Übersicht: Apps, Browser, MailCheck und Co.](http://www.gmx.net/de/go/messenger03)

---

<div class="post-metadata">

**Author:** ![Hemant\_Kumar](https://avatars.discourse-cdn.com/v4/letter/h/46a35a/32.png) [@Hemant\_Kumar](https://rubytalk.org/u/Hemant_Kumar)\
**Post date:** [4 July 2008 09:30 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/5 "2008-07-04T09:30:29Z")

</div>

Is it just me or there is an issue with Firefox3 and Slide Show on Linux?  
Xorg/Firefox make system freeze while loading those awesome presentations.

> **···**
>
> On Thu, Jul 3, 2008 at 11:29 AM, Gerald Bauer \<geraldbauer2007@gmail.com\> wrote:
> 
> > Hello,
> > 
> > The Ruby Slide Show (S9) gem that lets you create slide shows and  
> > author slides in plain text using a wiki-style markup language that's  
> > easy-to-write and easy-to-read now includes (experimental) support for  
> > S5 slide shows.
> > 
> > To create a S5 slide show instead of a FullerScreen slide show just  
> > flip the s5 switch. Example:
> > 
> > &nbsp;&nbsp;slideshow -s5 microformats
> > 
> > &nbsp;&nbsp;That's it. The slideshow (S9) gem will create a web page  
> > (microformats.html), a style sheet (microformats.css) and a  
> > "loss-free" gradient theme using vector graphics (microformats.svg)  
> > plus copy the S5 machinery into the s5 subfolder (that you can share  
> > between all your slide shows).
> > 
> > &nbsp;&nbsp;You can find some S9 generated S5 samples online:
> > 
> > &nbsp;&nbsp;o Slide Show (S9) 10-Minute Tutorial @  
> > [http://slideshow.rubyforge.org/s5/tutorial.html](http://slideshow.rubyforge.org/s5/tutorial.html)  
> > &nbsp;&nbsp;o Microformats - Add Semantics to Your Web Site @  
> > [http://slideshow.rubyforge.org/s5/microformats.html](http://slideshow.rubyforge.org/s5/microformats.html)  
> > &nbsp;&nbsp;o Facebook Stats, Numbers & More @  
> > [http://slideshow.rubyforge.org/s5/facebook.html](http://slideshow.rubyforge.org/s5/facebook.html)  
> > &nbsp;&nbsp;o Merb - All You Need, None You Don't @  
> > [http://slideshow.rubyforge.org/s5/merb.html](http://slideshow.rubyforge.org/s5/merb.html)
> > 
> > &nbsp;&nbsp;(Note, S5 slide shows include a hidden control bar. Scroll to the  
> > lower right corner to make the jump box, outline toggle button and  
> > more show up).
> > 
> > &nbsp;&nbsp;If you're curious you can find the plain-text sources online @  
> > [http://slideshow.rubyforge.org/svn/samples](http://slideshow.rubyforge.org/svn/samples)
> > 
> > &nbsp;&nbsp;Questions and comments welcome. Enjoy.

---

<div class="post-metadata">

**Author:** ![ThoML](https://avatars.discourse-cdn.com/v4/letter/t/d78d45/32.png) [@ThoML](https://rubytalk.org/u/ThoML)\
**Post date:** [4 July 2008 16:21 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/6 "2008-07-04T16:21:45Z")

</div>

> &nbsp;&nbsp;The Ruby Slide Show (S9) gem that lets you create slide shows and  
> author slides in plain text using a wiki-style markup language

How difficult would it be to plug in another input filter instead of  
textile?

I currently use a somewhat clumsy, homegrown solution for such kind of  
presentations when I don't have to impress powerpoint-minded people  
with fancy animations and stuff.

See here for a simple example: [Deplate – create latex, docbook, html documents or web-pages from wiki-like markup](http://deplate.sourceforge.net/presentation.html)

I like the graphical layout of your solution but would like to keep  
the viki/deplate input syntax. I would also like to still be able to  
generate slides via deplate so that I could use the plain html version  
if the browser doesn't support slideshow (in cases when you have to  
use the computer provided by the hosts/organizers).

For ideas about how to embed LaTeX formulas see here:  
[http://deplate.sourceforge.net/Modules.html#hd008005002](http://deplate.sourceforge.net/Modules.html#hd008005002)  
[http://mathml.rubyforge.org](http://mathml.rubyforge.org)

Regards,  
Thomas.

---

<div class="post-metadata">

**Author:** ![He\_Ze\_Peng](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@He\_Ze\_Peng](https://rubytalk.org/u/He_Ze_Peng)\
**Post date:** [3 July 2008 09:30 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/7 "2008-07-03T09:30:59Z")

</div>

Hello,

Like this:  
class A  
&nbsp;&nbsp;attr\_accessor :attr1  
&nbsp;&nbsp;attr\_accessor :attr2  
end

A.attr1="x"  
A.attr2="y"

Is there any method to code like this :

A = {"x", "y"}

thanks.

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer3](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@Gerald\_Bauer3](https://rubytalk.org/u/Gerald_Bauer3)\
**Post date:** [3 July 2008 18:31 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/8 "2008-07-03T18:31:16Z")

</div>

Hello,

> Under what license is this released? It doesn't seem to say on the project  
> page.

&nbsp;&nbsp;It's public domain. Do whatever you like with it. No restrictions  
whatsoever. Cheers.

> **···**
>
> --  
> Gerald Bauer - Internet Professional - [http://geraldbauer.wordpress.com](http://geraldbauer.wordpress.com)

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer3](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@Gerald\_Bauer3](https://rubytalk.org/u/Gerald_Bauer3)\
**Post date:** [3 July 2008 18:41 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/9 "2008-07-03T18:41:04Z")

</div>

Hello Axel,

> thank you for this. It looks very nice. Is it possible to integrate it somehow with  
> Latex ([http://en.wikipedia.org/wiki/LaTeX\](http://en.wikipedia.org/wiki/LaTeX%5C)) for formula/Greek variables editing ?

&nbsp;&nbsp;&nbsp;&nbsp;Thanks for the suggestion. I'll add your idea to the list for  
possible upcoming additions.

&nbsp;&nbsp;&nbsp;&nbsp;If anyone wants to go ahead and add formulas you're more than  
welcome. A good starting point might be the S5 in Instiki package that  
uses itex2MML to let you add formulas using LaTeX that gets converted  
to MathML as far as I can tell. See  
[http://golem.ph.utexas.edu/instiki/show/S5](http://golem.ph.utexas.edu/instiki/show/S5)

&nbsp;&nbsp;&nbsp;&nbsp;If anyone is interested in contributing extensions, addons,  
patches etc. I invite you to join the mailing list/forum @  
[http://groups.google.com/group/webslideshow](http://groups.google.com/group/webslideshow)

&nbsp;&nbsp;&nbsp;Cheers.

> **···**
>
> --  
> Gerald Bauer - Internet Professional - [http://geraldbauer.wordpress.com](http://geraldbauer.wordpress.com)

---

<div class="post-metadata">

**Author:** ![Tim\_Pease](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@Tim\_Pease](https://rubytalk.org/u/Tim_Pease)\
**Post date:** [3 July 2008 19:50 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/10 "2008-07-03T19:50:12Z")

</div>

Take a look at Webby. It can output S5 style presentations and it includes support for Latex formulas / Greek letters, Graphviz diagrams, Ultraviolet and CodeRay syntax highlighting, Markdown, Textile, and more.

[http://webby.rubyforge.org/](http://webby.rubyforge.org/)

Blessings,  
TwP

> **···**
>
> On Jul 3, 2008, at 2:21 AM, Axel Etzold wrote:
> 
> > Dear Gerald,
> > 
> > thank you for this. It looks very nice. Is it possible to integrate it somehow with  
> > Latex ([http://en.wikipedia.org/wiki/LaTeX\](http://en.wikipedia.org/wiki/LaTeX%5C)) for formula/Greek variables editing ?
> > 
> > Thank you very much,

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer3](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@Gerald\_Bauer3](https://rubytalk.org/u/Gerald_Bauer3)\
**Post date:** [4 July 2008 18:03 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/11 "2008-07-04T18:03:31Z")

</div>

Hello Thomas,

> How difficult would it be to plug in another input filter instead of  
> textile?

&nbsp;&nbsp;&nbsp;The slideshow (S9) gem also supports markdown (using the maruku)  
gem that you can use as an example to plug in your own text-to-markup  
filter.

&nbsp;&nbsp;Here's the code from the gem:

&nbsp;&nbsp;# convert light-weight markup to hypertext

&nbsp;&nbsp;if known\_markdown\_extnames.include?( extname )  
&nbsp;&nbsp;&nbsp;&nbsp;content = Maruku.new( content, {:on\_error =\> :raise} ).to\_html  
&nbsp;&nbsp;&nbsp;&nbsp;# old code: content = BlueCloth.new( content ).to\_html  
&nbsp;&nbsp;else  
&nbsp;&nbsp;&nbsp;&nbsp;content = RedCloth.new( content ).to\_html  
&nbsp;&nbsp;end

&nbsp;&nbsp;That's basically all there is to it. Full source @  
[http://slideshow.rubyforge.org/svn/trunk/lib/slideshow.rb](http://slideshow.rubyforge.org/svn/trunk/lib/slideshow.rb)

> I currently use a somewhat clumsy, homegrown solution for such kind of  
> presentations when I don't have to impress powerpoint-minded people  
> with fancy animations and stuff.
> 
> See here for a simple example: [Deplate – create latex, docbook, html documents or web-pages from wiki-like markup](http://deplate.sourceforge.net/presentation.html)
> 
> I like the graphical layout of your solution but would like to keep  
> the viki/deplate input syntax. I would also like to still be able to  
> generate slides via deplate so that I could use the plain html version  
> if the browser doesn't support slideshow (in cases when you have to  
> use the computer provided by the hosts/organizers).
> 
> For ideas about how to embed LaTeX formulas see here:  
> [Deplate 0.8.5 – convert wiki-like markup to latex, docbook, html, or “html-slides” -- Modules](http://deplate.sourceforge.net/Modules.html#hd008005002)  
> [http://mathml.rubyforge.org](http://mathml.rubyforge.org)

&nbsp;&nbsp;Thanks for the pointers. Adding formulas is definitely a next step.  
Any contributions welcome. Cheers.

> **···**
>
> --  
> Gerald Bauer - Internet Professional - [http://geraldbauer.wordpress.com](http://geraldbauer.wordpress.com)

---

<div class="post-metadata">

**Author:** ![Paul\_Smith1](https://avatars.discourse-cdn.com/v4/letter/p/5daacb/32.png) [@Paul\_Smith1](https://rubytalk.org/u/Paul_Smith1)\
**Post date:** [3 July 2008 09:54 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/12 "2008-07-03T09:54:49Z")

</div>

class A  
&nbsp;&nbsp;attr\_Accessor :attr1  
&nbsp;&nbsp;attr\_Accessor :attr2

&nbsp;&nbsp;def initialize(x,y)  
&nbsp;&nbsp;&nbsp;&nbsp;@attr1=x  
&nbsp;&nbsp;&nbsp;&nbsp;@attr2=y  
&nbsp;&nbsp;end  
end

p = A.new("x","y")

Or is that not what you meant?

> **···**
>
> On Thu, Jul 3, 2008 at 10:30 AM, Roc Ho \<hezepeng@huawei.com\> wrote:
> 
> > Hello,
> > 
> > Like this:  
> > class A  
> > attr\_accessor :attr1  
> > attr\_accessor :attr2  
> > end
> > 
> > A.attr1="x"  
> > A.attr2="y"
> > 
> > Is there any method to code like this :
> > 
> > A = {"x", "y"}
> > 
> > thanks.
> 
> --  
> Paul Smith  
> DCI Level 2 Judge, Bath FNM Organiser
> 
> Upcoming events in Bath - nomadicfun.co.uk  
> July 12th Eventide Prerelease (Standard)
> 
> paul@pollyandpaul.co.uk

---

<div class="post-metadata">

**Author:** ![Heesob\_Park](https://avatars.discourse-cdn.com/v4/letter/h/3bc359/32.png) [@Heesob\_Park](https://rubytalk.org/u/Heesob_Park)\
**Post date:** [3 July 2008 09:55 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/13 "2008-07-03T09:55:27Z")

</div>

Hi,

> Hello,
> 
> Like this:  
> class A  
> attr\_accessor :attr1  
> attr\_accessor :attr2  
> end
> 
> A.attr1="x"  
> A.attr2="y"
> 
> Is there any method to code like this :
> 
> A = {"x", "y"}
> 
> thanks.

You can use Struct like this:

S = Struct.new(:attr1,:attr2)  
A = S.new('x','y')

Or

A = Struct.new(:attr1,:attr2).new('x','y')

Regards,

Park Heesob

> **···**
>
> 2008/7/3 Roc Ho \<hezepeng@huawei.com\>:

---

<div class="post-metadata">

**Author:** ![James\_Britt3](https://avatars.discourse-cdn.com/v4/letter/j/b782af/32.png) [@James\_Britt3](https://rubytalk.org/u/James_Britt3)\
**Post date:** [3 July 2008 21:09 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/14 "2008-07-03T21:09:08Z")

</div>

Gerald Bauer wrote:

> Hello,
> 
> > Under what license is this released? It doesn't seem to say on the project  
> > page.
> 
> &nbsp;&nbsp;It's public domain. Do whatever you like with it. No restrictions  
> whatsoever. Cheers.

Thanks.

A suggestion; I couldn't find anything that explicitly stated the release license, and in the absence of such a thing I assume it comes with restrictions. Perhaps adding a LICENSE.TXT file would be good.

Thanks,

> **···**
>
> --  
> James Britt
> 
> [www.happycamperstudios.com](http://www.happycamperstudios.com) - Wicked Cool Coding  
> [www.jamesbritt.com](http://www.jamesbritt.com) - Playing with Better Toys  
> [www.ruby-doc.org](http://www.ruby-doc.org) - Ruby Help & Documentation  
> [www.rubystuff.com](http://www.rubystuff.com) - The Ruby Store for Ruby Stuff

---

<div class="post-metadata">

**Author:** ![Tim\_Pease](https://avatars.discourse-cdn.com/v4/letter/t/3e96dc/32.png) [@Tim\_Pease](https://rubytalk.org/u/Tim_Pease)\
**Post date:** [5 July 2008 16:10 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/15 "2008-07-05T16:10:43Z")

</div>

> Thanks for the pointers. Adding formulas is definitely a next step.  
> Any contributions welcome. Cheers.

Inspiration found here ...

\<[webby/lib/webby/helpers/tex\_img\_helper.rb at master · TwP/webby · GitHub](http://github.com/TwP/webby/tree/master/lib/webby/helpers/tex_img_helper.rb) \>

Tailor to suit your needs.

Blessings,  
TwP

> **···**
>
> On Jul 4, 2008, at 12:03 PM, Gerald Bauer wrote:

---

<div class="post-metadata">

**Author:** ![William\_Morgan](https://avatars.discourse-cdn.com/v4/letter/w/b77776/32.png) [@William\_Morgan](https://rubytalk.org/u/William_Morgan)\
**Post date:** [6 July 2008 03:54 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/16 "2008-07-06T03:54:21Z")

</div>

Reformatted excerpts from geraldbauer2007's message of 2008-07-03:

> &nbsp;&nbsp;&nbsp;&nbsp;If anyone wants to go ahead and add formulas you're more than  
> welcome. A good starting point might be the S5 in Instiki package that  
> uses itex2MML to let you add formulas using LaTeX that gets converted  
> to MathML as far as I can tell. See  
> [S5 in Instiki](http://golem.ph.utexas.edu/instiki/show/S5)

My Ritex gem is a pure-Ruby implementation of itex2MML, that  
additionally has macro support.

> **···**
>
> --  
> William \<wmorgan-ruby-talk@masanjin.net\>

---

<div class="post-metadata">

**Author:** ![He\_Ze\_Peng](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@He\_Ze\_Peng](https://rubytalk.org/u/He_Ze_Peng)\
**Post date:** [3 July 2008 10:10 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/17 "2008-07-03T10:10:26Z")

</div>

/^\w{3}[0,4-9]{3}\w{3}$/

Hello-

I need to match any string which contain:

any 3 letters  
any 3 digits \_but\_not\_123\_  
any 3 letters

so:  
xxx765xxx should match  
vvv123vvv should be omitted

is it possible to write proper regular expression?

Regards-  
shaman

---

<div class="post-metadata">

**Author:** ![He\_Ze\_Peng](https://avatars.discourse-cdn.com/v4/letter/h/8797f3/32.png) [@He\_Ze\_Peng](https://rubytalk.org/u/He_Ze_Peng)\
**Post date:** [3 July 2008 10:11 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/18 "2008-07-03T10:11:11Z")

</div>

Thanks Hessob and Paul.

> **···**
>
> ----- Original Message -----  
> From: "Heesob Park" \<phasis@gmail.com\>  
> To: "ruby-talk ML" \<ruby-talk@ruby-lang.org\>  
> Sent: Thursday, July 03, 2008 5:55 PM  
> Subject: Re: method for assigned value
> 
> > Hi,
> > 
> > 2008/7/3 Roc Ho \<hezepeng@huawei.com\>:
> > 
> > > Hello,
> > > 
> > > Like this:  
> > > class A  
> > > attr\_accessor :attr1  
> > > attr\_accessor :attr2  
> > > end
> > > 
> > > A.attr1="x"  
> > > A.attr2="y"
> > > 
> > > Is there any method to code like this :
> > > 
> > > A = {"x", "y"}
> > > 
> > > thanks.
> > 
> > You can use Struct like this:
> > 
> > S = Struct.new(:attr1,:attr2)  
> > A = S.new('x','y')
> > 
> > Or
> > 
> > A = Struct.new(:attr1,:attr2).new('x','y')
> > 
> > Regards,
> > 
> > Park Heesob

---

<div class="post-metadata">

**Author:** ![Forum](https://avatars.discourse-cdn.com/v4/letter/f/43a26b/32.png) [@Forum](https://rubytalk.org/u/Forum)\
**Post date:** [4 July 2008 08:47 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/19 "2008-07-04T08:47:32Z")

</div>

I agree, that is to protect your great work, and I mean it, for  
staying open source, I guess you would like to use a very liberal  
license as e.g. BSD.  
Cheers  
Robert

> **···**
>
> On Thu, Jul 3, 2008 at 11:09 PM, James Britt \<james.britt@gmail.com\> wrote:
> 
> > Gerald Bauer wrote:
> > 
> > > Hello,
> > > 
> > > > Under what license is this released? It doesn't seem to say on the  
> > > > project  
> > > > page.
> > > 
> > > It's public domain. Do whatever you like with it. No restrictions  
> > > whatsoever. Cheers.
> > 
> > Thanks.
> > 
> > A suggestion; I couldn't find anything that explicitly stated the release  
> > license, and in the absence of such a thing I assume it comes with  
> > restrictions. Perhaps adding a LICENSE.TXT file would be good.
> 
> --  
> [http://ruby-smalltalk.blogspot.com/](http://ruby-smalltalk.blogspot.com/)
> 
> ---  
> AALST (n.) One who changes his name to be further to the front  
> D.Adams; The Meaning of LIFF

---

<div class="post-metadata">

**Author:** ![Gerald\_Bauer3](https://avatars.discourse-cdn.com/v4/letter/g/7993a0/32.png) [@Gerald\_Bauer3](https://rubytalk.org/u/Gerald_Bauer3)\
**Post date:** [6 July 2008 20:37 UTC](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492/20 "2008-07-06T20:37:03Z")

</div>

Hello William,

> My Ritex gem is a pure-Ruby implementation of itex2MML, that  
> additionally has macro support.

&nbsp;&nbsp;&nbsp;Thanks for highlighting the Ritex gems. To collect candidate  
gems/libraries for the upcoming formula support I've started a new  
wiki page to track them all @  
[http://groups.google.com/group/webslideshow/web/formulas](http://groups.google.com/group/webslideshow/web/formulas)

&nbsp;&nbsp;&nbsp;Cheers.

> **···**
>
> --  
> Gerald Bauer - Internet Professional - [http://geraldbauer.wordpress.com](http://geraldbauer.wordpress.com)

[Next page](https://rubytalk.org/t/ann-slide-show-s9-gem-now-includes-s5-support-including-built-in-gradient-themes/47492.md?page=2)
