From 60a5a938e6657250d228742b8367f8dbe7dd28d4 Mon Sep 17 00:00:00 2001 From: Manuel Canales Esparcia Date: Sat, 21 Jul 2007 15:00:15 +0000 Subject: Merged r8226 from new-xsl branch. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8228 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION | 4 +- .../lfs-xsl/docbook-xsl-snapshot/common/common.xsl | 101 +- .../lfs-xsl/docbook-xsl-snapshot/common/de.xml | 7 + .../lfs-xsl/docbook-xsl-snapshot/common/en.xml | 7 + .../lfs-xsl/docbook-xsl-snapshot/common/es.xml | 7 + .../lfs-xsl/docbook-xsl-snapshot/common/fr.xml | 7 + .../lfs-xsl/docbook-xsl-snapshot/common/it.xml | 7 + .../lfs-xsl/docbook-xsl-snapshot/common/labels.xsl | 21 +- .../lfs-xsl/docbook-xsl-snapshot/common/pi.xsl | 377 ++++--- .../docbook-xsl-snapshot/common/refentry.xsl | 105 +- .../lfs-xsl/docbook-xsl-snapshot/common/table.xsl | 10 +- .../docbook-xsl-snapshot/common/utility.xsl | 92 +- .../lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml | 7 + .../lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml | 7 + .../lfs-xsl/docbook-xsl-snapshot/fo/component.xsl | 41 +- .../lfs-xsl/docbook-xsl-snapshot/fo/lists.xsl | 14 +- .../lfs-xsl/docbook-xsl-snapshot/fo/param.xsl | 2 +- stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pi.xsl | 1084 +++++++++++-------- .../lfs-xsl/docbook-xsl-snapshot/fo/table.xsl | 41 +- .../lfs-xsl/docbook-xsl-snapshot/fo/verbatim.xsl | 3 +- .../lfs-xsl/docbook-xsl-snapshot/fo/xref.xsl | 11 + .../lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl | 62 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/admon.xsl | 10 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/autotoc.xsl | 11 +- .../docbook-xsl-snapshot/xhtml/chunk-code.xsl | 2 +- .../docbook-xsl-snapshot/xhtml/chunk-common.xsl | 134 ++- .../docbook-xsl-snapshot/xhtml/chunktoc.xsl | 4 +- .../docbook-xsl-snapshot/xhtml/component.xsl | 14 +- .../docbook-xsl-snapshot/xhtml/division.xsl | 12 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl | 4 +- .../docbook-xsl-snapshot/xhtml/graphics.xsl | 10 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/lists.xsl | 62 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/math.xsl | 5 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl | 6 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/pi.xsl | 1120 ++++++++++++++++++-- .../xhtml/profile-chunk-code.xsl | 2 +- .../docbook-xsl-snapshot/xhtml/qandaset.xsl | 30 +- .../docbook-xsl-snapshot/xhtml/sections.xsl | 5 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl | 9 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/table.xsl | 52 +- .../docbook-xsl-snapshot/xhtml/titlepage.xsl | 4 +- .../docbook-xsl-snapshot/xhtml/verbatim.xsl | 15 +- .../lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl | 2 - 43 files changed, 2397 insertions(+), 1133 deletions(-) diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION b/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION index 6bbaa86a7..146b24160 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION @@ -11,14 +11,14 @@ 1.72.0 6553 $Revision$ -$URL: https://svn.sourceforge.net/svnroot/docbook/trunk/xsl/VERSION $ +$URL: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/VERSION $ DocBook XSL Stylesheets - snapshot_6933 + snapshot_7094 diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl index 484e7ee2d..0f6c378f9 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/common.xsl @@ -14,38 +14,24 @@ See ../README or http://docbook.sf.net/release/xsl/current/ for copyright and other information. - This file contains general templates common to both the HTML and FO - versions of the DocBook stylesheets. ******************************************************************** --> - - - -$Id$ - -Walsh -Norman -1999-2007 -Norman Walsh - - -Common Template Reference - - -Introduction - -This is technical reference documentation for the “common” -templates in the DocBook XSL Stylesheets. The common templates are -“common” because they are shared across output formats (that is, -they’re not output-format-dependent). - -This documentation 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. - - - + + + Common » Base Template Reference + + $Id$ + + + + + Introduction + This is technical reference documentation for the “base” + set of common templates in the DocBook XSL Stylesheets. + This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + @@ -183,7 +169,7 @@ manvolnum This template calculates the hierarchical level of a section. -The element sect1 is at level 1, sect2 is +The element sect1 is at level 1, sect2 is at level 2, etc. Recursive sections are calculated down to the fifth level. @@ -1324,45 +1310,24 @@ pointed to by the link is one of the elements listed in - - - - - - - - - - - - - - - - - - - + + + - - - - - + + 1 + select="$list/preceding::orderedlist[1]"/> 2 @@ -1382,7 +1347,6 @@ pointed to by the link is one of the elements listed in - @@ -1903,33 +1867,28 @@ unchanged. localized "choice" separator (for example, "and" or "or") before the final item in an inline list (though it could also be useful for generating choice separators for non-inline lists). - It currently works by evaluating a processing instruction (PI) of the form <?dbchoice choice="foo"?> : - - if the value of the choice + if the value of the choice pseudo-attribute is "and" or "or", returns a localized "and" or "or" otherwise returns the literal value of the - choice pseudo-attribute + choice pseudo-attribute - The latter is provided only as a temporary workaround because the locale files do not currently have translations for the word or. So if you want to generate a a logical "or" separator in French (for example), you currently need to do this: - <?dbchoice choice="ou"?> - - The dbchoice processing instruction is + The dbchoice processing instruction is an unfortunate hack; support for it may disappear in the future (particularly if and when a more appropriate means for marking up "choice" lists becomes available in DocBook). @@ -1937,14 +1896,9 @@ unchanged. - - - - choice - + - @@ -2024,5 +1978,4 @@ engine does not support it. - diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml index 79b2201b1..a8233d13c 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml @@ -19,6 +19,13 @@ + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/en.xml b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/en.xml index a5ef40079..1aa99856b 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/en.xml +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/en.xml @@ -19,6 +19,13 @@ + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/es.xml b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/es.xml index c6d6bb630..11592e1e8 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/es.xml +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/es.xml @@ -19,6 +19,13 @@ + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/fr.xml b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/fr.xml index 5d590f725..58826b96c 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/fr.xml +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/fr.xml @@ -19,6 +19,13 @@ + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/it.xml b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/it.xml index a07b68eea..fc473dfef 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/it.xml +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/it.xml @@ -19,6 +19,13 @@ + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/labels.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/labels.xsl index 98050d012..38b123a35 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/labels.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/labels.xsl @@ -193,12 +193,31 @@ element label. + + + + + + + + + - + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl index cc2d6c264..5c3df8815 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl @@ -1,11 +1,13 @@ - + - - - +Common Processing Instruction Reference + + $Id$ + + + + Introduction + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the + “common” part of the DocBook XSL stylesheets. + + You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + Generates a localized choice separator + + Use the dbchoice choice PI to + generate an appropriate localized “choice” separator (for + example, and or or) + before the final item in an inline simplelist + + This PI is a less-than-ideal hack; support for it may + disappear in the future (particularly if and when a more + appropriate means for marking up "choice" lists becomes + available in DocBook). + + + + dbchoice choice="and"|"or"|string" + + + + choice="and" + + generates a localized and separator + + + choice="or" + + generates a localized or separator + + + choice="string" + + generates a literal string separator + + + + + + + + + + choice + - + + Inserts a date timestamp + + Use the dbtimestamp PI at any point in a + source document to cause a date timestamp (a formatted + string representing the current date and time) to be + inserted in output of the document. + + + dbtimestamp format="formatstring" [padding="0"|"1"] + + + + format="formatstring" + + Specifies format in which the date and time are + output + + For details of the content of the format string, + see Date and time. + + + + padding="0"|"1" + + Specifies padding behavior; if non-zero, padding is is added + + + + + + @@ -44,8 +137,7 @@ - - + @@ -60,7 +152,6 @@ 1 - @@ -72,10 +163,9 @@ - + function-available('date:dateTime')"> @@ -88,124 +178,169 @@ + + + + Generates delimiters around embedded TeX equations + in output + + Use the dbtex delims PI as a + child of a textobject containing embedded TeX + markup, to cause that markup to be surrounded by + $ delimiter characters in output. + + + dbtex delims="no"|"yes" + + + + dbtex delims="no"|"yes" + + Specifies whether delimiters are output + + + + + + tex.math.delims + + + DBTeXMath + + + + + + + + + + + + + + + + + + - + select="translate($format, + ' ', + '    ')"/> - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 0 - - - - 0 - - - - - - - 0 - - - - 0 - - - - 0 - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0 + + + + 0 + + + + + + + 0 + + + + 0 + + + + 0 + + + + + + + + + + + + + + + + + + + + + + - - - - - Timestamp processing requires an XSLT processor with support - for the EXSLT node-set() function. - - - + + + + Timestamp processing requires an XSLT processor with support + for the EXSLT node-set() function. + + + - diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/refentry.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/refentry.xsl index 4373e4849..892b9fb72 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/refentry.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/refentry.xsl @@ -16,36 +16,25 @@ ******************************************************************** --> - - + + + Common » Refentry Metadata Template Reference $Id$ - The DocBook Project - - 2005-2007 - The DocBook Project - - - Refentry Metadata-Gathering Template Reference - - + + + Introduction - - This is technical reference documentation for the "refentry - metadata gathering" templates in the DocBook XSL Stylesheets. - + This is technical reference documentation for the “refentry + metadata” templates in the DocBook XSL Stylesheets. This is not intended to be user documentation. It is provided - for developers writing customization layers for the - stylesheets. - + for developers writing customization layers for the stylesheets. Currently, only the manpages stylesheets make use of these templates. They are, however, potentially useful elsewhere. - - @@ -56,27 +45,27 @@ etc., is sometimes viewed in isolation from its greater "context". For example, users view Unix man pages as, well, individual pages, not as part of a "book" of some kind. Therefore, it is sometimes necessary to - embed "context" information in output for each refentry. + embed "context" information in output for each refentry. However, one problem is that different users mark up that context information in different ways. Often (usually), the context information is not actually part of the content of the - refentry itself, but instead part of the content of a - parent or ancestor element to the the refentry. And + refentry itself, but instead part of the content of a + parent or ancestor element to the the refentry. And even then, DocBook provides a variety of elements that users might potentially use to mark up the same kind of information. One user - might use the productnumber element to mark up version + might use the productnumber element to mark up version information about a particular product, while another might use - the releaseinfo element. + the releaseinfo element. Taking all that in mind, the get.refentry.metadata template tries to gather - metadata from a refentry element and its ancestor + metadata from a refentry element and its ancestor elements in an intelligent and user-configurable way. The basic mechanism used in the XPath expressions throughout this stylesheet is to select the relevant metadata from the *info element that is - closest to the actual refentry – either on the - refentry itself, or on its nearest ancestor. + closest to the actual refentry – either on the + refentry itself, or on its nearest ancestor. The get.refentry.metadata @@ -91,13 +80,13 @@ refname - The first refname in the refentry + The first refname in the refentry info - A set of info nodes (from a refentry + A set of info nodes (from a refentry element and its ancestors) @@ -194,23 +183,23 @@ The man(7) man page describes this as "the title of the man page (e.g., MAN). This differs - from refname in that, if the refentry has a - refentrytitle, we use that as the title; - otherwise, we just use first refname in the first - refnamediv in the source. + from refname in that, if the refentry has a + refentrytitle, we use that as the title; + otherwise, we just use first refname in the first + refnamediv in the source. refname - The first refname in the refentry + The first refname in the refentry - Returns a title node. + Returns a title node. @@ -232,8 +221,8 @@ The man(7) man page describes this as "the section number the man page should be placed in (e.g., - 7)". If we do not find a manvolnum - specified in the source, and we find that the refentry is + 7)". If we do not find a manvolnum + specified in the source, and we find that the refentry is for a function, we use the section number 3 ["Library calls (functions within program libraries)"]; otherwise, we default to using 1 ["Executable programs or shell @@ -244,7 +233,7 @@ refname - The first refname in the refentry + The first refname in the refentry @@ -323,13 +312,13 @@ refname - The first refname in the refentry + The first refname in the refentry info - A set of info nodes (from a refentry + A set of info nodes (from a refentry element and its ancestors) @@ -342,7 +331,7 @@ - Returns a date node. + Returns a date node. @@ -495,13 +484,13 @@ refname - The first refname in the refentry + The first refname in the refentry info - A set of info nodes (from a refentry + A set of info nodes (from a refentry element and its ancestors) @@ -515,7 +504,7 @@ - Returns a source node. + Returns a source node. @@ -611,13 +600,13 @@ refname - The first refname in the refentry + The first refname in the refentry info - A set of info nodes (from a refentry + A set of info nodes (from a refentry element and its ancestors) @@ -795,13 +784,13 @@ refname - The first refname in the refentry + The first refname in the refentry info - A set of info nodes (from a refentry + A set of info nodes (from a refentry element and its ancestors) @@ -981,13 +970,13 @@ refname - The first refname in the refentry + The first refname in the refentry info - A set of info nodes (from a refentry + A set of info nodes (from a refentry element and its ancestors) @@ -1001,7 +990,7 @@ - Returns a manual node. + Returns a manual node. @@ -1140,25 +1129,25 @@ Gets user preferences for refentry metadata gathering The DocBook XSL stylesheets include several user-configurable - global stylesheet parameters for controlling refentry + global stylesheet parameters for controlling refentry metadata gathering. Those parameters are not read directly by the - other refentry metadata-gathering + other refentry metadata-gathering templates. Instead, they are read only by the get.refentry.metadata.prefs template, which assembles them into a structure that is then passed to - the other refentry metadata-gathering + the other refentry metadata-gathering templates. So the, get.refentry.metadata.prefs template is the only interface to collecting stylesheet parameters for - controlling refentry metadata gathering. + controlling refentry metadata gathering. There are no local parameters for this template; however, it does rely on a number of global parameters. - Returns a manual node. + Returns a manual node. @@ -1223,7 +1212,7 @@ refname - The first refname in the refentry + The first refname in the refentry diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl index 9c0c49844..562d3412a 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/table.xsl @@ -124,17 +124,17 @@ Determine the column number in which a given entry occurs -If an entry has a -colname or -namest attribute, this template +If an entry has a +colname or +namest attribute, this template will determine the number of the column in which the entry should occur. -For other entrys, nothing is returned. +For other entrys, nothing is returned. entry -The entry-element which is to be tested. +The entry-element which is to be tested. diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/utility.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/utility.xsl index 8f9fadd9f..f6b3a0186 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/utility.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/utility.xsl @@ -3,6 +3,7 @@ xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:dyn="http://exslt.org/dynamic" xmlns:saxon="http://icl.com/saxon" + xmlns:xlink="http://www.w3.org/1999/xlink" exclude-result-prefixes="doc dyn saxon" version='1.0'> @@ -15,42 +16,33 @@ copyright and other information. ******************************************************************** --> - - - - -$Id$ - -The DocBook Project Development Team -2007 -The DocBook Project - - -Utility Template Reference - - -Introduction - -This is technical reference documentation for the - miscellaneous utility templates in the DocBook XSL - Stylesheets. - - -These templates are defined in a separate file from the set - of “common” templates because some of the comment templates - reference DocBook XSL stylesheet parameters, requiring the - entire set of parameters to be imported/included in any - stylesheet that imports/includes the common templates. -The utility templates don’t import or include any DocBook - XSL stylesheet parameters, so the utility templates can be used - without importing the whole set of parameters. - - -The following documentation 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. - + + + Common » Utility Template Reference + + $Id$ + + + + + Introduction + This is technical reference documentation for the + miscellaneous utility templates in the DocBook XSL + Stylesheets. + + These templates are defined in a separate file from the set + of “common” templates because some of the comment templates + reference DocBook XSL stylesheet parameters, requiring the + entire set of parameters to be imported/included in any + stylesheet that imports/includes the common templates. + The utility templates don’t import or include any DocBook + XSL stylesheet parameters, so the utility templates can be used + without importing the whole set of parameters. + + This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + @@ -67,8 +59,7 @@ $Id$ - - level + level Text to log/emit in the message-level field to indicate the message level @@ -76,8 +67,7 @@ $Id$ Warning) - - source + source Text to log/emit in the source field to identify the “source” to which the notification/warning relates. @@ -96,15 +86,13 @@ $Id$ XPath expression. - - context-desc + context-desc Text to log/emit in the context-description field to describe the context for the message. - - context-desc-field-length + context-desc-field-length Specifies length of the context-description field (in characters); default is 12 @@ -126,14 +114,12 @@ $Id$ parameter. - - message + message Text to log/emit in the actual message field - - message-field-length + message-field-length Specifies length of the message field (in characters); default is 45 @@ -255,11 +241,11 @@ $Id$ character). This function began as a copy of Nate Austin's - prepend-pad function in the Padding - Content section of Dave Pawson's XSLT - FAQ. + prepend-pad function in the Padding + Content section of Dave Pawson's XSLT + FAQ. diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml index 9f1c8d431..6a782fca0 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_cn.xml @@ -19,6 +19,13 @@ + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml index fbc52f415..db63cdca5 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/zh_tw.xml @@ -19,6 +19,13 @@ + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/component.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/component.xsl index 550faee2b..af1f1e40b 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/component.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/component.xsl @@ -713,31 +713,46 @@ + + + + + + + + + + + + + + + + + + + + + + + + - + - - - - + - - - - + - - - - + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/lists.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/lists.xsl index ee31ed093..ffdfaec9a 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/lists.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/lists.xsl @@ -1271,5 +1271,17 @@ - + + + + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/param.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/param.xsl index 4b03eabea..6156ee9e9 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/param.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/param.xsl @@ -1,5 +1,5 @@ - + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pi.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pi.xsl index 5f0a2c264..e03e989e2 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pi.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pi.xsl @@ -1,9 +1,11 @@ - + - - - -$Id$ - - - - The DocBook Project Development Team - - - - 2007 - The DocBook Project - - -FO Processing Instruction Reference - - -Introduction - -This is generated reference documentation for all - user-configurable processing instructions (PIs) in the DocBook - XSL stylesheets for FO output. - - You add these PIs at particular points in a document to - cause specific “exceptions” to formatting/output behavior. To - make global changes in formatting/output behavior across an - entire document, it’s better to do it by setting an - appropriate stylesheet parameter (if there is one). - - - +FO Processing Instruction Reference + + $Id$ + + + + + Introduction + + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for FO output. + + You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + -Sets background color for an image - - Use the dbfo background-color PI before or - after an image (graphic, inlinegraphic, - imagedata, or videodata element) as a - sibling to the element, to set a background color for the - image. - + Sets background color for an image + + Use the dbfo background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + dbfo background-color="color" - - - background-color="color" - - FIXME: A color value? [In hex, as a name, or what?] - - - - + + + background-color="color" + + An HTML color value + + + + + + Background color + @@ -82,23 +78,28 @@ $Id$ -Sets background color on an table row or table cell - - Use the dbfo bgcolor PI as child of a table row - or cell to set a background color for that table row or cell. - + Sets background color on a table row or table cell + + Use the dbfo bgcolor PI as child of a table row + or cell to set a background color for that table row or cell. + dbfo bgcolor="color" - - - bgcolor="color" - - FIXME: A color value? [In hex, as a name, or what?] - - - - + + + bgcolor="color" + + An HTML color value + + + + + + Cell background color + @@ -109,25 +110,36 @@ $Id$ -Specifies float behavior for a sidebar - - Use the dbfo float-type PI to specify the float - behavior for a sidebar (to cause the sidebar to be - displayed as a marginal note). - + Specifies float behavior for a sidebar + + Use the dbfo float-type PI to specify the float + behavior for a sidebar (to cause the sidebar to be + displayed as a marginal note). + dbfo float-type="margin.note" - - - float-type="margin.note" - - Specifies that the sidebar should be - displayed as a marginal note. - - - - + + + float-type="margin.note" + + Specifies that the sidebar should be + displayed as a marginal note. + + + + + + sidebar.float.type parameter, + sidebar.float.width parameter, + sidebar.properties attribute-set, + sidebar.title.properties + + + + A sidebar as + side float + @@ -138,28 +150,35 @@ $Id$ -Specifies presentation style for a glossary - - Use the dbfo glossary-presentation PI as a child of - a glossary to control its presentation style. - + Specifies presentation style for a glossary + + Use the dbfo glossary-presentation PI as a child of + a glossary to control its presentation style. + dbfo glossary-presentation="list"|"blocks" - - - glossary-presentation="list" - - Displayed the glossary as a list - - - glossary-presentation="blocks" - - Displays the glossary as blocks - - - - + + + glossary-presentation="list" + + Displays the glossary as a list + + + glossary-presentation="blocks" + + Displays the glossary as blocks + + + + + + glossary.as.blocks + + + Glossary + formatting in print + @@ -170,28 +189,35 @@ $Id$ -Specifies presentation style for a glosslist - - Use the dbfo glosslist-presentation PI as a child of - a glosslist to control its presentation style. - + Specifies presentation style for a glosslist + + Use the dbfo glosslist-presentation PI as a child of + a glosslist to control its presentation style. + dbfo glosslist-presentation="list"|"blocks" - - - glosslist-presentation="list" - - Displayed the glosslist as a list - - - glosslist-presentation="blocks" - - Displays the glosslist as blocks - - - - + + + glosslist-presentation="list" + + Displays the glosslist as a list + + + glosslist-presentation="blocks" + + Displays the glosslist as blocks + + + + + + glosslist.as.blocks + + + Glossary + formatting in print + @@ -202,26 +228,35 @@ $Id$ -Specifies the glossterm width for a glossary or - glosslist - - Use the dbfo glossterm-width PI as a child of a - glossary or glosslist to specify the - width for output of glossterm instances in the - output. - + Specifies the glossterm width for a glossary or + glosslist + + Use the dbfo glossterm-width PI as a child of a + glossary or glosslist to specify the + width for output of glossterm instances in the + output. + dbfo glossterm-width="width" - - - glossterm-width="width" - - FIXME: Specifies the glossterm width (in what units?) - - - - + + + glossterm-width="width" + + Specifies the glossterm width (including units) + + + + + + glossterm.width, + glossterm.separation + + + + Glossary + formatting in print + @@ -232,33 +267,40 @@ $Id$ -Specifies “keep” behavior for a table, example, - figure, or equation - - Use the dbfo keep-together PI as a child of a - formal object (table, example, - figure, or equation) or their informal - equivalents) to specify “keep” behavior for the object (to - allow the object to “break” across a page). - + Specifies “keep” behavior for a table, example, + figure, or equation + + Use the dbfo keep-together PI as a child of a + formal object (table, example, + figure, or equation) or their informal + equivalents) to specify “keep” behavior for the object (to + allow the object to “break” across a page). + dbfo keep-together="auto"|"always" - - - keep-together="auto" - - Enables the object to break across a page - - - keep-together="always" - - Prevents the object from breaking across a page (the - default stylesheet behavior) - - - - + + + keep-together="auto" + + Enables the object to break across a page + + + keep-together="always" + + Prevents the object from breaking across a page (the + default stylesheet behavior) + + + + + + formal.object.properties + + + Keep-together processing instruction + @@ -269,25 +311,28 @@ $Id$ -Specifies the label width for an itemizedlist, - orderedlist, or qandaset - - Use the dbfo label-width PI as a child of an - itemizedlist, orderedlist, or - qandaset to specify the width of labels. - + Specifies the label width for a qandaset + + Use the dbfo label-width PI as a child of a + qandaset to specify the width of labels. + dbfo label-width="width" - - - label-width="width" - - FIXME: Specifies the label width (in what units?) - - - - + + + label-width="width" + + Specifies the label width (including units) + + + + + + Q and A formatting + @@ -298,188 +343,221 @@ $Id$ -Specifies the interval at which lines are numbered - output of verbatim environments - - Use the dbfo linenumbering.everyNth PI as a child - of a “verbatim” element – programlisting, - screen, synopsis — to specify - the interval at which lines are numbered. - + Specifies interval for lines numbers in verbatims + + Use the dbfo linenumbering.everyNth PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + dbfo linenumbering.everyNth="N" - - - linenumbering.everyNth="N" - - FIXME: Specifies numbering interval; a number is - output before every Nth line - - - - + + + linenumbering.everyNth="N" + + Specifies numbering interval; a number is output + before every Nth line + + + + + + linenumbering.everyNth + + + Line numbering + - + -Specifies the separator text used between line numbers - and content in output of verbatim environments - - Use the dbfo linenumbering.separator PI as a child - of a “verbatim” element – programlisting, - screen, synopsis — to specify - the separator text output between the line numbers and content. - + Specifies separator text for line numbers in verbatims + + Use the dbfo linenumbering.separator PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + dbfo linenumbering.separator="text" - - - linenumbering.separator="text" - - FIXME: Specifies the text (zero or more characters) - - - - + + + linenumbering.separator="text" + + Specifies the text (zero or more characters) + + + + + + linenumbering.separator + + + Line numbering + - + -Specifies the width set aside for line numbers in - output of verbatim environments - - Use the dbfo linenumbering.width PI as a child - of a “verbatim” element – programlisting, - screen, synopsis — to specify - the width set aside for line numbers. - + Specifies width for line numbers in verbatims + + Use the dbfo linenumbering.width PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + dbfo linenumbering.width="width" - - - linenumbering.width="width" - - FIXME: Specifies the width (in what units?) - - - - + + + linenumbering.width="width" + + Specifies the width (inluding units) + + + + + + linenumbering.width + + + Line numbering + - + - -Specifies the width of a horizontal simplelist - - Use the dbfo list-width PI as a child of a - simplelist whose class - value is horizontal, to specify the width - of the simplelist. - + + Specifies presentation style for a variablelist or + segmentedlist + + Use the dbfo list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + - dbfo list-width="width" + dbfo list-presentation="list"|"blocks"|"table" - - - list-width="width" + + + list-presentation="list" + + Displays the list as a list + + + list-presentation="blocks" + + (variablelist only) Displays the list as blocks + + + list-presentation="table" + + (segmentedlist only) Displays the list as a table + + + + + + + + variablelist.as.blocks + - FIXME: Specifies the simplelist width (in what units?) + variablelist.as.table - - - + + + + Variable list formatting in print + - + - + - -Specifies presentation style for a variablelist or - segmentedlist - - Use the dbfo list-presentation PI as a child of - a variablelist or segmentedlist to - control the presentation style for the list (to cause it, for - example, to be displayed as a table). - + + Specifies the width of a horizontal simplelist + + Use the dbfo list-width PI as a child of a + simplelist whose class + value is horizontal, to specify the width + of the simplelist. + - dbfo list-presentation="list"|"blocks"|"table" + dbfo list-width="width" - - - list-presentation="list" - - Displayed the list as a list - - - list-presentation="blocks" - - (variablelist only) Displays the list as blocks - - - list-presentation="table" - - (segmentedlist only) Displays the list as a table - - - - + + + list-width="width" + + Specifies the simplelist width (including units) + + + + - + - + -Specifies the orientation for table row or cell - - Use the dbfo orientation PI as a child of an - table row or cell to specify the orientation - (rotation) for the row or cell. - + Specifies the orientation for table row or cell + + Use the dbfo orientation PI as a child of an + table row or cell to specify the orientation + (rotation) for the row or cell. + dbfo orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" - - - orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" - - Specifies the number of degrees by which the cell or - row is rotated - - - - + + + orientation="0"|"90"|"180"|"270"|"-90"|"-180"|"-270" + + Specifies the number of degrees by which the cell or + row is rotated + + + + @@ -490,33 +568,34 @@ $Id$ - Species whether an equation or - example should rendered across the full width of a - page - - Use the dbfo pgwide PI as a child of an - equation or example to specify that the - content should rendered across the full width of the page. - + Specifies if an equation or example goes across full page width + + Use the dbfo pgwide PI as a child of an + equation or example to specify that the + content should rendered across the full width of the page. + dbfo pgwide="0"|"1" - - - pgwide="0" - - If zero, the content is rendered across the current - text flow - - - pgwide="1" - - If 1 (or any non-zero value), the - content is rendered across the full width of the page - - - - + + + pgwide="0" + + If zero, the content is rendered across the current + text flow + + + pgwide="1" + + If 1 (or any non-zero value), the + content is rendered across the full width of the page + + + + + + pgwide.properties + @@ -529,53 +608,63 @@ $Id$ Specifies the width for a table entry or row - - Use the dbfo rotated-width PI as a child of an - entry or row instance to specify the - width of that the entry or row; or - use it higher up in table to cause the width to be inherited - recursively down. - + + Use the dbfo rotated-width PI as a child of an + entry or row instance to specify the + width of that the entry or row; or + use it higher up in table to cause the width to be inherited + recursively down. + dbfo rotated-width="width" - - - rotated-width="width" - - FIXME: Specifies the width of a row or cell (in what units?) - - - - + + + rotated-width="width" + + Specifies the width of a row or cell (including units) + + + + - + -Specifies the width of a sidebar - - Use the dbfo sidebar-width PI as a child of a - sidebar to specify the width of the sidebar. - + Specifies the width of a sidebar + + Use the dbfo sidebar-width PI as a child of a + sidebar to specify the width of the sidebar. + dbfo sidebar-width="width" - - - sidebar-width="width" - - FIXME: Specifies the sidebar width (in what units?) - - - - + + + sidebar-width="width" + + Specifies the sidebar width (including units) + + + + + + sidebar.float.type parameter, + sidebar.float.width parameter, + sidebar.properties attribute-set, + sidebar.title.properties + + + + A sidebar as + side float + @@ -585,27 +674,71 @@ $Id$ + + (obsolete) Sets the starting number on an ordered list + + This PI is obsolete. The intent of + it was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + + dbfo start="character" + + + + start="character" + + Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + List starting number + + + + + + + + + + -Specifies the width for a table or for revhistory - output - - Use the dbfo table-width PI as a child of a - table or revhistory instance (which is - rendered as a table in output) to specify the width of the - table in output. - + Specifies the width for a table or for revhistory + output + + Use the dbfo table-width PI as a child or + sibling of a table, or as a child of an + informaltable, entrybl, or + revhistory instance (which is rendered as a table + in output) to specify the width of the table in output. + dbfo table-width="width" - - - table-width="width" - - FIXME: Specifies the table width (in what units?) - - - - + + + table-width="width" + + Specifies the table width (including units or as a percentage) + + + + + + Table width + @@ -616,24 +749,29 @@ $Id$ -Specifies the term width for a variablelist - - Use the dbfo term-width PI as a child of a - variablelist to specify the width for - term output. - + Specifies the term width for a variablelist + + Use the dbfo term-width PI as a child of a + variablelist to specify the width for + term output. + dbfo term-width="width" - - - term-width="width" - - FIXME: Specifies the term width (in what units?) - - - - + + + term-width="width" + + Specifies the term width (including units) + + + + + + Variable list formatting in print + @@ -644,30 +782,38 @@ $Id$ -Species whether a TOC should be generated for a qandaset - - Use the dbfo toc PI as a child of a - jandaset to specify whether a table of contents - (TOC) is generated for the qandaset. - + Species whether a TOC should be generated for a qandaset + + Use the dbfo toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + dbfo toc="0"|"1" - - - toc="0" - - If zero, no TOC is generated - - - toc="1" - - If 1 (or any non-zero value), - a TOC is generated - - - - + + + toc="0" + + If zero, no TOC is generated + + + toc="1" + + If 1 (or any non-zero value), + a TOC is generated + + + + + + Q and A list of questions, + Q and A formatting + @@ -677,36 +823,37 @@ $Id$ - - -Specify a need for space (a kind of soft page break) - - A “need” is a request for space on a page. If the - requested space is not available, the page breaks and the - content that follows the need request appears on the next - page. If the requested space is available, then the request is - ignored. - + Specify a need for space (a kind of soft page break) + + A “need” is a request for space on a page. If the + requested space is not available, the page breaks and the + content that follows the need request appears on the next + page. If the requested space is available, then no page break + is inserted. + - dbfo-need height="n" - dbfo-need space-before="n" + dbfo-need height="n" [space-before="n"] - - - height="n" - - FIXME: the amount of height(?) needed? In what units? pt?. - - - space-before"n" - - FIXME: the amount of space needed before the - [something]? In what units? pt?. - - - - + + + height="n" + + The amount of height needed (including units) + + + space-before"n" + + The amount of extra vertical space to add (including units) + + + + + + Soft page breaks + @@ -743,49 +890,49 @@ $Id$ + not(following-sibling::listitem) and + not(following-sibling::step)"> + xsl:use-attribute-sets="normal.para.spacing"> + following-sibling::figure or + following-sibling::example or + following-sibling::equation"> + xsl:use-attribute-sets="formal.object.properties"> + following-sibling::informalfigure or + following-sibling::informalexample or + following-sibling::informalequation"> + xsl:use-attribute-sets="informal.object.properties"> + following-sibling::orderedlist or + following-sibling::variablelist or + following-sibling::simplelist"> + xsl:use-attribute-sets="informal.object.properties"> + following-sibling::step"> + xsl:use-attribute-sets="informal.object.properties"> @@ -793,13 +940,13 @@ $Id$ + following-sibling::sect2 or + following-sibling::sect3 or + following-sibling::sect4 or + following-sibling::sect5 or + following-sibling::section"> + xsl:use-attribute-sets="section.title.properties"> @@ -815,20 +962,20 @@ $Id$ + following-sibling::step"> + space-before="-{$height}" + space-after="0pt" + space-after.precedence="force"> + space-before="-{$height}" + space-after="0pt" + space-after.precedence="force"> @@ -848,6 +995,7 @@ $Id$ + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl index 276afeade..658f3a632 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/table.xsl @@ -22,31 +22,22 @@ ******************************************************************** --> - - - -$Id$ - -Walsh -Norman -19992000 -Norman Walsh - - -Formatting Object Table Reference - - -Introduction - -This is technical reference documentation for the FO -table-processing templates in the DocBook XSL Stylesheets. - -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. - - + + + + Formatting Object Table Reference + + $Id$ + + + + Introduction + This is technical reference documentation for the FO + table-processing templates in the DocBook XSL Stylesheets. + This is not intended to be user documentation. It is + provided for developers writing customization layers for the + stylesheets. + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/verbatim.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/verbatim.xsl index 2286c1b6f..56b4240c1 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/verbatim.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/verbatim.xsl @@ -350,7 +350,8 @@ - + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xref.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xref.xsl index 021eaf2ca..2b0d813df 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xref.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/xref.xsl @@ -718,6 +718,17 @@ + + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl index a1314bc36..c8cde1fb3 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/lib/lib.xsl @@ -1,5 +1,4 @@ - - + - - - + @@ -312,63 +309,60 @@ - - - - + + + - - - - + + + + - - + - + - - + - - - - - - - - - - - - + + + + + + + + + + + + - - - - + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/admon.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/admon.xsl index da3a19471..9a73ed628 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/admon.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/admon.xsl @@ -113,12 +113,12 @@ -

