DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:s5reloaded

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:s5reloaded [2011-06-19 09:39] – [Support for asciimathml plugin] 90.164.20.81plugin:s5reloaded [2023-10-30 23:41] (current) Klap-in
Line 6: Line 6:
 email      : t.alonso@oan.es email      : t.alonso@oan.es
 type       : render type       : render
-lastupdate : 2010-07-23 +lastupdate : 2012-09-11 
-compatible : DokuWiki  2009-12-25++compatible : Angua, Adora Belle
 depends    :  depends    : 
 conflicts  : s5 conflicts  : s5
Line 17: Line 17:
 sourcerepo :  sourcerepo : 
 donationurl:  donationurl: 
 +
 +screenshot_img: 
 ---- ----
  
Line 24: Line 26:
  
 ===== Download and Install ===== ===== Download and Install =====
 +
 +Download: [[http://conga.oan.es/~alonso/s5reloaded.tar.gz]]
  
 Use the download link given above to download or install the plugin through the plugin manager. You will get only one theme called thesis. If you want the others (up to 20) download also http://conga.oan.es/~alonso/themes.tar.gz and uncompress it inside ui subdirectory. All files inside any of the themes are independent from the others, so you can customize even the javascript code. Use the download link given above to download or install the plugin through the plugin manager. You will get only one theme called thesis. If you want the others (up to 20) download also http://conga.oan.es/~alonso/themes.tar.gz and uncompress it inside ui subdirectory. All files inside any of the themes are independent from the others, so you can customize even the javascript code.
 +
 ==== Changes ==== ==== Changes ====
  
   * July 25, 2010: fixed an interaction between AsciiMathML and Presentacular in presentacular.js that caused scriptaculous effects to stop working after showing formulas in a slide in certain versions of Firefox, at least under Ubuntu (latest version under Windows seemed to be immune to this problem). Fixed a bug in original version of S5 reloaded (slides.js) that caused last loaded sound to be ignored and not played. The slides.js files in all themes were replaced by the one in thesis theme, so that the behavior is now the same and sound is ok in all themes. The presentation example was improved and documented.   * July 25, 2010: fixed an interaction between AsciiMathML and Presentacular in presentacular.js that caused scriptaculous effects to stop working after showing formulas in a slide in certain versions of Firefox, at least under Ubuntu (latest version under Windows seemed to be immune to this problem). Fixed a bug in original version of S5 reloaded (slides.js) that caused last loaded sound to be ignored and not played. The slides.js files in all themes were replaced by the one in thesis theme, so that the behavior is now the same and sound is ok in all themes. The presentation example was improved and documented.
   * August 23, 2010: some modifications were made to the javascript code in slides.js (in all themes) in order to make them compatible with a new Java application I have developed to show S5 presentations with Java components on top (see my blog entry at http://conga.oan.es/~alonso/doku.php?id=blog:s5reloaded). You may want to update your plugin and to install this Java application if you are interested in PDF output of your s5 presentations (please note that this application is in beta status, not fully finish, but PDF export works fine in Linux and maybe Windows). Another minor change in renderer.php allows some integration of code snippets.   * August 23, 2010: some modifications were made to the javascript code in slides.js (in all themes) in order to make them compatible with a new Java application I have developed to show S5 presentations with Java components on top (see my blog entry at http://conga.oan.es/~alonso/doku.php?id=blog:s5reloaded). You may want to update your plugin and to install this Java application if you are interested in PDF output of your s5 presentations (please note that this application is in beta status, not fully finish, but PDF export works fine in Linux and maybe Windows). Another minor change in renderer.php allows some integration of code snippets.
-  * June 19, 2011: bug fixes below (to select theme in configuration manager and to allow both asciimath and asciimathml) were corrected.+  * June 19, 2011: bugs reported below (to select theme in configuration manager and to allow both asciimath and asciimathml) were corrected. Thanks to atronoush! 
 +  * September 11, 2012: added support for MathJax plugin, although inline equations seems not working. 
 +  * September 28, 2012: include this code snippet in ''renderer.php'' for including MathJax to get inline equations working (Cheers, Josef Lechner). 
 + 
 +<code javascript> 
 +<script type="text/x-mathjax-config"> 
 +  MathJax.Hub.Config({ 
 +    tex2jax: { 
 +        inlineMath: [ ["$","$"], ["\\\\(","\\\\)"] ], 
 +        displayMath: [ ["$$","$$"], ["\\\\[","\\\\]"] ], 
 +        processEscapes: true 
 +    }}); 
 +</script> 
 +<script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> 
 +</code>   
 + 
 +  * July 4, 2013: The above code snippet is already included in the download link at the top.
  
 ===== Usage ===== ===== Usage =====
Line 45: Line 66:
  
 ===== Bug (fixed) ===== ===== Bug (fixed) =====
- Themes are not available in Dokuwiki configuration manager! To fix this bug:\\ + 
- The file //metadata.php// under //lib\plugins\s5reloaded\conf// shall be modified as follow:+Themes are not available in Dokuwiki configuration manager! To fix this bug:\\  
 +The file //metadata.php// under //lib\plugins\s5reloaded\conf// shall be modified as follow:
 <code php> <code php>
 <?php <?php
Line 56: Line 78:
  
 ===== Support for asciimathml plugin (fixed) ===== ===== Support for asciimathml plugin (fixed) =====
-To have the [[[[plugin:asciimathml|ASCIIMathML plugin]] enable in your slideshow, hack renderer.php like this made it work for me: + 
 +To have the [[[[plugin:asciimathml|ASCIIMathML plugin]] enabled in your slideshow, hack renderer.php like this made it work for me: 
  
 <code php> <code php>
Line 70: Line 93:
  --- [[user>atronoush|atronoush]] //2011/06/18 14:16//  --- [[user>atronoush|atronoush]] //2011/06/18 14:16//
  
-===== Syntax highlighting ===== +===== Syntax highlighting (fixed?===== 
- Q: How is it possible to have code syntax highlighting [[http://qbnz.com/highlighter/|GeSHi]] enabled in S5reloaded?+ 
 +Q: How is it possible to have code syntax highlighting [[http://qbnz.com/highlighter/|GeSHi]] enabled in S5reloaded? 
 + 
 +Code syntax is already enabled, since html code generated is the same in the presentation mode. The question is maybe how to make the code looks similar to the styles defined in dokuwiki, which is a question of css design. The colors for the individual parts of the code are defined in /lib/styles/style.css (bottom), and can be changed there. For the global appearance ... I'm not an expert in this field at all, but you can edit pretty.css and change .slide pre, .slide code, and .slide pre code with this: 
 + 
 +<code css> 
 +/* code blocks by indention */ 
 +.slide pre { 
 +  font-size: 8pt; 
 +  padding: 0.5em; 
 +  border: 1px dashed #aaaaff; 
 +  color: Black; 
 +  overflow: visible; 
 +  background:#2222dd; 
 +/*  background:#2e3436 url(pics/back_console.png) right bottom no-repeat ; */ 
 +
 + 
 +/* code blocks by code tag */ 
 +.slide pre code { 
 +  font-size: 8pt; 
 +  padding: 0.5em; 
 +  border: 1px dashed #aaaaff; 
 +  color: Black; 
 +  overflow: visible; 
 +
 + 
 +/* inline code words */ 
 +.slide code { 
 +  font-size: 120%; 
 +
 +</code> 
plugin/s5reloaded.1308469151.txt.gz · Last modified: 2011-06-19 09:39 by 90.164.20.81

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki