From 6bc7f45c6d48c859799c553a0405a39fc0cf83ad Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Sun, 22 Jul 2007 10:22:06 +0000 Subject: [PATCH] Mark up PIs with tag@class=xmlpi so that they can get picked up an formatted correctly by the doc build. --- xsl/common/pi.xsl | 2 +- xsl/fo/pi.xsl | 40 ++++++++++----------- xsl/html/pi.xsl | 50 +++++++++++++-------------- xsl/html/xref.xsl | 2 ++ xsl/params/glossary.as.blocks.xml | 4 +-- xsl/params/textinsert.extension.xml | 8 +++-- xsl/params/variablelist.as.blocks.xml | 6 ++-- xsl/params/variablelist.as.table.xml | 6 ++-- 8 files changed, 61 insertions(+), 57 deletions(-) diff --git a/xsl/common/pi.xsl b/xsl/common/pi.xsl index 5c3df8815..b76c6b99d 100644 --- a/xsl/common/pi.xsl +++ b/xsl/common/pi.xsl @@ -89,7 +89,7 @@ Inserts a date timestamp - Use the dbtimestamp PI at any point in a + 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. diff --git a/xsl/fo/pi.xsl b/xsl/fo/pi.xsl index e03e989e2..fd87c3ab1 100644 --- a/xsl/fo/pi.xsl +++ b/xsl/fo/pi.xsl @@ -45,7 +45,7 @@ Sets background color for an image - Use the dbfo background-color PI before or + 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 @@ -80,7 +80,7 @@ Sets background color on a table row or table cell - Use the dbfo bgcolor PI as child of a table row + Use the dbfo bgcolor PI as child of a table row or cell to set a background color for that table row or cell. @@ -112,7 +112,7 @@ Specifies float behavior for a sidebar - Use the dbfo float-type PI to specify the float + 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). @@ -152,7 +152,7 @@ Specifies presentation style for a glossary - Use the dbfo glossary-presentation PI as a child of + Use the dbfo glossary-presentation PI as a child of a glossary to control its presentation style. @@ -191,7 +191,7 @@ Specifies presentation style for a glosslist - Use the dbfo glosslist-presentation PI as a child of + Use the dbfo glosslist-presentation PI as a child of a glosslist to control its presentation style. @@ -231,7 +231,7 @@ Specifies the glossterm width for a glossary or glosslist - Use the dbfo glossterm-width PI as a child of a + 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. @@ -270,7 +270,7 @@ Specifies “keep” behavior for a table, example, figure, or equation - Use the dbfo keep-together PI as a child of a + 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 @@ -313,7 +313,7 @@ Specifies the label width for a qandaset - Use the dbfo label-width PI as a child of a + Use the dbfo label-width PI as a child of a qandaset to specify the width of labels. @@ -345,7 +345,7 @@ Specifies interval for lines numbers in verbatims - Use the dbfo linenumbering.everyNth PI as a child + 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. @@ -383,7 +383,7 @@ Specifies separator text for line numbers in verbatims - Use the dbfo linenumbering.separator PI as a child + 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. @@ -420,7 +420,7 @@ Specifies width for line numbers in verbatims - Use the dbfo linenumbering.width PI as a child + 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. @@ -458,7 +458,7 @@ Specifies presentation style for a variablelist or segmentedlist - Use the dbfo list-presentation PI as a child of + 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). @@ -512,7 +512,7 @@ Specifies the width of a horizontal simplelist - Use the dbfo list-width PI as a child of a + Use the dbfo list-width PI as a child of a simplelist whose class value is horizontal, to specify the width of the simplelist. @@ -541,7 +541,7 @@ Specifies the orientation for table row or cell - Use the dbfo orientation PI as a child of an + Use the dbfo orientation PI as a child of an table row or cell to specify the orientation (rotation) for the row or cell. @@ -570,7 +570,7 @@ Specifies if an equation or example goes across full page width - Use the dbfo pgwide PI as a child of an + 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. @@ -609,7 +609,7 @@ Specifies the width for a table entry or row - Use the dbfo rotated-width PI as a child of an + 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 @@ -639,7 +639,7 @@ Specifies the width of a sidebar - Use the dbfo sidebar-width PI as a child of a + Use the dbfo sidebar-width PI as a child of a sidebar to specify the width of the sidebar. @@ -716,7 +716,7 @@ Specifies the width for a table or for revhistory output - Use the dbfo table-width PI as a child or + 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 @@ -751,7 +751,7 @@ Specifies the term width for a variablelist - Use the dbfo term-width PI as a child of a + Use the dbfo term-width PI as a child of a variablelist to specify the width for term output. @@ -784,7 +784,7 @@ Species whether a TOC should be generated for a qandaset - Use the dbfo toc PI as a child of a + Use the dbfo toc PI as a child of a qandaset to specify whether a table of contents (TOC) is generated for the qandaset. diff --git a/xsl/html/pi.xsl b/xsl/html/pi.xsl index f14e94ba2..bc3d72ab9 100644 --- a/xsl/html/pi.xsl +++ b/xsl/html/pi.xsl @@ -41,7 +41,7 @@ Sets background color for an image - Use the dbhtml background-color PI before or + 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 @@ -76,7 +76,7 @@ Sets background color on a table row or table cell - Use the dbhtml bgcolor PI as child of a table row + Use the dbhtml bgcolor PI as child of a table row or cell to set a background color for that table row or cell. @@ -108,7 +108,7 @@ Specifies cellpadding in table or qandaset output - Use the dbhtml cellpadding PI as a child of a + 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. @@ -147,7 +147,7 @@ Specifies cellspacing in table or qandaset output - Use the dbhtml cellspacing PI as a child of a + 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. @@ -187,7 +187,7 @@ Set value of the class attribute for a table row - Use the dbhtml class PI as a child of a + 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. @@ -220,7 +220,7 @@ Specifies a directory name in which to write files - When chunking output, use the dbhtml dir PI + 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 @@ -259,7 +259,7 @@ Specifies a filename for a chunk - When chunking output, use the dbhtml filename + 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. @@ -295,7 +295,7 @@ Specifies presentation style for a funcsynopsis - Use the dbhtml funcsynopsis-style PI as a child of + 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. @@ -332,7 +332,7 @@ Specifies a path to the location of an image file - Use the dbhtml img.src.path PI before or + Use the dbhtml img.src.path PI before or after an image (graphic, inlinegraphic, imagedata, or videodata element) as a sibling to the element, @@ -373,7 +373,7 @@ Specifies the label width for a qandaset - Use the dbhtml label-width PI as a child of a + Use the dbhtml label-width PI as a child of a qandaset to specify the width of labels. @@ -405,7 +405,7 @@ Specifies interval for lines numbers in verbatims - Use the dbhtml linenumbering.everyNth PI as a child + 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. @@ -443,7 +443,7 @@ Specifies separator text for line numbers in verbatims - Use the dbhtml linenumbering.separator PI as a child + 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. @@ -480,7 +480,7 @@ Specifies width for line numbers in verbatims - Use the dbhtml linenumbering.width PI as a child + 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. @@ -518,7 +518,7 @@ Specifies presentation style for a variablelist or segmentedlist - Use the dbhtml list-presentation PI as a child of + 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). @@ -567,7 +567,7 @@ Specifies the width of a variablelist or simplelist - Use the dbhtml list-width PI as a child of a + Use the dbhtml list-width PI as a child of a variablelist or a simplelist presented as a table, to specify the output width. @@ -600,7 +600,7 @@ Specifies the height for a table row - Use the dbhtml row-height PI as a child of a + Use the dbhtml row-height PI as a child of a row to specify the height of the row. @@ -670,7 +670,7 @@ Specifies summary for table, variablelist, segmentedlist, or qandaset output - Use the dbhtml table-summary PI as a child of + 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 @@ -707,7 +707,7 @@ Specifies the width for a table - Use the dbhtml table-width PI as a child of a + Use the dbhtml table-width PI as a child of a table to specify the width of the table in output. @@ -743,7 +743,7 @@ Sets character formatting for terms in a variablelist - Use the dbhtml term-presentation PI as a child + Use the dbhtml term-presentation PI as a child of a variablelist to set character formatting for the term output of the list. @@ -786,7 +786,7 @@ Specifies separator text among terms in a varlistentry - Use the dbhtml term-separator PI as a child + Use the dbhtml term-separator PI as a child of a variablelist to specify the separator text among term instances. @@ -822,7 +822,7 @@ Specifies the term width for a variablelist - Use the dbhtml term-width PI as a child of a + Use the dbhtml term-width PI as a child of a variablelist to specify the width for term output. @@ -855,7 +855,7 @@ Species whether a TOC should be generated for a qandaset - Use the dbhtml toc PI as a child of a + Use the dbhtml toc PI as a child of a qandaset to specify whether a table of contents (TOC) is generated for the qandaset. @@ -897,7 +897,7 @@ Generates a hyperlinked list of commands - Use the dbcmdlist PI as the child of a + 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 @@ -927,7 +927,7 @@ Generates a hyperlinked list of functions - Use the dbfunclist PI as the child of a + 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 @@ -957,7 +957,7 @@ Copies an external well-formed HTML/XML file into current doc - Use the dbhtml-include href PI anywhere in a + 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 diff --git a/xsl/html/xref.xsl b/xsl/html/xref.xsl index 07ecbfbcb..035fc67a0 100644 --- a/xsl/html/xref.xsl +++ b/xsl/html/xref.xsl @@ -903,6 +903,7 @@ + @@ -949,6 +950,7 @@ + diff --git a/xsl/params/glossary.as.blocks.xml b/xsl/params/glossary.as.blocks.xml index 51457f84d..e18ed19ab 100644 --- a/xsl/params/glossary.as.blocks.xml +++ b/xsl/params/glossary.as.blocks.xml @@ -30,8 +30,8 @@ parameter, you can force the stylesheets to produce block markup instead of proper lists. You can override this setting with a processing instruction as the -child of glossary: dbfo -glossary-presentation="blocks" or dbfo +child of glossary: dbfo +glossary-presentation="blocks" or dbfo glossary-presentation="list" diff --git a/xsl/params/textinsert.extension.xml b/xsl/params/textinsert.extension.xml index 4d637115e..9f6a2a2ac 100644 --- a/xsl/params/textinsert.extension.xml +++ b/xsl/params/textinsert.extension.xml @@ -21,11 +21,13 @@ To use the textinsert extension element, you must use either Saxon or Xalan as your XSLT processor (it doesn’t - work with xsltproc), along with either the DocBook Saxon Extensions or DocBook Saxon Extensions and DocBook Xalan Extensions, and you must set both + >DocBook Xalan Extensions), and you must set both the use.extensions and textinsert.extension parameters to 1. diff --git a/xsl/params/variablelist.as.blocks.xml b/xsl/params/variablelist.as.blocks.xml index 4a45fe0d4..71e1c98cf 100644 --- a/xsl/params/variablelist.as.blocks.xml +++ b/xsl/params/variablelist.as.blocks.xml @@ -29,13 +29,13 @@ unattractive lists. By setting this parameter, you can force the stylesheets to produce block markup instead of proper lists. You can override this setting with a processing instruction as the -child of variablelist: dbfo -list-presentation="blocks" or dbfo +child of variablelist: dbfo +list-presentation="blocks" or dbfo list-presentation="list". When using list-presentation="list", you can also control the amount of space used for the terms with -the dbfo term-width=".25in" processing instruction, +the dbfo term-width=".25in" processing instruction, the termlength attribute on variablelist, or allow the stylesheets to attempt to calculate the amount of space to leave based on the number of letters in the longest term. diff --git a/xsl/params/variablelist.as.table.xml b/xsl/params/variablelist.as.table.xml index 2a670e2d0..bf712c62a 100644 --- a/xsl/params/variablelist.as.table.xml +++ b/xsl/params/variablelist.as.table.xml @@ -24,11 +24,11 @@ If non-zero, variablelists will be formatted as tables. A processing instruction exists to specify a particualar width for the column containing the terms: -dbhtml term-width=".25in" +dbhtml term-width=".25in" You can override this setting with a processing instruction as the -child of variablelist: dbhtml -list-presentation="table" or dbhtml +child of variablelist: dbhtml +list-presentation="table" or dbhtml list-presentation="list". This parameter only applys to the HTML transformations. In the -- 2.40.0