# Slide Show (S9) Gem V0.6 - New and Improved Support for Using Your Own Slide Show Templates

**URL:** <https://www.ruby-forum.com/t/slide-show-s9-gem-v0-6-new-and-improved-support-for-using-your-own-slide-show-templates/146934>\
**Category:** Ruby\
**Created:** [August 26, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/slide-show-s9-gem-v0-6-new-and-improved-support-for-using-your-own-slide-show-templates/146934 "2008-08-26T22:17:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gerald\_b](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/b2d939/32.png) [@gerald\_b](https://www.ruby-forum.com/u/gerald_b)\
**Post date:** [August 26, 2008, 10:17pm UTC](https://www.ruby-forum.com/t/slide-show-s9-gem-v0-6-new-and-improved-support-for-using-your-own-slide-show-templates/146934/1 "2008-08-26T22:17:14Z")

</div>

Hello,

I’ve added two new options to make it easier to use your own slide  
show templates (to change lets say the encoding in the template).

The new -g/–generate option lets you generate the slide show  
templates (using the slide show templates packaged with the gem) e.g.  
Use:

slideshow -g

Resulting in:

Slide Show (S9) Version: 0.6 on Ruby 1.8.6  
Copying ‘templates/s6/header.html.erb’ to ‘header.html.erb’  
Copying ‘templates/s6/footer.html.erb’ to ‘footer.html.erb’  
Copying ‘templates/s6/style.css.erb’ to ‘style.css.erb’  
Copying ‘templates/gradient.svg.erb’ to ‘gradient.svg.erb’  
Done.

Note, by default S9 generates S6 templates. If you want to generate  
S5 or FullerScreen templates add the -s5 or -f/–fullerscreen switch  
e.g.

slideshow -g -s5  
slideshow -g -f

To use your own slide show templates instead of the built-in use the  
new load path -i/–include option e.g. Use:

slideshow -i . microformats  
slideshow -i ~/s9/summer microformats

The slideshow gem will use the slide show templates in your working  
folder.

Slide Show (S9) Version: 0.6 on Ruby 1.8.6  
Loading custom template ./header.html.erb…  
Loading custom template ./footer.html.erb…  
Loading custom template ./style.css.erb…  
Loading custom template ./gradient.svg.erb…  
Preparing slideshow theme ‘microformats.svg’…  
Preparing slideshow ‘microformats.html’…  
Preparing slideshow stylesheet ‘microformats.css’…  
Done.

That’s it. Questions and comments welcome. Send them along to the S5,  
S6, S9 and friends web slide show forum/mailing list @  
[http://groups.google.com/group/webslideshow](http://groups.google.com/group/webslideshow)

Cheers.

PS: What’s Slide Show (S9)?

A Ruby 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. The Slide Show (S9) project also collects and welcomes  
themes and ships “out-of-the-gem” with built-in support for  
“loss-free” gradient vector graphics themes. More @  
[http://slideshow.rubyforge.org](http://slideshow.rubyforge.org)