- - + +

+ - -

+

+ diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autotoc.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autotoc.xsl index 2614964f5..6b62d829d 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autotoc.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/autotoc.xsl @@ -309,6 +309,7 @@ + @@ -482,7 +483,9 @@ - + + + @@ -505,6 +508,7 @@ + @@ -532,6 +536,7 @@ + @@ -602,7 +607,9 @@ - + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-code.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-code.xsl index 76e8858f6..fb6390eab 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-code.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-code.xsl @@ -64,7 +64,7 @@ - + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-common.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-common.xsl index cfd057fe4..f452b4414 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-common.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunk-common.xsl @@ -737,32 +737,98 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - @@ -770,13 +836,11 @@ - - @@ -784,7 +848,6 @@ - - @@ -1444,4 +1506,40 @@
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + / + + + + / + + + +
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunktoc.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunktoc.xsl index dbf4a04cd..e16c88ceb 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunktoc.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/chunktoc.xsl @@ -49,8 +49,8 @@ - - + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/component.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/component.xsl index 66ce157e0..007f27f9c 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/component.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/component.xsl @@ -37,11 +37,13 @@ title - - - - - + + + + + + + @@ -350,7 +352,7 @@ - + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl index c7dca21ca..b5af13ea2 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/division.xsl @@ -213,11 +213,13 @@

