Usage is simple. Just add ~ ~ SLIDESHOW~ ~
somewhere in the page (at the very top is recommended), and start your page with a H1 headline. Following content will go on the first (welcome) slide. Additional slides are created by H2 headlines. Adding a horizontal rule finishes the current slide and additional content goes to the “Handout” area (only visible when the slide is printed). Footnotes and abbreviation will be ignored on the slide. Plugin output won't be visible unless a plugin handles the mode s5
explicitly.
Have a look at this Example Presentation (follow the link and press the slideshow icon in the upper right corner).
Opera users need to press F11
to enter the presentation mode. Navigating between the slides is then possible using PAGE_UP
and PAGE_DOWN
.
Another option is to insert a link to the s5 view of any page in your template. For example edit: <wiki_dir>/lib/tpl/<your-template>/main.php to add
< code><a href=”<php echo exportlink( doku.phpdo=export_ 2 [QSA,L]</file>
Stéphane Gully
No, this is not a bug. That RewriteRule was added to the standard DokuWiki installation since the latest stable release (2006-11-06, in devel since 2006-04-05). But as the .htaccess file is never overwritten during the upgrading process, changes to it are often overlooked. So, it is worth mentioning here.
Hello. Perhaps it should be possible to extend the ODF plugin in order to save the slideshow in Impress ODF
XML format
— Smat 2009-08-24 23:15
How exactly do we add the rewrite rule
Edit <dokuwiki>/.htaccess
and add the rule mentioned above after the following line:
< file>RewriteRule ^_detail/(.*) lib/exe/detail.phpmedia= ID.'</h1>
to
<div id="footer">
<h1>'.html_wikilink($ID).'</h1>
— Hans Huber 2007-08-30 13:47
Unfortunately, I got a “No renderer for s found” after installing an clicking on the Slideshow image.
I'm using Debian Sage and DokuWiki 2006-11-06, have you any Idea
Okay fixed it, I saw DokuWiki 2007-07-06RC is needed
— Hans Huber 2007-08-30 9:55
Jay Dickon Glanville writes:
I have two questions concerning the S5 slide show plugin.
1) Is there a way to preview the slide show without having to save the
article first
no
2) There is a way to change the theme of a slide show, but that
affects all slide shows in the wiki (in the config manager). Is there
a way to state the theme for a single slide show
no
Andi
— Jay Dickon Glanville 2007-09-25 8:09
Hi Andreas,
after installing your plugin within a current DokuWiki version and putting < code>~ ~ SLIDESHOW~ ~ </code> at the top of a page I am receiving this error message:
Fatal error: Call to undefined function exportlink() in /home/netsh10317/html/dokuwiki/lib/plugins/s5/syntax.php on line 71
What is the reason
— Ayshe 2007-10-22
Hi Andreas,
we want to have a page break before each slide. We tried to modify “each” CSS without a positive result. Our idea was to add a page-break for h2.
h2 {page-break-before: always;}
The best would be if there is another print slideshow button, so the user can decide whether he wants to print it in the normal way (File→Print) or to get a slideshow handout (new button beside the slideshow button).
— Michael Arlt 2007-11-02
Any chance for math plugin support so that the formulas would get proper size font too.
In practice, this would mean that command \Huge should be added in front of formula when showing it on presentation.
e.g. when you have <math>\lambda=c*T </math> in normal DokuWiki document, when presentation is created it should be
<math>\Huge\lambda=c*T<math> and thus the mimetex plugin provides proper size formula.
I got math support to work using the
jsMath plugin . All the equations resize appropriately with the slideshow. After installation of jsMath, change
lib/plugins/s5/renderer.php
to include following line of code to the
<head>
part of the
HTML (around line 90): < code html><SCRIPT SRC=“
http://path_to_your_jsMath_folder/easy/load.js ” type=“text/javascript”></SCRIPT> </code>
—
Adam Morgan 2008-12-04 18:00
Similar problem arises with figures. How to show them in proper size on text and in presentation.
For normal images you can add in s5 renderer.php following code
function internalmedia($src,$title=NULL,$align=NULL,$width=NULL,$height=NULL,$cache=NULL,$linking=NULL) {
global $ID;
resolve_mediaid(getNS($ID),$src,$exists);
list($ext,$mime) =mimetype($src);
// if figure alignment has not been changed we assume that figure should be "full screen"
// so we make it's width 800
if(substr($mime,0,5) == 'image'){
if ($align==NULL){
$width = 800;
}
// we have figure with alignment, so we assume that there is some text in this slide also
// so we just double it's size so it should look nice in show
else{
if ($width)
$width = 2*$width;
if ($height)
$height=2*$height;
}
$this->doc .= $this->_media ($src, $title, $align, $width, $height, $cache);
}
else {
parent::internalmedia($src,$title,$align,$width,$height,$cache,$linking);
}
}
This will double the size of the images which location have been set i.e. we assume there are text along with image on this slide. In case the location has not been defined, we make the image width to 800. Depending on the resolution you want to show your presentation, you might want to change the width to fit for you.
— Pekka Jäppinen 2008-1-7