$Id: param.xweb,v 1.6 2004/03/04 14:49:51 kosek Exp $
Copyright © 2002 Norman Walsh
Table of Contents
This is reference documentation for the Slides stylesheet parameters.
This reference describes each of the parameters. These are the “easily customizable” parts of the stylesheet. If you want to specify an alternate value for one or more of these parameters, you can do so in a “driver” stylesheet.
For example, if you want to change the keyboard.nav parameter to 0, you might create a driver stylesheet like this:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version='1.0'> <xsl:import href="http://docbook.sourceforge.net/release/slides/current/xsl/slides.xsl"/> <xsl:param name="keyboard.nav" select="0"/> </xsl:stylesheet>
Naturally, you have to change the href attribute on <xsl:import> to point to the stylesheet on your system.
This is not intended to be “user” documentation. It is provided for developers writing customization layers for the stylesheets, and for anyone who's interested in “how it works”.
Although I am trying to be thorough, this documentation is known to be incomplete. Don't forget to read the source, too :-)
Table of Contents
overlay — Overlay footer navigation?
If non-zero, JavaScript is added to the slides to make the bottom navigation appear at the bottom of each page. This option and multiframe are mutually exclusive.
If this parameter is zero, the bottom navigation simply appears below the content of each slide.
Table of Contents
toc.row.height — Height of ToC rows in dynamic ToCs
This parameter specifies the height of each row in the table of contents. This is only applicable if a dynamic ToC is used. You may want to adjust this parameter for optimal appearance with the font and image sizes selected by your CSS stylesheet.
toc.hide.show — Enable hide/show button for ToC frame
If non-zero, JavaScript (and an additional icon, see hidetoc.image and showtoc.image) is added to each slide to allow the ToC panel to be “toggled” on each panel.
There is a bug in Mozilla 1.0 (at least as of CR3) that causes the browser to reload the titlepage when this feature is used.
overlay.logo — Logo to overlay on ToC frame
multiframe.bottom.bgcolor — Background color for bottom navigation frame
Specifies the background color of the bottom navigation frame when multiframe is enabled.
Table of Contents
plus.image — Plus image
Specifies the filename of the “plus” image; the image used in a dynamic ToC to indicate that a section can be expanded.
minus.image — Minus image
Specifies the filename of the “minus” image; the image used in a dynamic ToC to indicate that a section can be collapsed.
hidetoc.image — Hide ToC image
Specifies the filename of the “hide ToC” image. This is used when the ToC hide/show parameter is enabled.
showtoc.image — Show ToC image
Specifies the filename of the “show ToC” image. This is used when the ToC hide/show parameter is enabled.
Table of Contents
The param.xsl stylesheet is just a wrapper around all these parameters.
<!-- This file is generated from param.xweb; do not edit this file! --> <xsl:stylesheet exclude-result-prefixes="src" version="1.0"> <!-- ******************************************************************** $Id: param.xweb,v 1.6 2004/03/04 14:49:51 kosek Exp $ ******************************************************************** This file is part of the DocBook Slides Stylesheet distribution. See ../README or http://nwalsh.com/docbook/xsl/ for copyright and other information. ******************************************************************** --> <src:fragref linkend="active.toc.frag"></src:fragref> <src:fragref linkend="body.bg.color.frag"></src:fragref> <src:fragref linkend="bullet.image.frag"></src:fragref> <src:fragref linkend="css.stylesheet.frag"></src:fragref> <src:fragref linkend="css.stylesheet.dir.frag"></src:fragref> <src:fragref linkend="dynamic.toc.frag"></src:fragref> <src:fragref linkend="foilgroup.toc.frag"></src:fragref> <src:fragref linkend="graphics.dir.frag"></src:fragref> <src:fragref linkend="hidetoc.image.frag"></src:fragref> <src:fragref linkend="home.image.frag"></src:fragref> <src:fragref linkend="keyboard.nav.frag"></src:fragref> <src:fragref linkend="minus.image.frag"></src:fragref> <src:fragref linkend="multiframe.bottom.bgcolor.frag"></src:fragref> <src:fragref linkend="multiframe.frag"></src:fragref> <src:fragref linkend="multiframe.navigation.height.frag"></src:fragref> <src:fragref linkend="multiframe.top.bgcolor.frag"></src:fragref> <src:fragref linkend="nav.separator.frag"></src:fragref> <src:fragref linkend="next.image.frag"></src:fragref> <src:fragref linkend="no.home.image.frag"></src:fragref> <src:fragref linkend="no.next.image.frag"></src:fragref> <src:fragref linkend="no.prev.image.frag"></src:fragref> <src:fragref linkend="no.toc.image.frag"></src:fragref> <src:fragref linkend="no.up.image.frag"></src:fragref> <src:fragref linkend="output.indent.frag"></src:fragref> <src:fragref linkend="overlay.frag"></src:fragref> <src:fragref linkend="overlay.js.frag"></src:fragref> <src:fragref linkend="overlay.logo.frag"></src:fragref> <src:fragref linkend="plus.image.frag"></src:fragref> <src:fragref linkend="prev.image.frag"></src:fragref> <src:fragref linkend="script.dir.frag"></src:fragref> <src:fragref linkend="show.foil.number.frag"></src:fragref> <src:fragref linkend="showtoc.image.frag"></src:fragref> <src:fragref linkend="slides.js.frag"></src:fragref> <src:fragref linkend="text.home.frag"></src:fragref> <src:fragref linkend="text.next.frag"></src:fragref> <src:fragref linkend="text.prev.frag"></src:fragref> <src:fragref linkend="text.toc.frag"></src:fragref> <src:fragref linkend="text.up.frag"></src:fragref> <src:fragref linkend="titlefoil.html.frag"></src:fragref> <src:fragref linkend="toc.bg.color.frag"></src:fragref> <src:fragref linkend="toc.hide.show.frag"></src:fragref> <src:fragref linkend="toc.html.frag"></src:fragref> <src:fragref linkend="toc.image.frag"></src:fragref> <src:fragref linkend="toc.row.height.frag"></src:fragref> <src:fragref linkend="toc.width.frag"></src:fragref> <src:fragref linkend="ua.js.frag"></src:fragref> <src:fragref linkend="up.image.frag"></src:fragref> <src:fragref linkend="xbCollapsibleLists.js.frag"></src:fragref> <src:fragref linkend="xbDOM.js.frag"></src:fragref> <src:fragref linkend="xbStyle.js.frag"></src:fragref> <src:fragref linkend="xbLibrary.js.frag"></src:fragref> </xsl:stylesheet>