title - - - - - + + + + + + +

diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl index b1f57efeb..f906e34b9 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/formal.xsl @@ -103,7 +103,9 @@

- + + + + @@ -743,10 +729,7 @@ - - - - +

@@ -814,17 +797,11 @@ - - - - + - - - - + @@ -1052,4 +1029,17 @@ + + + + + + + + + + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/math.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/math.xsl index 1fbf10755..f9b55356d 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/math.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/math.xsl @@ -267,9 +267,8 @@ - - - + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl index e9017f240..ad241519c 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/param.xsl @@ -2,7 +2,7 @@ - + - + - +HTML Processing Instruction Reference + + $Id$ + + + + Introduction + This is generated reference documentation for all + user-specifiable processing instructions (PIs) in the DocBook + XSL stylesheets for HTML output. + + You add these PIs at particular points in a document to + cause specific “exceptions” to formatting/output behavior. To + make global changes in formatting/output behavior across an + entire document, it’s better to do it by setting an + appropriate stylesheet parameter (if there is one). + + + + + + + + + Sets background color for an image + + Use the dbhtml background-color PI before or + after an image (graphic, inlinegraphic, + imagedata, or videodata element) as a + sibling to the element, to set a background color for the + image. + + + dbhtml background-color="color" + + + + background-color="color" + + An HTML color value + + + + + + Background color + + + + + + + + - - + + Sets background color on a table row or table cell + + Use the dbhtml bgcolor PI as child of a table row + or cell to set a background color for that table row or cell. + + + dbhtml bgcolor="color" + + + + bgcolor="color" + + An HTML color value + + + + + + Cell background color + + + + + + + + - + + Specifies cellpadding in table or qandaset output + + Use the dbhtml cellpadding PI as a child of a + table or qandaset to specify the value + for the HTML cellpadding attribute in the + output HTML table. + + + dbhtml cellpadding="number" + + + + cellpadding="number" + + Specifies the cellpadding + + + + + + html.cellpadding + + + Cell spacing and cell padding, + Q and A formatting + + + + + + + + + - - - filename + + Specifies cellspacing in table or qandaset output + + Use the dbhtml cellspacing PI as a child of a + table or qandaset to specify the value + for the HTML cellspacing attribute in the + output HTML table. + + + dbhtml cellspacing="number" + + + + cellspacing="number" + + Specifies the cellspacing + + + + + + html.cellspacing + + + Cell spacing and cell padding, + Q and A formatting + + + + + + + + + + + + Set value of the class attribute for a table row + + Use the dbhtml class PI as a child of a + row to specify a class + attribute and value in the HTML output for that row. + + + dbhtml class="name" + + + + class="name" + + Specifies the class name + + + + + + Table styles in HTML output + + + + + + + + + + + + Specifies a directory name in which to write files + + When chunking output, use the dbhtml dir PI + as a child of a chunk source to cause the output of that + chunk to be written to the specified directory; also, use it + as a child of a mediaobject to specify a + directory into which any long-description files for that + mediaobject will be written. + + + dbhtml dir="path" + + + + dir="path" + + Specifies the pathname for the directory + + + + + + base.dir + + + dbhtml dir processing instruction + + + + + + + + + + + + Specifies a filename for a chunk + + When chunking output, use the dbhtml filename + PI as a child of a chunk source to specify a filename for + the output file for that chunk. + + + dbhtml filename="filename" + + + + filename="path" + + Specifies the filename for the file + + + + + + use.id.as.filename + + + dbhtml filenames + + + + + + + + + + + + Specifies presentation style for a funcsynopsis + + Use the dbhtml funcsynopsis-style PI as a child of + a funcprototype or anywhere within a funcprototype + control the presentation style for the funcsynopsis + in output. + + + dbhtml funcsynopsis-style="kr"|"ansi" + + + + funcsynopsis-style="kr" + + Displays the funcprototype in K&R style + + + funcsynopsis-style="ansi" + + Displays the funcprototype in ANSI style + + + + + + funcsynopsis.style + + + + + + + + + + + + Specifies a path to the location of an image file + + Use the dbhtml img.src.path PI before or + after an image (graphic, + inlinegraphic, imagedata, or + videodata element) as a sibling to the element, + to specify a path to the location of the image; in HTML + output, the value specified for the + img.src.path attribute is prepended to the + filename. + + + dbhtml img.src.path="path" + + + + img.src.path="path" + + Specifies the pathname to prepend to the name of the image file + + + + + + img.src.path + + + Using fileref + + + + + + + + + + + + Specifies the label width for a qandaset + + Use the dbhtml label-width PI as a child of a + qandaset to specify the width of labels. + + + dbhtml label-width="width" + + + + label-width="width" + + Specifies the label width (including units) + + + + + + Q and A formatting + + + + + + + + + + + + Specifies interval for lines numbers in verbatims + + Use the dbhtml linenumbering.everyNth PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the interval at which lines are numbered. + + + dbhtml linenumbering.everyNth="N" + + + + linenumbering.everyNth="N" + + Specifies numbering interval; a number is output + before every Nth line + + + + + + linenumbering.everyNth + + + Line numbering + + + + + + + + + + + + Specifies separator text for line numbers in verbatims + + Use the dbhtml linenumbering.separator PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the separator text output between the line numbers and content. + + + dbhtml linenumbering.separator="text" + + + + linenumbering.separator="text" + + Specifies the text (zero or more characters) + + + + + + linenumbering.separator + + + Line numbering + + + + + + + + + + + + Specifies width for line numbers in verbatims + + Use the dbhtml linenumbering.width PI as a child + of a “verbatim” element – programlisting, + screen, synopsis — to specify + the width set aside for line numbers. + + + dbhtml linenumbering.width="width" + + + + linenumbering.width="width" + + Specifies the width (inluding units) + + + + + + linenumbering.width + + + Line numbering + + + + + + + + + + + Specifies presentation style for a variablelist or + segmentedlist + + Use the dbhtml list-presentation PI as a child of + a variablelist or segmentedlist to + control the presentation style for the list (to cause it, for + example, to be displayed as a table). + + + dbhtml list-presentation="list"|"table" + + + + list-presentation="list" + + Displays the list as a list + + + list-presentation="table" + + Displays the list as a table + + + + + + + + variablelist.as.table + + + segmentedlist.as.table + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the width of a variablelist or simplelist + + Use the dbhtml list-width PI as a child of a + variablelist or a simplelist presented + as a table, to specify the output width. + + + dbhtml list-width="width" + + + + list-width="width" + + Specifies the output width (including units) + + + + + + Variable list formatting in HTML + + + + + + + + + + + + Specifies the height for a table row + + Use the dbhtml row-height PI as a child of a + row to specify the height of the row. + + + dbhtml row-height="height" + + + + row-height="height" + + Specifies the label height (including units) + + + + + + Row height + + + + + + + + + + + + (obsolete) Sets the starting number on an ordered list + + This PI is obsolete. The intent of + this PI was to provide a means for setting a specific starting + number for an ordered list. Instead of this PI, set a value + for the override attribute on the first + listitem in the list; that will have the same + effect as what this PI was intended for. + + + dbhtml start="character" + + + + start="character" + + Specifies the character to use as the starting + number; use 0-9, a-z, A-Z, or lowercase or uppercase + Roman numerals + + + + + + List starting number + + + + - - + + - - + + Specifies summary for table, variablelist, segmentedlist, or qandaset output + + Use the dbhtml table-summary PI as a child of + a table, variablelist, + segmentedlist, or qandaset to specify + the text for the HTML summary attribute + in the output HTML table. + + + dbhtml table-summary="text" + + + + table-summary="text" + + Specifies the summary text (zero or more characters) + + + + + + Variable list formatting in HTML, + Table summary text + + + + - - filename + + - - - + + Sets character formatting for terms in a variablelist + + Use the dbhtml term-presentation PI as a child + of a variablelist to set character formatting for + the term output of the list. + + + dbhtml term-presentation="bold"|"italic"|"bold-italic" + + + + term-presentation="bold" + + Specifies that terms are displayed in bold + + + term-presentation="italic" + + Specifies that terms are displayed in italic + + + term-presentation="bold-italic" + + Specifies that terms are displayed in bold-italic + + + + + + Variable list formatting in HTML + + + + + + + + + - + + Specifies separator text among terms in a varlistentry + + Use the dbhtml term-separator PI as a child + of a variablelist to specify the separator text + among term instances. + + + dbhtml term-separator="text" + + + + term-separator="text" + + Specifies the text (zero or more characters) + + + + + + variablelist.term.separator + + + Variable list formatting in HTML + + + + + + + + + - - - - - - - + + Specifies the term width for a variablelist + + Use the dbhtml term-width PI as a child of a + variablelist to specify the width for + term output. + + + dbhtml term-width="width" + + + + term-width="width" + + Specifies the term width (including units) + + + + + + Variable list formatting in HTML + + + + + + + + + - - - - dir + + Species whether a TOC should be generated for a qandaset + + Use the dbhtml toc PI as a child of a + qandaset to specify whether a table of contents + (TOC) is generated for the qandaset. + + + dbhtml toc="0"|"1" + + + + toc="0" + + If zero, no TOC is generated + + + toc="1" + + If 1 (or any non-zero value), + a TOC is generated + + + + + + Q and A list of questions, + Q and A formatting + + + + + + + + + + + + Generates a hyperlinked list of commands + + Use the dbcmdlist PI as the child of a + refsynopsisdiv containing multiple + cmdsynopsis instances; a hyperlinked navigational + “command list” will be generated at the top of the + refsynopsisdiv, enabling users to quickly jump + to to each command synopsis. + + + dbcmdlist + + + [No parameters] + + + + + + No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep? + + +
+ + - +
+
+ + Generates a hyperlinked list of functions + + Use the dbfunclist PI as the child of a + refsynopsisdiv containing multiple + funcsynopsis instances; a hyperlinked + navigational “function list” will be generated at the top of + the refsynopsisdiv, enabling users to quickly + jump to to each function synopsis. + + + dbfunclist + + + [No parameters] + + + + + + No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep? + + +
+ + + +
+
+ + + Copies an external well-formed HTML/XML file into current doc + + Use the dbhtml-include href PI anywhere in a + document to cause the contents of the file referenced by the + href pseudo-attribute to be copied/inserted “as + is” into your HTML output at the point in document order + where the PI occurs in the source. + + The referenced file may contain plain text (as long as + it is “wrapped” in an html element — see the + note below) or markup in any arbitrary vocabulary, + including HTML — but it must conform to XML + well-formedness constraints (because the feature in XSLT + 1.0 for opening external files, the + document() function, can only handle + files that meet XML well-formedness constraints). + Among other things, XML well-formedness constraints + require a document to have a single root + element. So if the content you want to + include is plain text or is markup that does + not have a single root element, + wrap the content in an + html element. The stylesheets will + strip out that surrounding html “wrapper” when + they find it, leaving just the content you want to + insert. + + + + dbhtml href="URI" + + + + href="URI" + + Specifies the URI for the file to include; the URI + can be, for example, a remote http: + URI, or a local filesystem file: + URI + + + + + + textinsert.extension + + + Inserting external HTML code, + External code files + + + + + + + href + + - - - - + + + + + + + + + + + + + + + + + ERROR: dbhtml-include processing instruction + href has no content. + + + - - - - / - - - - / + + ERROR: dbhtml-include processing instruction has + missing or empty href value. + + + + + + filename + + + + + + + + + + + + + + + + + + + + @@ -103,6 +1032,7 @@
+ # @@ -131,23 +1061,11 @@ - - - - - No cmdsynopsis elements matched dbcmdlist PI, perhaps it's nested too deep? - - - -
- - - -
-
- + + + @@ -160,6 +1078,7 @@
+ # @@ -188,63 +1107,44 @@ - - - - - No funcsynopsis elements matched dbfunclist PI, perhaps it's nested too deep? - - + -
- - - -
+ + - - - - - - - href + + + + + + + + + + + + + - - +
- - - - - - - - - - - - - - - - - ERROR: dbhtml-include processing instruction - href has no content. - - - + + + + - - ERROR: dbhtml-include processing instruction has - missing or empty href value. - + + + + / + + + + /
diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-chunk-code.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-chunk-code.xsl index 91184e648..223620938 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-chunk-code.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/profile-chunk-code.xsl @@ -66,7 +66,7 @@ - + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl index 406149b79..5283675dd 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/qandaset.xsl @@ -19,10 +19,7 @@ - - - - + @@ -75,10 +72,7 @@ - - - - + @@ -316,31 +310,19 @@ - - - - + - - - - + - - - - + - - - - + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/sections.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/sections.xsl index f5b87e16e..42e6917c3 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/sections.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/sections.xsl @@ -435,12 +435,15 @@ clear: both - + + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl index 8e79b9623..4aa2c2c06 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/synop.xsl @@ -23,7 +23,9 @@

