<?xml version="1.0" encoding="ASCII"?> <book version="5.0"> <info> <title>Website Parameter Reference</title> <releaseinfo role="meta"> $Id: param.xweb 9130 2011-10-11 08:05:37Z dpawson $ </releaseinfo> <author> <personname> <surname>Walsh</surname> <firstname>Norman</firstname> </personname> </author> <copyright> <year>2002-2011</year> <holder>Norman Walsh</holder> </copyright> <abstract> <para>This is reference documentation for all user-configurable parameters in the DocBook XSL Website stylesheet (for generating websites from DocBook XML sources). Note that the Website stylesheet is a customization layer of the DocBook XSL HTML stylesheet. Therefore, in addition to the Website-specific parameters listed in this section, you can also use a number of <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="../html/">HTML stylesheet parameters</link> to control Website output.</para> </abstract> </info> <reference xml:id="general"> <title>General Parameters</title> <refentry version="5.0" xml:id="autolayout-file"> <refmeta> <refentrytitle>autolayout-file</refentrytitle> <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> </refmeta> <refnamediv> <refname>autolayout-file</refname> <refpurpose>Identifies the autolayout.xml file</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="autolayout-file.frag"> <xsl:param name="autolayout-file">autolayout.xml</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>When the source pages are spread over several directories, this parameter can be set (for example, from the command line of a batch-mode XSLT processor) to indicate the location of the autolayout.xml file.</para> <para>FIXME: for browser-based use, there needs to be a PI for this... </para> </refsection> </refentry> <refentry version="5.0" xml:id="body.attributes"> <refmeta> <refentrytitle>body.attributes</refentrytitle> <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo> </refmeta> <refnamediv> <refname>body.attributes</refname> <refpurpose>DEPRECATED</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="body.attributes.frag"> <xsl:attribute-set name="body.attributes"> <xsl:attribute name="bgcolor">white</xsl:attribute> <xsl:attribute name="text">black</xsl:attribute> <xsl:attribute name="link">#0000FF</xsl:attribute> <xsl:attribute name="vlink">#840084</xsl:attribute> <xsl:attribute name="alink">#0000FF</xsl:attribute> </xsl:attribute-set> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>DEPRECATED</para> </refsection> </refentry> <refentry version="5.0" xml:id="currentpage.marker"> <refmeta> <refentrytitle>currentpage.marker</refentrytitle> <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> </refmeta> <refnamediv> <refname>currentpage.marker</refname> <refpurpose>The text symbol used to mark the current page</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="currentpage.marker.frag"> <xsl:param name="currentpage.marker">@</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>Character to use as identifying the current page in </para> </refsection> </refentry> <refentry version="5.0" xml:id="dry-run"> <refmeta> <refentrytitle>dry-run</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>dry-run</refname> <refpurpose>Indicates that no files should be produced</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="dry-run.frag"> <xsl:param name="dry-run" select="0"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>When using the XSLT processor to manage dependencies and construct the website, this parameter can be used to suppress the generation of new and updated files. Effectively, this allows you to see what the stylesheet would do, without actually making any changes.</para> <para>Only applies when XSLT-based chunking is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="feedback.href"> <refmeta> <refentrytitle>feedback.href</refentrytitle> <refmiscinfo class="other" otherclass="datatype">uri</refmiscinfo> </refmeta> <refnamediv> <refname>feedback.href</refname> <refpurpose>HREF (URI) for feedback link</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="feedback.href.frag"> <xsl:param name="feedback.href"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>The <varname>feedback.href</varname> value is used as the value for the <tag class="attribute">href</tag> attribute on the feedback link. If <varname>feedback.href</varname> is empty, no feedback link is generated.</para> </refsection> </refentry> <refentry version="5.0" xml:id="feedback.link.text"> <refmeta> <refentrytitle>feedback.link.text</refentrytitle> <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> </refmeta> <refnamediv> <refname>feedback.link.text</refname> <refpurpose>The text of the feedback link</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="feedback.link.text.frag"> <xsl:param name="feedback.link.text">Feedback</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>The contents of this variable is used as the text of the feedback link if <varname>feedback.href</varname> is not empty. If <varname>feedback.href</varname> is empty, no feedback link is generated.</para> </refsection> </refentry> <refentry version="5.0" xml:id="feedback.with.ids"> <refmeta> <refentrytitle>feedback.with.ids</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>feedback.with.ids</refname> <refpurpose>Toggle use of IDs in feedback</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="feedback.with.ids.frag"> <xsl:param name="feedback.with.ids" select="0"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If <varname>feedback.with.ids</varname> is non-zero, the ID of the current page will be added to the feedback link. This can be used, for example, if the <varname>feedback.href</varname> is a CGI script.</para> </refsection> </refentry> <refentry version="5.0" xml:id="filename-prefix"> <refmeta> <refentrytitle>filename-prefix</refentrytitle> <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> </refmeta> <refnamediv> <refname>filename-prefix</refname> <refpurpose>Prefix added to all filenames</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="filename-prefix.frag"> <xsl:param name="filename-prefix"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>To produce the <quote>text-only</quote> (that is, non-tabular) layout of a website simultaneously with the tabular layout, the filenames have to be distinguished. That's accomplished by adding the <varname>filename-prefix</varname> to the front of each filename.</para> </refsection> </refentry> <refentry version="5.0" xml:id="footer.hr"> <refmeta> <refentrytitle>footer.hr</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>footer.hr</refname> <refpurpose>Toggle <HR> before footer</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="footer.hr.frag"> <xsl:param name="footer.hr" select="1"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If non-zero, an <HR> is generated at the bottom of each web page, before the footer.</para> </refsection> </refentry> <refentry version="5.0" xml:id="header.hr"> <refmeta> <refentrytitle>header.hr</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>header.hr</refname> <refpurpose>Toggle <HR> after header</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="header.hr.frag"> <xsl:param name="header.hr" select="1"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If non-zero, an <HR> is generated at the bottom of each web page, before the footer.</para> </refsection> </refentry> <refentry version="5.0" xml:id="output-root"> <refmeta> <refentrytitle>output-root</refentrytitle> <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> </refmeta> <refnamediv> <refname>output-root</refname> <refpurpose>Specifies the root directory of the website</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="output-root.frag"> <xsl:param name="output-root">.</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>When using the XSLT processor to manage dependencies and construct the website, this parameter can be used to indicate the root directory where the resulting pages are placed.</para> <para>Only applies when XSLT-based chunking is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="rebuild-all"> <refmeta> <refentrytitle>rebuild-all</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>rebuild-all</refname> <refpurpose>Indicates that all files should be produced</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="rebuild-all.frag"> <xsl:param name="rebuild-all" select="0"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>When using the XSLT processor to manage dependencies and construct the website, this parameter can be used to regenerate the whole website, updating even pages that don't appear to need to be updated.</para> <para>The dependency extension only looks at the source documents. So if you change something in the stylesheet, for example, that has a global effect, you can use this parameter to force the stylesheet to rebuild the whole website. </para> <para>Only applies when XSLT-based chunking is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="sequential.links"> <refmeta> <refentrytitle>sequential.links</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>sequential.links</refname> <refpurpose>Make sequentional links?</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="sequential.links.frag"> <xsl:param name="sequential.links" select="0"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>FIXME</para> </refsection> </refentry> <refentry version="5.0" xml:id="suppress.homepage.title"> <refmeta> <refentrytitle>suppress.homepage.title</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>suppress.homepage.title</refname> <refpurpose>Suppress title on homepage?</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="suppress.homepage.title.frag"> <xsl:param name="suppress.homepage.title" select="1"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>FIXME:If non-zero, the title on the homepage is suppressed?</para> </refsection> </refentry> <refentry version="5.0" xml:id="table.spacer.image"> <refmeta> <refentrytitle>table.spacer.image</refentrytitle> <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> </refmeta> <refnamediv> <refname>table.spacer.image</refname> <refpurpose>Invisible pixel for tabular accessibility</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="table.spacer.image.frag"> <xsl:param name="table.spacer.image">graphics/spacer.gif</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>This is the 1x1 pixel, transparent pixel used for <link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://diveintoaccessibility.org/day_10_presenting_your_main_content_first.html">the table trick</link> to increase the accessibility of the tabular website presentation.</para> </refsection> </refentry> </reference> <reference xml:id="nav"> <title>Navigation Parameters</title> <refentry version="5.0" xml:id="banner.before.navigation"> <refmeta> <refentrytitle>banner.before.navigation</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>banner.before.navigation</refname> <refpurpose>Put banner before navigation?</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="banner.before.navigation.frag"> <xsl:param name="banner.before.navigation" select="1"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>FIXME</para> </refsection> </refentry> <refentry version="5.0" xml:id="navbgcolor"> <refmeta> <refentrytitle>navbgcolor</refentrytitle> <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo> </refmeta> <refnamediv> <refname>navbgcolor</refname> <refpurpose>The background color of the navigation TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="navbgcolor.frag"> <xsl:param name="navbgcolor">#4080FF</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>The background color of the navigation TOC.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="navbodywidth"> <refmeta> <refentrytitle>navbodywidth</refentrytitle> <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo> </refmeta> <refnamediv> <refname>navbodywidth</refname> <refpurpose>Specifies the width of the navigation table body</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="navbodywidth.frag"> <xsl:param name="navbodywidth"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>The width of the body column.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="nav.table.summary"> <refmeta> <refentrytitle>nav.table.summary</refentrytitle> <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> </refmeta> <refnamediv> <refname>nav.table.summary</refname> <refpurpose>HTML Table summary attribute value for navigation tables</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="nav.table.summary.frag"> <xsl:param name="nav.table.summary">Navigation</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>The value of this parameter is used as the value of the table summary attribute for the navigation table.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="navtocwidth"> <refmeta> <refentrytitle>navtocwidth</refentrytitle> <refmiscinfo class="other" otherclass="datatype">length</refmiscinfo> </refmeta> <refnamediv> <refname>navtocwidth</refname> <refpurpose>Specifies the width of the navigation table TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="navtocwidth.frag"> <xsl:param name="navtocwidth">220</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>The width, in pixels, of the navigation column.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="textbgcolor"> <refmeta> <refentrytitle>textbgcolor</refentrytitle> <refmiscinfo class="other" otherclass="datatype">color</refmiscinfo> </refmeta> <refnamediv> <refname>textbgcolor</refname> <refpurpose>The background color of the table body</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="textbgcolor.frag"> <xsl:param name="textbgcolor">white</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>The background color of the table body.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> </reference> <reference xml:id="toc"> <title>ToC Parameters</title> <refentry version="5.0" xml:id="toc.blank.graphic"> <refmeta> <refentrytitle>toc.blank.graphic</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>toc.blank.graphic</refname> <refpurpose>Use graphic for "blanks" in TOC?</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.blank.graphic.frag"> <xsl:param name="toc.blank.graphic" select="1"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If non-zero, "blanks" in the the TOC will be accomplished with the graphic identified by <varname>toc.spacer.image</varname>. </para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="toc.blank.image"> <refmeta> <refentrytitle>toc.blank.image</refentrytitle> <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> </refmeta> <refnamediv> <refname>toc.blank.image</refname> <refpurpose>The image for "blanks" in the TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.blank.image.frag"> <xsl:param name="toc.blank.image">graphics/blank.gif</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If <varname>toc.blank.graphic</varname> is non-zero, this image will be used to for "blanks" in the TOC.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="toc.blank.text"> <refmeta> <refentrytitle>toc.blank.text</refentrytitle> <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> </refmeta> <refnamediv> <refname>toc.blank.text</refname> <refpurpose>The text for "blanks" in the TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.blank.text.frag"> <xsl:param name="toc.blank.text">   </xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If <varname>toc.blank.graphic</varname> is zero, this text string will be used for "blanks" in the TOC.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="toc.pointer.graphic"> <refmeta> <refentrytitle>toc.pointer.graphic</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>toc.pointer.graphic</refname> <refpurpose>Use graphic for TOC pointer?</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.pointer.graphic.frag"> <xsl:param name="toc.pointer.graphic" select="1"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If non-zero, the "pointer" in the TOC will be displayed with the graphic identified by <varname>toc.pointer.image</varname>. </para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="toc.pointer.image"> <refmeta> <refentrytitle>toc.pointer.image</refentrytitle> <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> </refmeta> <refnamediv> <refname>toc.pointer.image</refname> <refpurpose>The image for the "pointer" in the TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.pointer.image.frag"> <xsl:param name="toc.pointer.image">graphics/arrow.gif</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If <varname>toc.pointer.graphic</varname> is non-zero, this image will be used for the "pointer" in the TOC.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="toc.pointer.text"> <refmeta> <refentrytitle>toc.pointer.text</refentrytitle> <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> </refmeta> <refnamediv> <refname>toc.pointer.text</refname> <refpurpose>The text for the "pointer" in the TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.pointer.text.frag"> <xsl:param name="toc.pointer.text"> > </xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If <varname>toc.pointer.graphic</varname> is zero, this text string will be used to display the "pointer" in the TOC.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="toc.spacer.graphic"> <refmeta> <refentrytitle>toc.spacer.graphic</refentrytitle> <refmiscinfo class="other" otherclass="datatype">boolean</refmiscinfo> </refmeta> <refnamediv> <refname>toc.spacer.graphic</refname> <refpurpose>Use graphic for TOC spacer?</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.spacer.graphic.frag"> <xsl:param name="toc.spacer.graphic" select="1"></xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If non-zero, the indentation in the TOC will be accomplished with the graphic identified by <varname>toc.spacer.image</varname>. </para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="toc.spacer.image"> <refmeta> <refentrytitle>toc.spacer.image</refentrytitle> <refmiscinfo class="other" otherclass="datatype">filename</refmiscinfo> </refmeta> <refnamediv> <refname>toc.spacer.image</refname> <refpurpose>The image for spacing the TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.spacer.image.frag"> <xsl:param name="toc.spacer.image">graphics/blank.gif</xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If <varname>toc.spacer.graphic</varname> is non-zero, this image will be used to indent the TOC.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> <refentry version="5.0" xml:id="toc.spacer.text"> <refmeta> <refentrytitle>toc.spacer.text</refentrytitle> <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> </refmeta> <refnamediv> <refname>toc.spacer.text</refname> <refpurpose>The text for spacing the TOC</refpurpose> </refnamediv> <refsynopsisdiv> <programlisting xml:id="toc.spacer.text.frag"> <xsl:param name="toc.spacer.text">   </xsl:param> </programlisting> </refsynopsisdiv> <refsection><info><title>Description</title></info> <para>If <varname>toc.spacer.graphic</varname> is zero, this text string will be used to indent the TOC.</para> <para>Only applies with the tabular presentation is being used.</para> </refsection> </refentry> </reference> <appendix xml:id="stylesheet"><title>The Stylesheet</title> <para>The <filename>param.xsl</filename> stylesheet is just a wrapper around all these parameters.</para> <programlisting xml:id="top"> <!-- This file is generated from param.xweb --> <xsl:stylesheet exclude-result-prefixes="src" version="1.0"> <!-- ******************************************************************** $Id: param.xweb 9130 2011-10-11 08:05:37Z dpawson $ ******************************************************************** This file is part of the DocBook XSL Stylesheets distribution. See ../README or http://docbook.sf.net/release/xsl/current/ for copyright and other information. ******************************************************************** --> <src:fragref linkend="autolayout-file.frag"></src:fragref> <src:fragref linkend="header.hr.frag"></src:fragref> <src:fragref linkend="footer.hr.frag"></src:fragref> <src:fragref linkend="feedback.href.frag"></src:fragref> <src:fragref linkend="feedback.with.ids.frag"></src:fragref> <src:fragref linkend="feedback.link.text.frag"></src:fragref> <src:fragref linkend="filename-prefix.frag"></src:fragref> <src:fragref linkend="output-root.frag"></src:fragref> <src:fragref linkend="dry-run.frag"></src:fragref> <src:fragref linkend="rebuild-all.frag"></src:fragref> <src:fragref linkend="nav.table.summary.frag"></src:fragref> <src:fragref linkend="navtocwidth.frag"></src:fragref> <src:fragref linkend="navbodywidth.frag"></src:fragref> <src:fragref linkend="textbgcolor.frag"></src:fragref> <src:fragref linkend="navbgcolor.frag"></src:fragref> <src:fragref linkend="toc.spacer.graphic.frag"></src:fragref> <src:fragref linkend="toc.spacer.text.frag"></src:fragref> <src:fragref linkend="toc.spacer.image.frag"></src:fragref> <src:fragref linkend="toc.pointer.graphic.frag"></src:fragref> <src:fragref linkend="toc.pointer.text.frag"></src:fragref> <src:fragref linkend="toc.pointer.image.frag"></src:fragref> <src:fragref linkend="toc.blank.graphic.frag"></src:fragref> <src:fragref linkend="toc.blank.text.frag"></src:fragref> <src:fragref linkend="toc.blank.image.frag"></src:fragref> <src:fragref linkend="suppress.homepage.title.frag"></src:fragref> <src:fragref linkend="body.attributes.frag"></src:fragref> <src:fragref linkend="sequential.links.frag"></src:fragref> <src:fragref linkend="currentpage.marker.frag"></src:fragref> <src:fragref linkend="banner.before.navigation.frag"></src:fragref> <src:fragref linkend="table.spacer.image.frag"></src:fragref> </xsl:stylesheet> </programlisting> </appendix> </book>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 26953 | Paul Allen | Move //guest/perforce_software/p4convert to //guest/perforce_software/p4convert/main | ||
//guest/perforce_software/p4convert/docs/docbook-xsl-ns-1.78.1/website/param.xml | |||||
#2 | 14806 | Paul Allen | Update docs and add +w. | ||
#1 | 13920 | Paul Allen | copy part 2 (no errors) | ||
//guest/paul_allen/p4convert-maven/docs/docbook-xsl-ns-1.78.1/website/param.xml | |||||
#1 | 13895 | Paul Allen | Copying using p4convert-docbook | ||
//guest/perforce_software/doc_build/main/docbook-xsl-ns-1.78.1/website/param.xml | |||||
#1 | 12728 | eedwards |
Upgrade ANT doc build infrastructure to assemble PDFs: - remove non-namespaced DocBook source and add namespaced DocBook source. - add Apache FOP 1.1 - copy fonts, images, XSL into _build, establishing new asset structure. The original structure remains until all guides using it can be upgraded, and several other issues can be resolved. - updated build.xml to allow for per-target build properties. - upgraded the P4SAG to use the new infrastructure. - tweaked admonition presentation in PDFs to remove admonition graphics, and resemble closely the presentation used in the new HTML layout, including the same colors. With these changes, building PDFs involves using a shell, navigating into the guide's directory (just P4SAG for now), and executing "ant pdf". Issues still to be resolved: - PDF generation encounters several warnings about missing fonts (bold versions of Symbol and ZapfDingbats), and a couple of locations where the page content exceeds the defined content area. - Due to issues within Apache FOP, PDF generation emits a substantial amount of output that is not easily suppressed without losing important warning information. - Apache FOP's interface to ANT does not expose a way to set the font base directory. The current configuration does work under Mac OSX, but further testing on Windows will need to be done to determine if the relative paths defined continue to work. The workaround is for Windows users to customize the fop-config.xml to provide absolute system paths to the required fonts. - HTML generation needs further browser testing, and exhibits broken navigation on iOS browsers within the TOC sidebar. - A number of PDF and HTML presentation tweaks still need to be made, for example: sidebars, gui* DocBook tags, whitespace, section separation, etc. |