plugin:s5
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
plugin:s5 [2013-08-19 18:52] – Aleksandr | plugin:s5 [2023-01-10 18:44] (current) – version upped andi | ||
---|---|---|---|
Line 6: | Line 6: | ||
email : andi@splitbrain.org | email : andi@splitbrain.org | ||
type : render | type : render | ||
- | lastupdate : 2009-01-07 | + | lastupdate : 2022-11-30 |
- | compatible : 2009-02-14+, | + | compatible : Adora Belle, binky, ponder stibbons, hrun |
depends | depends | ||
conflicts | conflicts | ||
Line 29: | Line 29: | ||
==== Changes ==== | ==== Changes ==== | ||
- | {{rss>http:// | + | {{rss>https:// |
===== Configuration ===== | ===== Configuration ===== | ||
Line 40: | Line 40: | ||
Usage is simple. Just add '' | Usage is simple. Just add '' | ||
+ | |||
+ | A template can be selected from within the syntax like this: '' | ||
Opera users need to press '' | Opera users need to press '' | ||
Line 49: | Line 51: | ||
in the topright div. | in the topright div. | ||
- | ===== Specifying theme: ==== | ||
- | |||
- | ahmetsacan: In order to specify theme using e.g., '' | ||
- | |||
- | <code diff> | ||
- | diff -b -u .s5/ | ||
- | --- .s5/ | ||
- | +++ s5/ | ||
- | @@ -45,7 +45,7 @@ | ||
- | ); | ||
- | | ||
- | | ||
- | - $this-> | ||
- | + $this-> | ||
- | } | ||
- | |||
- | /** | ||
- | </ | ||
- | |||
- | <code diff> | ||
- | diff -b -u .s5/ | ||
- | --- .s5/ | ||
- | +++ s5/ | ||
- | @@ -43,7 +43,7 @@ | ||
- | * Connect pattern to lexer | ||
- | */ | ||
- | | ||
- | - $this-> | ||
- | + $this-> | ||
- | } | ||
- | |||
- | |||
- | @@ -51,6 +51,7 @@ | ||
- | * Handle the match | ||
- | */ | ||
- | | ||
- | + if($match!=' | ||
- | | ||
- | } | ||
- | |||
- | @@ -61,7 +62,7 @@ | ||
- | | ||
- | | ||
- | |||
- | - $renderer-> | ||
- | + $renderer-> | ||
- | | ||
- | | ||
- | | ||
- | </ | ||
===== Using with jsMath ===== | ===== Using with jsMath ===== | ||
Line 126: | Line 78: | ||
* Is there a way to manually create a new page (with a new H2 headline) or automatically split content in multiple slides (for instance two pages : "H2 Headline (1/2)" and "H2 Headline (2/ | * Is there a way to manually create a new page (with a new H2 headline) or automatically split content in multiple slides (for instance two pages : "H2 Headline (1/2)" and "H2 Headline (2/ | ||
*Another solution would be an option to use H3 headline for new slides. | *Another solution would be an option to use H3 headline for new slides. | ||
+ | * You can try this patch : < | ||
+ | --- s5/ | ||
+ | +++ s5/ | ||
+ | @@ -1,4 +1,5 @@ | ||
+ | <? | ||
+ | |||
+ | | ||
+ | +$conf[' | ||
+ | |||
+ | --- s5/ | ||
+ | +++ s5/ | ||
+ | @@ -18,6 +18,7 @@ | ||
+ | var $slideopen = false; | ||
+ | var $base=''; | ||
+ | var $tpl=''; | ||
+ | + var $lastH2=''; | ||
+ | |||
+ | /** | ||
+ | * the format we produce | ||
+ | @@ -121,7 +122,7 @@ | ||
+ | /** | ||
+ | * This is what creates new slides | ||
+ | * | ||
+ | - * A new slide is started for each H2 header | ||
+ | + * A new slide is started for each Hx header, where x <= configuration parameter " | ||
+ | */ | ||
+ | | ||
+ | | ||
+ | @@ -133,12 +134,19 @@ | ||
+ | } | ||
+ | } | ||
+ | |||
+ | - if($level == 2){ | ||
+ | + if($level <= $this-> | ||
+ | | ||
+ | | ||
+ | } | ||
+ | | ||
+ | | ||
+ | + | ||
+ | + if ($level == 2) { | ||
+ | + $this-> | ||
+ | + } else { | ||
+ | + $level = 2; | ||
+ | + $text = $this-> | ||
+ | + } | ||
+ | } | ||
+ | | ||
+ | | ||
+ | @@ -149,7 +157,7 @@ | ||
+ | * Top-Level Sections are slides | ||
+ | */ | ||
+ | | ||
+ | - if($level < 3){ | ||
+ | + if($level <= $this-> | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
* There is a colision with the html5 plugin. When it is on, the button for starting is not visible. | * There is a colision with the html5 plugin. When it is on, the button for starting is not visible. | ||
* Is there a way to end the slideshow and get back to the page? | * Is there a way to end the slideshow and get back to the page? | ||
+ | * -> there is: hit " | ||
+ | |||
+ | ==== Any chance to have < | ||
+ | |||
+ | Due to http:// | ||
+ | |||
+ | Is there a way to have this for the s5 plugin? | ||
+ | |||
+ | --- [[user> |
plugin/s5.1376931123.txt.gz · Last modified: 2013-08-19 18:52 by Aleksandr