- + + +

@@ -177,9 +179,8 @@ paramdef ::= (#PCDATA|type|replaceable|parameter|funcparams)* - - - + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/table.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/table.xsl index c0b77762b..b8a365146 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/table.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/table.xsl @@ -135,24 +135,15 @@
- - - - + - - - - + - - - - +
@@ -215,7 +206,6 @@ - 0 @@ -302,12 +292,18 @@ + + + border: none; + + border-collapse: collapse; + 0 @@ -326,9 +322,8 @@ - - - + + @@ -416,10 +411,7 @@ - - - - + @@ -545,28 +537,19 @@ - - - - + - - - - + - - - - + @@ -776,10 +759,7 @@ - - - - + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl index cb8c087fd..908d7ed2a 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/titlepage.xsl @@ -928,7 +928,9 @@

- + + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/verbatim.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/verbatim.xsl index ea8fd0c39..3cb162d96 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/verbatim.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/verbatim.xsl @@ -169,23 +169,20 @@ - - - + + - - - + + - - - + + diff --git a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl index 11ca76b0f..3a9dcd8f8 100644 --- a/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl +++ b/stylesheets/lfs-xsl/docbook-xsl-snapshot/xhtml/xref.xsl @@ -726,7 +726,6 @@ - -- cgit v1.2.3-54-g00ecf