Michel, click to download jslider.tgz (255Kb) ;-)
JSlider is a powerfull tool written in Java (v.1.1) that generates HTML slides with your personnal presentations style. The initial version was made by Stephan Montigaud for the W3C. It uses standard style sheets that you can overload with your own. It automatically adds a table of contents, navigation buttons to cycle through different slides and other cool stuffs.
The slides created by JSlider are based on a template file that contains your own style. You can create a template file using a simple text editor or the JSlider editor.
COPYRIGHT -- the copyright file bin -- the binary files docs -- the api documentation (javadoc) lib -- the library : jslider.zip src -- the source files. www -- contains the documentation (javadoc and others) images -- contains the image you can use for the navigation buttons examples -- a little example we made bin/jsedit -- the slide editor bin/jslider -- the slides generator bin/makedoc -- the javadoc maker (You should not have to use it) bin/multi -- script that prints files with N virtual pages per real sheet of paper
JSlider editor is an editor for most of the properties used in the template file. Basically you have seven parts in the interface. Six of those parts are used to customize the headers, one is used to customize the general slides properties.
-------------------------------------------------------------------- | topLeft header | topCenter header | topRight header | -------------------------------------------------------------------- | topLine | |------------------------------------------------------------------| | | | | | | | | | | | this part contains your text | | | | | | | | | | | |------------------------------------------------------------------| | bottomLine | -------------------------------------------------------------------- | bottomLeft header | bottomCenter header | bottomRight header | --------------------------------------------------------------------
Each headers have the following properties :
|
![]() |
You can edit the header graphic properties. By clicking on the edit button, a dialog box appears (depending on the header's type). Here is an example of the dialog used by the type note. You can change all the properties, like the font-size as follow.
For more details about the allowed values in each TextField, you can see the CSS1 specifications. Basic CSS values can be selected by clicking on the each property button.
The global properties are those that will be applied in your text (contained in a html file). You can choose if you want a line at the top and/or at the bottom of your slides. This line can be solid, or an image.
You can change the line's style as follow :
You can change the other properties using this part of the editor :
<h1>Introduction<h1>
will create a slide with
the title Introduction.
<h1>JSlider editor<h1>
...
<h1>JSlider editor<h1>
...
will create two slides with the title JSlider editor (1) and
JSlider editor (2)
Arnaud Le Hors
http://www.w3.org/People/Arnaud
<a href="http://www.w3.org/People/Arnaud">Arnaud Le Hors<a>
At last you can load, save a template using the File menu entries. You are also able to generate the slides with the Generate entry of the same menu.
The template file is an ASCII file you can edit with emacs. It contains all the properties you want to apply to your slides. For futher details and a complete description of all properties, you can have a look on the full description of whole properties. Here are only some examples :
# put <h1> as the slide delimiter separator: h1 # put the background color of the slide to silver background-color : silver # put the font-family to Helvetica font-family: Helvetica, sans-serif # the location of the navigation buttons next-url: ./graphics/right.gif toc-url: ./graphics/up.gif prev-url: ./graphics/left.gif logo-url: ./graphics/logoESSI.gif
For headers'properties, you must prefix the properties by the header's name : topLeft, topCenter, topRight, bottomLeft, bottomCenter and bottomRight.
# the top left header contains slide's title topLeft.type: title # the top right header contains a logo topRight.type: logo topRight.logo-url: http://www.inria.fr/koala/graphics/koala-postcard.gif # bottom center header contains a footnote with special colors bottomCenter.type: note bottomCenter.note: quake rules bottomCenter.background-color: blue bottomCenter.color: #FFFFFF
You can defined macros in the template file as follow
macro.salut: hi, salut, bonjour
and reuse them in a note header like this :
topLeft.type: note topLeft.note: &salut;
Here are the predifined macros, some of them are computed at runtime :
&author1-name; - the name of the first author &author1-url; - the url of the first author &author2-name; - the name of the second author &author2-url; - the url of the second author ¤tPage; - the current page of the slide (runtime) &maxPage; - the last page of the slide (runtime) &day; - the day in a week (runtime) &iday; - the day number (runtime) &month; - the month (runtime) &imonth; - the month number (runtime) &year; - the year (runtime) ¤tTitle; - the title of the slide (runtime) &mainTitle; - the main title (runtime, given by the <title> tag) &date; - the date (depending on the language) &tocTitle; - the title of the table of contents
You can create macros by using macros
# default date for different languages macro.dateEn: &month; &year; macro.dateFr: &day; &iday; &month; &year;
Copyright 1998 Thierry Kormann and Philippe Le Hégaret Permission to use, copy, modify, and to distribute this software and its documentation for any purpose is hereby granted without fee, provided that the above Copyright notice appear in all copies and that both that Copyright notice and this permission notice appear in supporting documentation. Thierry Kormann and Philippe Le Hégaret makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty. Thierry Kormann and Philippe Le Hégaret disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness, in no event shall Thierry Kormann and Philippe Le Hégaret be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software. JSlider - Version 1.0 - March 1998 Authors : Thierry Kormann tkormann@sophia.inria.fr http://www.inria.fr/koala/thierry/ Philippe Le Hégaret plehegar@sophia.inria.fr http://www.inria.fr/koala/plh/
Greetings fly to :
Arnaud Le Hors, Colas Nahaboo, Philippe Kaplan, Yves
Lafon, Stephan Montigaud, Bert Bos, Benoit Mahé, Michel Buffa.
Special regards go to :
Jean Philippe Orsini, Vincent Mallet,
Olivier and Johanna Nobili, Sébastien Schneider, Oliv, Sonic boys,
Stéphane Vinter, Adil Mehdaoui, Frédéric Béringer and all others we forgot.
Big Kisses to :
Karine, Sévy, Karen and Cynthia.
Hardware used to code JSlider :