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 [2012-09-11 09:52] – [s5reloaded plugin] 193.146.252.149plugin:s5reloaded [2023-10-30 23:41] (current) Klap-in
Line 7: Line 7:
 type       : render type       : render
 lastupdate : 2012-09-11 lastupdate : 2012-09-11
-compatible : DokuWiki  2009-12-25+angua+compatible : AnguaAdora 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 ====
  
Line 31: Line 36:
   * 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: bugs reported below (to select theme in configuration manager and to allow both asciimath and asciimathml) were corrected. Thanks to atronoush!   * 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 12, 2012: added support for MathJax plugin, although inline equations seems not working.+  * 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 46: 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 57: Line 78:
  
 ===== Support for asciimathml plugin (fixed) ===== ===== Support for asciimathml plugin (fixed) =====
 +
 To have the [[[[plugin:asciimathml|ASCIIMathML plugin]] enabled 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: 
  
Line 72: Line 94:
  
 ===== Syntax highlighting (fixed?) ===== ===== 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 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:
Line 102: Line 125:
 } }
 </code> </code>
 +
plugin/s5reloaded.1347349956.txt.gz · Last modified: 2012-09-11 09:52 by 193.146.252.149

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