Changeset 8370

Show
Ignore:
Timestamp:
09/09/07 02:55:33 (10 months ago)
Author:
manuel
Message:

Merged r8368 from new-xsl branch.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/VERSION

    r8354 r8370  
    33  xmlns:fm="http://freshmeat.net/projects/freshmeat-submit/" 
    44  xmlns:sf="http://sourceforge.net/" 
     5  xmlns:dyn="http://exslt.org/dynamic" 
     6  xmlns:saxon="http://icl.com/saxon" 
    57  exclude-result-prefixes="fm sf" 
    68  version='1.0'> 
    79 
     10<xsl:output omit-xml-declaration="yes"/> 
     11 
     12<xsl:param name="get"/> 
    813<xsl:param name="VERSION" select="string(document('')//fm:Version[1])"/> 
     14<xsl:param name="Tag" select="concat('V',translate(string(document('')//fm:Version[1]),'.',''))"/> 
    915<xsl:param name="DistroTitle" select="string(document('')//fm:Branch[1])"/> 
     16<xsl:param name="sf-relid" select="0"/> 
     17 
    1018<xsl:param name="DistroName">docbook-xsl</xsl:param> 
    1119<xsl:param name="PreviousRelease">1.72.0</xsl:param> 
    12 <xsl:param name="PreviousReleaseRevision">6553</xsl:param> 
     20<xsl:param name="PreviousReleaseRevision">6549</xsl:param> 
    1321<xsl:param name="Revision">$Revision$</xsl:param> 
    1422<xsl:param name="VersionFileURL">$URL: https://docbook.svn.sourceforge.net/svnroot/docbook/trunk/xsl/VERSION $</xsl:param> 
    15 <xsl:param name="sf-relid" select="0"/> 
     23 
    1624<xsl:strip-space elements="fm:*"/> 
    1725 
     
    1927  <fm:Project>DocBook</fm:Project> 
    2028  <fm:Branch>XSL Stylesheets</fm:Branch> 
    21   <fm:Version>snapshot_7094</fm:Version> 
     29  <fm:Version>1.73.2</fm:Version> 
    2230<!-- 
    2331  <fm:License>MIT/X Consortium License</fm:License> 
     
    2836<!-- * Code cleanup --> 
    2937<!-- * Minor feature enhancements --> 
    30 Major feature enhancements 
    31 <!-- * Minor bugfixes --> 
     38<!-- * Major feature enhancements --> 
     39Minor bugfixes 
    3240<!-- * Major bugfixes --> 
    3341<!-- * Minor security fixes --> 
     
    4149  <fm:CVS-URL>http://docbook.svn.sourceforge.net/viewvc/docbook/</fm:CVS-URL> 
    4250  <fm:Mailing-List-URL>http://lists.oasis-open.org/archives/docbook-apps/</fm:Mailing-List-URL> 
    43   <fm:Changes>This is a bug-fix release with a few feature enhancements
     51  <fm:Changes>This is a bug-fix update to the 1.73.1 release
    4452</fm:Changes> 
    4553</fm:project> 
    4654 
    4755<xsl:template match="/" priority="-100"> 
    48   <xsl:if test="$sf-relid = 0"> 
    49     <xsl:message terminate="yes"> 
    50       <xsl:text>You must specify the sf-relid as a parameter.</xsl:text> 
    51     </xsl:message> 
    52   </xsl:if> 
    53  
    54   <xsl:apply-templates select="//fm:project"/> 
     56  <xsl:choose> 
     57    <xsl:when test="$get = 'Tag'"> 
     58      <xsl:value-of select="$Tag"/> 
     59    </xsl:when> 
     60    <xsl:when test="$get = 'PreviousRelease'"> 
     61      <xsl:value-of select="$PreviousRelease"/> 
     62    </xsl:when> 
     63    <xsl:when test="$get = 'PreviousReleaseRevision'"> 
     64      <xsl:value-of select="$PreviousReleaseRevision"/> 
     65    </xsl:when> 
     66    <xsl:when test="$get = 'DistroTitle'"> 
     67      <xsl:value-of select="$DistroTitle"/> 
     68    </xsl:when> 
     69    <xsl:otherwise> 
     70      <xsl:if test="$sf-relid = 0"> 
     71        <xsl:message terminate="yes"> 
     72         <xsl:text>You must specify the sf-relid as a parameter.</xsl:text> 
     73        </xsl:message> 
     74      </xsl:if> 
     75      <xsl:apply-templates select="//fm:project"/> 
     76    </xsl:otherwise> 
     77  </xsl:choose> 
    5578</xsl:template> 
    5679 
    5780<xsl:template match="fm:project"> 
    58   <xsl:text>&#10;</xsl:text> 
    5981  <xsl:apply-templates/> 
    6082  <xsl:text>&#10;</xsl:text> 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/de.xml

    r8354 r8370  
    170170<l:gentext key="unsupported" text="wird nicht unterstÃŒtzt"/> 
    171171<l:gentext key="xrefto" text="xref auf"/> 
    172 <l:gentext key="Authors" text="Authors" lang="en"/> 
     172<l:gentext key="Authors" text="Autoren"/> 
    173173<l:gentext key="copyeditor" text="Copy Editor" lang="en"/> 
    174174<l:gentext key="graphicdesigner" text="Graphic Designer" lang="en"/> 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/pi.xsl

    r8354 r8370  
    9090  <refpurpose>Inserts a date timestamp</refpurpose> 
    9191  <refdescription> 
    92     <para>Use the <tag>dbtimestamp</tag> PI at any point in a 
     92    <para>Use the <tag class="xmlpi">dbtimestamp</tag> PI at any point in a 
    9393      source document to cause a date timestamp (a formatted 
    9494      string representing the current date and time) to be 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/stripns.xsl

    r8196 r8370  
    1717     copyright and other information. 
    1818 
    19      This file contains general templates common to both the HTML and FO 
    20      versions of the DocBook stylesheets. 
    2119     ******************************************************************** --> 
    22  
    23 <xsl:import href="utility.xsl"/> 
    24  
    25 <!-- * Get a title for current doc so that we let the user --> 
    26 <!-- * know what document we are processing at this point. --> 
    27 <xsl:variable name="doc.title"> 
    28   <xsl:call-template name="get.doc.title"/> 
    29 </xsl:variable> 
    3020 
    3121<!-- put an xml:base attribute on the root element --> 
     
    268258        </xsl:when> 
    269259        <xsl:otherwise> 
    270           <xsl:call-template name="log.message"> 
    271             <xsl:with-param name="level">Warn</xsl:with-param> 
    272             <xsl:with-param name="source" select="$doc.title"/> 
    273             <xsl:with-param name="context-desc"> 
    274               <xsl:text>no @xml:base</xsl:text> 
    275             </xsl:with-param> 
    276             <xsl:with-param name="message"> 
    277               <xsl:text>cannot add @xml:base to node-set root element</xsl:text> 
    278             </xsl:with-param> 
    279           </xsl:call-template> 
    280           <xsl:call-template name="log.message"> 
    281             <xsl:with-param name="level">Warn</xsl:with-param> 
    282             <xsl:with-param name="source" select="$doc.title"/> 
    283             <xsl:with-param name="context-desc"> 
    284               <xsl:text>no @xml:base</xsl:text> 
    285             </xsl:with-param> 
    286             <xsl:with-param name="message"> 
    287               <xsl:text>relative paths may not work</xsl:text> 
    288             </xsl:with-param> 
    289           </xsl:call-template> 
     260          <xsl:message> 
     261            <xsl:text>WARNING: cannot add @xml:base to node </xsl:text> 
     262            <xsl:text>set root element.  </xsl:text> 
     263            <xsl:text>Relative paths may not work.</xsl:text> 
     264          </xsl:message> 
    290265        </xsl:otherwise> 
    291266      </xsl:choose> 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/common/utility.xsl

    r8354 r8370  
    3232    <note> 
    3333      <para>These templates are defined in a separate file from the set 
    34         of “common” templates because some of the comment templates 
     34        of “common” templates because some of the common templates 
    3535        reference DocBook XSL stylesheet parameters, requiring the 
    3636        entire set of parameters to be imported/included in any 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/admon.xsl

    r8196 r8370  
    8686            <xsl:if test="$admon.textlabel != 0 or title or info/title"> 
    8787              <fo:block xsl:use-attribute-sets="admonition.title.properties"> 
    88                 <xsl:apply-templates select="." mode="object.title.markup"/> 
     88                <xsl:apply-templates select="." mode="object.title.markup"> 
     89                  <xsl:with-param name="allow-anchors" select="1"/> 
     90                </xsl:apply-templates> 
    8991              </fo:block> 
    9092            </xsl:if> 
     
    108110      <fo:block keep-with-next.within-column='always' 
    109111                xsl:use-attribute-sets="admonition.title.properties"> 
    110          <xsl:apply-templates select="." mode="object.title.markup"/> 
     112         <xsl:apply-templates select="." mode="object.title.markup"> 
     113           <xsl:with-param name="allow-anchors" select="1"/> 
     114         </xsl:apply-templates> 
    111115      </fo:block> 
    112116    </xsl:if> 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/footnote.xsl

    r8196 r8370  
    9191        <xsl:number level="any"  
    9292                    from="chapter|appendix|preface|article|refentry|bibliography"  
    93                     count="footnote[not(@label)][not(ancestor::table) and not(ancestor::informaltable)]|ulink[$ulink.footnotes != 0][node()][@url != .][not(ancestor::footnote)][ulink.show != 0]"  
     93                    count="footnote[not(@label)][not(ancestor::table) and not(ancestor::informaltable)]|ulink[$ulink.footnotes != 0][node()][@url != .][not(ancestor::footnote)][$ulink.show != 0]"  
    9494                    format="1"/> 
    9595      </xsl:variable> 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/graphics.xsl

    r8196 r8370  
    376376          </xsl:choose> 
    377377        </xsl:when> 
    378         <xsl:otherwise> 
    379           <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" 
    380              href="{$filename}"/> 
     378        <xsl:otherwise> 
     379          <xsl:message terminate="yes"> 
     380            <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/> 
     381            <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>  
     382          </xsl:message> 
    381383        </xsl:otherwise> 
    382384      </xsl:choose> 
     
    495497        </xsl:when> 
    496498        <xsl:otherwise> 
    497           <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" 
    498              href="{$filename}"/> 
    499         </xsl:otherwise> 
     499          <xsl:message terminate="yes"> 
     500            <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/> 
     501            <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>  
     502          </xsl:message> 
     503        </xsl:otherwise> 
    500504      </xsl:choose> 
    501505    </xsl:when> 
     
    533537 
    534538<xsl:template match="textdata"> 
     539  <xsl:variable name="vendor" select="system-property('xsl:vendor')"/> 
    535540  <xsl:variable name="filename"> 
    536541    <xsl:choose> 
     
    565570          <xtext:insertfile href="{$filename}"/> 
    566571        </xsl:when> 
    567         <xsl:otherwise> 
    568           <xsl:message terminate="yes"> 
    569             <xsl:text>No insertfile extension available.</xsl:text> 
    570           </xsl:message> 
    571         </xsl:otherwise> 
     572        <xsl:otherwise> 
     573          <xsl:message terminate="yes"> 
     574            <xsl:text>Don't know how to insert files with </xsl:text> 
     575            <xsl:value-of select="$vendor"/> 
     576          </xsl:message> 
     577        </xsl:otherwise> 
    572578      </xsl:choose> 
    573579    </xsl:when> 
    574580    <xsl:otherwise> 
    575       <a xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" 
    576          href="{$filename}"/> 
     581      <xsl:message terminate="yes"> 
     582        <xsl:text>Cannot insert </xsl:text><xsl:value-of select="$filename"/> 
     583        <xsl:text>. Check use.extensions and textinsert.extension parameters.</xsl:text>  
     584      </xsl:message> 
    577585    </xsl:otherwise> 
    578586  </xsl:choose> 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/param.xsl

    r8354 r8370  
    11<?xml version="1.0" encoding="ASCII"?> 
    2 <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" xmlns="http://docbook.org/ns/docbook" exclude-result-prefixes="src" version="1.0"> 
     2<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> 
    33 
    44<!-- This file is generated from param.xweb --> 
     
    2929  <xsl:attribute name="text-align">center</xsl:attribute> 
    3030</xsl:attribute-set> 
    31 <xsl:param name="admon.graphics.extension" select="'.png'"/
     31<xsl:param name="admon.graphics.extension">.png</xsl:param
    3232<xsl:param name="admon.graphics" select="0"/> 
    3333<xsl:param name="admon.graphics.path">images/</xsl:param> 
     
    5656</xsl:attribute-set> 
    5757<xsl:param name="alignment">justify</xsl:param> 
    58 <xsl:param name="appendix.autolabel" select="'A'"/
     58<xsl:param name="appendix.autolabel">A</xsl:param
    5959<xsl:param name="arbortext.extensions" select="0"/> 
    6060<xsl:attribute-set name="article.appendix.title.properties" use-attribute-sets="section.title.properties                          section.title.level1.properties"> 
     
    6464</xsl:attribute-set> 
    6565<xsl:param name="author.othername.in.middle" select="1"/> 
    66 <xsl:param name="autotoc.label.separator" select="'. '"/
     66<xsl:param name="autotoc.label.separator">. </xsl:param
    6767<xsl:param name="axf.extensions" select="0"/> 
    6868<xsl:param name="biblioentry.item.separator">. </xsl:param> 
     
    7171  <xsl:attribute name="text-indent">-0.5in</xsl:attribute> 
    7272</xsl:attribute-set> 
    73 <xsl:param name="bibliography.collection" select="'http://docbook.sourceforge.net/release/bibliography/bibliography.xml'"/> 
     73<xsl:param name="bibliography.collection">http://docbook.sourceforge.net/release/bibliography/bibliography.xml</xsl:param> 
     74 
    7475<xsl:param name="bibliography.numbered" select="0"/> 
    75 <xsl:param name="bibliography.style" select="'normal'"/
     76<xsl:param name="bibliography.style">normal</xsl:param
    7677<xsl:attribute-set name="blockquote.properties"> 
    7778<xsl:attribute name="margin-left">0.5in</xsl:attribute> 
     
    8182<xsl:attribute name="space-after.maximum">2em</xsl:attribute> 
    8283</xsl:attribute-set> 
    83 <xsl:param name="body.font.family" select="'serif'"/
     84<xsl:param name="body.font.family">serif</xsl:param
    8485<xsl:param name="body.font.master">10</xsl:param> 
    8586<xsl:param name="body.font.size"> 
    8687 <xsl:value-of select="$body.font.master"/><xsl:text>pt</xsl:text> 
    8788</xsl:param> 
    88 <xsl:param name="body.margin.bottom" select="'0.5in'"/
    89 <xsl:param name="body.margin.top" select="'0.5in'"/
     89<xsl:param name="body.margin.bottom">0.5in</xsl:param
     90<xsl:param name="body.margin.top">0.5in</xsl:param
    9091<xsl:param name="body.start.indent"> 
    9192  <xsl:choose> 
     
    9596  </xsl:choose> 
    9697</xsl:param> 
    97 <xsl:param name="body.end.indent" select="'0pt'"/
     98<xsl:param name="body.end.indent">0pt</xsl:param
    9899<xsl:param name="bridgehead.in.toc" select="0"/> 
    99 <xsl:param name="callout.defaultcolumn" select="'60'"/
    100  
    101 <xsl:param name="callout.graphics.extension" select="'.svg'"/
    102 <xsl:param name="callout.graphics" select="'1'"/> 
     100<xsl:param name="callout.defaultcolumn">60</xsl:param
     101 
     102<xsl:param name="callout.graphics.extension">.svg</xsl:param
     103<xsl:param name="callout.graphics" select="1"/> 
    103104<xsl:param name="callout.icon.size">7pt</xsl:param> 
    104105 
    105 <xsl:param name="callout.graphics.number.limit" select="'30'"/
    106 <xsl:param name="callout.graphics.path" select="'images/callouts/'"/
    107 <xsl:param name="callout.unicode.font" select="'ZapfDingbats'"/
     106<xsl:param name="callout.graphics.number.limit">30</xsl:param
     107<xsl:param name="callout.graphics.path">images/callouts/</xsl:param
     108<xsl:param name="callout.unicode.font">ZapfDingbats</xsl:param
    108109<xsl:param name="callout.unicode" select="0"/> 
    109 <xsl:param name="callout.unicode.number.limit" select="'10'"/
    110 <xsl:param name="callout.unicode.start.character" select="10102"/
    111 <xsl:param name="callouts.extension" select="'1'"/> 
     110<xsl:param name="callout.unicode.number.limit">10</xsl:param
     111<xsl:param name="callout.unicode.start.character">10102</xsl:param
     112<xsl:param name="callouts.extension" select="1"/> 
    112113<xsl:param name="chapter.autolabel" select="1"/> 
    113 <xsl:param name="collect.xref.targets" select="'no'"/
     114<xsl:param name="collect.xref.targets">no</xsl:param
    114115<xsl:param name="column.count.back" select="1"/> 
    115116<xsl:param name="column.count.body" select="1"/> 
    116117<xsl:param name="column.count.front" select="1"/> 
    117 <xsl:param name="column.count.index" select="2"/
     118<xsl:param name="column.count.index">2</xsl:param
    118119<xsl:param name="column.count.lot" select="1"/> 
    119120<xsl:param name="column.count.titlepage" select="1"/> 
    120 <xsl:param name="column.gap.back" select="'12pt'"/
    121 <xsl:param name="column.gap.body" select="'12pt'"/
    122 <xsl:param name="column.gap.front" select="'12pt'"/
    123 <xsl:param name="column.gap.index" select="'12pt'"/
    124 <xsl:param name="column.gap.lot" select="'12pt'"/
    125 <xsl:param name="column.gap.titlepage" select="'12pt'"/
     121<xsl:param name="column.gap.back">12pt</xsl:param
     122<xsl:param name="column.gap.body">12pt</xsl:param
     123<xsl:param name="column.gap.front">12pt</xsl:param
     124<xsl:param name="column.gap.index">12pt</xsl:param
     125<xsl:param name="column.gap.lot">12pt</xsl:param
     126<xsl:param name="column.gap.titlepage">12pt</xsl:param
    126127<xsl:attribute-set name="compact.list.item.spacing"> 
    127128  <xsl:attribute name="space-before.optimum">0em</xsl:attribute> 
     
    147148</xsl:attribute-set> 
    148149<xsl:param name="crop.marks" select="0"/> 
    149 <xsl:param name="crop.mark.width" select="'0.5pt'"/
    150 <xsl:param name="crop.mark.offset" select="'24pt'"/
    151 <xsl:param name="crop.mark.bleed" select="'6pt'"/
    152 <xsl:param name="current.docid" select="''"/>  
     150<xsl:param name="crop.mark.width">0.5pt</xsl:param
     151<xsl:param name="crop.mark.offset">24pt</xsl:param
     152<xsl:param name="crop.mark.bleed">6pt</xsl:param
     153<xsl:param name="current.docid"/> 
    153154<xsl:param name="default.float.class"> 
    154155  <xsl:choose> 
     
    157158  </xsl:choose> 
    158159</xsl:param> 
    159 <xsl:param name="default.image.width" select="''"/> 
    160 <xsl:param name="default.table.width" select="''"/> 
    161 <xsl:param name="default.table.frame" select="'all'"/
    162 <xsl:param name="default.units" select="'pt'"/
    163 <xsl:param name="dingbat.font.family" select="'serif'"/
     160<xsl:param name="default.image.width"/> 
     161<xsl:param name="default.table.width"/> 
     162<xsl:param name="default.table.frame">all</xsl:param
     163<xsl:param name="default.units">pt</xsl:param
     164<xsl:param name="dingbat.font.family">serif</xsl:param
    164165<xsl:param name="double.sided" select="0"/> 
    165 <xsl:param name="draft.mode" select="'maybe'"/
    166 <xsl:param name="draft.watermark.image" select="'http://docbook.sourceforge.net/release/images/draft.png'"/
     166<xsl:param name="draft.mode">maybe</xsl:param
     167<xsl:param name="draft.watermark.image">http://docbook.sourceforge.net/release/images/draft.png</xsl:param
    167168 
    168169<xsl:param name="ebnf.assignment"> 
     
    173174 
    174175<xsl:param name="ebnf.statement.terminator"/> 
    175 <xsl:param name="email.delimiters.enabled">1</xsl:param
     176<xsl:param name="email.delimiters.enabled" select="1"/
    176177<xsl:attribute-set name="equation.properties" use-attribute-sets="formal.object.properties"/> 
    177178<xsl:attribute-set name="example.properties" use-attribute-sets="formal.object.properties"/> 
     
    187188</xsl:attribute-set> 
    188189<xsl:param name="footer.rule" select="1"/> 
    189 <xsl:param name="footer.column.widths" select="'1 1 1'"/
    190 <xsl:param name="footer.table.height" select="'14pt'"/
     190<xsl:param name="footer.column.widths">1 1 1</xsl:param
     191<xsl:param name="footer.table.height">14pt</xsl:param
    191192<xsl:attribute-set name="footer.table.properties"> 
    192193  <xsl:attribute name="table-layout">fixed</xsl:attribute> 
     
    197198 <xsl:value-of select="$body.font.master * 0.8"/><xsl:text>pt</xsl:text> 
    198199</xsl:param> 
    199 <xsl:param name="footnote.number.format" select="'1'"/
    200 <xsl:param name="footnote.number.symbols" select="''"/> 
     200<xsl:param name="footnote.number.format">1</xsl:param
     201<xsl:param name="footnote.number.symbols"/> 
    201202<xsl:attribute-set name="footnote.mark.properties"> 
    202203  <xsl:attribute name="font-size">75%</xsl:attribute> 
     
    251252<xsl:param name="funcsynopsis.decoration" select="1"/> 
    252253<xsl:param name="funcsynopsis.style">kr</xsl:param> 
    253 <xsl:param name="function.parens">0</xsl:param
     254<xsl:param name="function.parens" select="0"/
    254255<xsl:param name="generate.index" select="1"/> 
    255256<xsl:param name="generate.section.toc.level" select="0"/> 
     
    273274</xsl:param> 
    274275<xsl:param name="glossary.as.blocks" select="0"/> 
    275 <xsl:param name="glossary.collection" select="''"/> 
     276<xsl:param name="glossary.collection"/> 
    276277<xsl:param name="glossary.sort" select="0"/> 
    277 <xsl:param name="glossentry.show.acronym" select="'no'"/
     278<xsl:param name="glossentry.show.acronym">no</xsl:param
    278279<xsl:param name="glosslist.as.blocks" select="0"/> 
    279280<xsl:param name="glossterm.auto.link" select="0"/> 
    280 <xsl:param name="glossterm.separation" select="'0.25in'"/
    281 <xsl:param name="glossterm.width" select="'2in'"/
     281<xsl:param name="glossterm.separation">0.25in</xsl:param
     282<xsl:param name="glossterm.width">2in</xsl:param
    282283<xsl:param name="graphic.default.extension"/> 
    283284<xsl:attribute-set name="header.content.properties"> 
     
    290291</xsl:attribute-set> 
    291292<xsl:param name="header.rule" select="1"/> 
    292 <xsl:param name="header.column.widths" select="'1 1 1'"/
    293 <xsl:param name="header.table.height" select="'14pt'"/
     293<xsl:param name="header.column.widths">1 1 1</xsl:param
     294<xsl:param name="header.table.height">14pt</xsl:param
    294295<xsl:attribute-set name="header.table.properties"> 
    295296  <xsl:attribute name="table-layout">fixed</xsl:attribute> 
     
    297298</xsl:attribute-set> 
    298299<xsl:param name="headers.on.blank.pages" select="1"/> 
    299 <xsl:param name="highlight.default.language" select="''"/> 
     300<xsl:param name="highlight.default.language"/> 
    300301<xsl:param name="highlight.source" select="0"/> 
    301302<xsl:param name="hyphenate">true</xsl:param> 
    302303<xsl:param name="hyphenate.verbatim" select="0"/> 
    303 <xsl:param name="hyphenate.verbatim.characters" select="''"/> 
     304<xsl:param name="hyphenate.verbatim.characters"/> 
    304305<xsl:param name="ignore.image.scaling" select="0"/> 
    305306<xsl:param name="img.src.path"/> 
    306 <xsl:param name="index.method" select="'basic'"/
     307<xsl:param name="index.method">basic</xsl:param
    307308<xsl:param name="index.on.role" select="0"/> 
    308309<xsl:param name="index.on.type" select="0"/> 
     
    338339  <xsl:attribute name="start-indent">0pt</xsl:attribute> 
    339340</xsl:attribute-set> 
    340 <xsl:param name="index.number.separator" select="''"/> 
    341 <xsl:param name="index.range.separator" select="''"/> 
    342 <xsl:param name="index.term.separator" select="''"/> 
     341<xsl:param name="index.number.separator"/> 
     342<xsl:param name="index.range.separator"/> 
     343<xsl:param name="index.term.separator"/> 
    343344<xsl:param name="insert.link.page.number">no</xsl:param> 
    344345<xsl:param name="insert.xref.page.number">no</xsl:param> 
     
    347348<xsl:attribute-set name="itemizedlist.label.properties"> 
    348349</xsl:attribute-set> 
    349 <xsl:param name="itemizedlist.label.width" select="'1.0em'"/> 
     350    <xsl:param name="itemizedlist.label.width">1.0em</xsl:param> 
     351   
    350352 
    351353<xsl:param name="keep.relative.image.uris" select="0"/> 
    352 <xsl:param name="l10n.gentext.default.language" select="'en'"/
    353 <xsl:param name="l10n.gentext.language" select="''"/> 
     354<xsl:param name="l10n.gentext.default.language">en</xsl:param
     355<xsl:param name="l10n.gentext.language"/> 
    354356<xsl:param name="l10n.gentext.use.xref.language" select="0"/> 
    355357<xsl:param name="l10n.lang.value.rfc.compliant" select="1"/> 
    356 <xsl:param name="label.from.part" select="'0'"/> 
    357 <xsl:param name="line-height" select="'normal'"/
    358 <xsl:param name="linenumbering.everyNth" select="'5'"/
    359 <xsl:param name="linenumbering.extension" select="'1'"/> 
    360 <xsl:param name="linenumbering.separator" select="' '"/
    361 <xsl:param name="linenumbering.width" select="'3'"/
     358<xsl:param name="label.from.part" select="0"/> 
     359<xsl:param name="line-height">normal</xsl:param
     360<xsl:param name="linenumbering.everyNth">5</xsl:param
     361<xsl:param name="linenumbering.extension" select="1"/> 
     362<xsl:param name="linenumbering.separator"><xsl:text> </xsl:text></xsl:param
     363<xsl:param name="linenumbering.width">3</xsl:param
    362364<xsl:attribute-set name="list.block.properties"> 
    363365  <xsl:attribute name="provisional-label-separation">0.2em</xsl:attribute> 
     
    390392  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> 
    391393</xsl:attribute-set> 
    392 <xsl:param name="margin.note.float.type" select="'none'"/
    393 <xsl:param name="margin.note.width" select="'1in'"/
    394 <xsl:param name="marker.section.level" select="2"/
     394<xsl:param name="margin.note.float.type">none</xsl:param
     395<xsl:param name="margin.note.width">1in</xsl:param
     396<xsl:param name="marker.section.level">2</xsl:param
    395397<xsl:param name="menuchoice.menu.separator"> &#8594; </xsl:param> 
    396 <xsl:param name="menuchoice.separator" select="'+'"/
    397 <xsl:param name="monospace.font.family" select="'monospace'"/
     398<xsl:param name="menuchoice.separator">+</xsl:param
     399<xsl:param name="monospace.font.family">monospace</xsl:param
    398400<xsl:attribute-set name="monospace.properties"> 
    399401  <xsl:attribute name="font-family"> 
     
    405407  <xsl:attribute name="wrap-option">no-wrap</xsl:attribute> 
    406408</xsl:attribute-set> 
    407 <xsl:param name="nominal.table.width" select="'6in'"/
     409<xsl:param name="nominal.table.width">6in</xsl:param
    408410<xsl:attribute-set name="normal.para.spacing"> 
    409411  <xsl:attribute name="space-before.optimum">1em</xsl:attribute> 
     
    411413  <xsl:attribute name="space-before.maximum">1.2em</xsl:attribute> 
    412414</xsl:attribute-set> 
    413 <xsl:param name="olink.doctitle" select="'no'"/>  
    414 <xsl:param name="olink.base.uri" select="''"/>  
     415<xsl:param name="olink.doctitle">no</xsl:param>  
     416<xsl:param name="olink.base.uri"/> 
    415417<xsl:param name="olink.debug" select="0"/> 
    416418<xsl:attribute-set name="olink.properties"> 
    417419  <xsl:attribute name="show-destination">replace</xsl:attribute> 
    418420</xsl:attribute-set> 
    419 <xsl:param name="olink.lang.fallback.sequence" select="''"/>  
     421<xsl:param name="olink.lang.fallback.sequence"/> 
    420422<xsl:attribute-set name="orderedlist.properties" use-attribute-sets="list.block.properties"> 
    421423  <xsl:attribute name="provisional-distance-between-starts">2em</xsl:attribute> 
     
    423425<xsl:attribute-set name="orderedlist.label.properties"> 
    424426</xsl:attribute-set> 
    425 <xsl:param name="orderedlist.label.width" select="'1.2em'"/
     427<xsl:param name="orderedlist.label.width">1.2em</xsl:param
    426428<xsl:param name="prefer.internal.olink" select="0"/> 
    427429<xsl:param name="insert.olink.page.number">no</xsl:param> 
     
    480482  </xsl:choose> 
    481483</xsl:param> 
    482 <xsl:param name="page.margin.bottom" select="'0.5in'"/
     484<xsl:param name="page.margin.bottom">0.5in</xsl:param
    483485<xsl:param name="page.margin.inner"> 
    484486  <xsl:choose> 
     
    493495  </xsl:choose> 
    494496</xsl:param> 
    495 <xsl:param name="page.margin.top" select="'0.5in'"/
    496 <xsl:param name="page.orientation" select="'portrait'"/
     497<xsl:param name="page.margin.top">0.5in</xsl:param
     498<xsl:param name="page.orientation">portrait</xsl:param
    497499<xsl:param name="page.width"> 
    498500  <xsl:choose> 
     
    546548  </xsl:choose> 
    547549</xsl:param> 
    548 <xsl:param name="paper.type" select="'USletter'"/
    549 <xsl:param name="part.autolabel" select="'I'"/
     550<xsl:param name="paper.type">USletter</xsl:param
     551<xsl:param name="part.autolabel">I</xsl:param
    550552<xsl:param name="passivetex.extensions" select="0"/> 
    551553<xsl:attribute-set name="pgwide.properties"> 
     
    554556<xsl:param name="preface.autolabel" select="0"/> 
    555557<xsl:param name="preferred.mediaobject.role"/> 
    556 <xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties"/> 
     558<xsl:attribute-set name="procedure.properties" use-attribute-sets="formal.object.properties"> 
     559  <xsl:attribute name="keep-together.within-column">auto</xsl:attribute> 
     560</xsl:attribute-set> 
    557561<xsl:param name="process.empty.source.toc" select="0"/> 
    558562<xsl:param name="process.source.toc" select="0"/> 
    559 <xsl:param name="profile.arch" select="''"/> 
    560 <xsl:param name="profile.audience" select="''"/> 
    561 <xsl:param name="profile.attribute" select="''"/> 
    562 <xsl:param name="profile.condition" select="''"/> 
    563 <xsl:param name="profile.conformance" select="''"/> 
    564 <xsl:param name="profile.lang" select="''"/> 
    565 <xsl:param name="profile.os" select="''"/> 
    566 <xsl:param name="profile.revision" select="''"/> 
    567 <xsl:param name="profile.revisionflag" select="''"/> 
    568 <xsl:param name="profile.role" select="''"/> 
    569 <xsl:param name="profile.security" select="''"/> 
    570 <xsl:param name="profile.separator" select="';'"/
    571 <xsl:param name="profile.status" select="''"/> 
    572 <xsl:param name="profile.userlevel" select="''"/> 
    573 <xsl:param name="profile.value" select="''"/> 
    574 <xsl:param name="profile.vendor" select="''"/> 
    575 <xsl:param name="profile.wordsize" select="''"/> 
    576 <xsl:param name="punct.honorific" select="'.'"/
     563<xsl:param name="profile.arch"/> 
     564<xsl:param name="profile.audience"/> 
     565<xsl:param name="profile.attribute"/> 
     566<xsl:param name="profile.condition"/> 
     567<xsl:param name="profile.conformance"/> 
     568<xsl:param name="profile.lang"/> 
     569<xsl:param name="profile.os"/> 
     570<xsl:param name="profile.revision"/> 
     571<xsl:param name="profile.revisionflag"/> 
     572<xsl:param name="profile.role"/> 
     573<xsl:param name="profile.security"/> 
     574<xsl:param name="profile.separator">;</xsl:param
     575<xsl:param name="profile.status"/> 
     576<xsl:param name="profile.userlevel"/> 
     577<xsl:param name="profile.value"/> 
     578<xsl:param name="profile.vendor"/> 
     579<xsl:param name="profile.wordsize"/> 
     580<xsl:param name="punct.honorific">.</xsl:param
    577581<xsl:param name="qanda.defaultlabel">number</xsl:param> 
    578582<xsl:param name="qanda.in.toc" select="0"/> 
     
    648652</xsl:attribute-set> 
    649653<xsl:param name="refentry.xref.manvolnum" select="1"/> 
    650 <xsl:param name="reference.autolabel" select="'I'"/
     654  <xsl:param name="reference.autolabel">I</xsl:param
    651655<xsl:param name="refclass.suppress" select="0"/> 
    652 <xsl:param name="region.after.extent" select="'0.4in'"/
    653 <xsl:param name="region.before.extent" select="'0.4in'"/
     656<xsl:param name="region.after.extent">0.4in</xsl:param
     657<xsl:param name="region.before.extent">0.4in</xsl:param
    654658<xsl:attribute-set name="revhistory.table.properties"> 
    655659</xsl:attribute-set> 
     
    674678  <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute> 
    675679</xsl:attribute-set> 
    676 <xsl:param name="rootid" select="''"/> 
    677 <xsl:param name="runinhead.default.title.end.punct" select="'.'"/
    678 <xsl:param name="runinhead.title.end.punct" select="'.!?:'"/
    679 <xsl:param name="sans.font.family" select="'sans-serif'"/
     680<xsl:param name="rootid"/> 
     681<xsl:param name="runinhead.default.title.end.punct">.</xsl:param
     682<xsl:param name="runinhead.title.end.punct">.!?:</xsl:param
     683<xsl:param name="sans.font.family">sans-serif</xsl:param
    680684<xsl:param name="section.autolabel" select="0"/> 
    681 <xsl:param name="section.autolabel.max.depth" select="8"/
    682 <xsl:param name="section.container.element" select="'block'"/
     685<xsl:param name="section.autolabel.max.depth">8</xsl:param
     686<xsl:param name="section.container.element">block</xsl:param
    683687<xsl:param name="section.label.includes.component.label" select="0"/> 
    684688<xsl:attribute-set name="section.title.level1.properties"> 
     
    751755  <xsl:attribute name="background-color">#E0E0E0</xsl:attribute> 
    752756</xsl:attribute-set> 
    753 <xsl:param name="show.comments">1</xsl:param
     757<xsl:param name="show.comments" select="1"/
    754758<xsl:attribute-set name="sidebar.properties" use-attribute-sets="formal.object.properties"> 
    755759  <xsl:attribute name="border-style">solid</xsl:attribute> 
     
    774778  <xsl:attribute name="keep-with-next.within-column">always</xsl:attribute> 
    775779</xsl:attribute-set> 
    776 <xsl:param name="sidebar.float.type" select="'none'"/
    777 <xsl:param name="sidebar.float.width" select="'1in'"/
     780<xsl:param name="sidebar.float.type">none</xsl:param
     781<xsl:param name="sidebar.float.width">1in</xsl:param
    778782<xsl:param name="simplesect.in.toc" select="0"/> 
    779783<xsl:attribute-set name="subscript.properties"> 
     
    783787  <xsl:attribute name="font-size">75%</xsl:attribute> 
    784788</xsl:attribute-set> 
    785 <xsl:param name="symbol.font.family" select="'Symbol,ZapfDingbats'"/
    786  
    787 <xsl:param name="table.cell.border.color" select="'black'"/
    788 <xsl:param name="table.cell.border.style" select="'solid'"/
    789 <xsl:param name="table.cell.border.thickness" select="'0.5pt'"/
     789<xsl:param name="symbol.font.family">Symbol,ZapfDingbats</xsl:param
     790 
     791<xsl:param name="table.cell.border.color">black</xsl:param
     792<xsl:param name="table.cell.border.style">solid</xsl:param
     793<xsl:param name="table.cell.border.thickness">0.5pt</xsl:param
    790794<xsl:attribute-set name="table.cell.padding"> 
    791795  <xsl:attribute name="padding-left">2pt</xsl:attribute> 
     
    794798  <xsl:attribute name="padding-bottom">2pt</xsl:attribute> 
    795799</xsl:attribute-set> 
    796 <xsl:param name="table.footnote.number.format" select="'a'"/
    797 <xsl:param name="table.footnote.number.symbols" select="''"/> 
     800<xsl:param name="table.footnote.number.format">a</xsl:param
     801<xsl:param name="table.footnote.number.symbols"/> 
    798802<xsl:attribute-set name="table.footnote.properties"> 
    799803  <xsl:attribute name="font-family"><xsl:value-of select="$body.fontset"/></xsl:attribute> 
     
    805809</xsl:attribute-set> 
    806810 
    807 <xsl:param name="table.frame.border.color" select="'black'"/
    808 <xsl:param name="table.frame.border.style" select="'solid'"/
    809 <xsl:param name="table.frame.border.thickness" select="'0.5pt'"/
     811<xsl:param name="table.frame.border.color">black</xsl:param
     812<xsl:param name="table.frame.border.style">solid</xsl:param
     813<xsl:param name="table.frame.border.thickness">0.5pt</xsl:param
    810814<xsl:attribute-set name="table.properties" use-attribute-sets="formal.object.properties"/> 
    811 <xsl:param name="tablecolumns.extension" select="'1'"/> 
     815<xsl:param name="tablecolumns.extension" select="1"/> 
    812816<xsl:attribute-set name="table.table.properties"> 
    813817  <xsl:attribute name="border-before-width.conditionality">retain</xsl:attribute> 
    814818  <xsl:attribute name="border-collapse">collapse</xsl:attribute> 
    815819</xsl:attribute-set> 
    816 <xsl:param name="target.database.document" select="''"/
    817 <xsl:param name="targets.filename" select="'target.db'"/
    818 <xsl:param name="textdata.default.encoding" select="''"/> 
    819 <xsl:param name="tex.math.delims" select="'1'"/> 
    820 <xsl:param name="tex.math.in.alt" select="''"/> 
    821 <xsl:param name="textinsert.extension" select="'1'"/> 
    822 <xsl:param name="title.font.family" select="'sans-serif'"/
     820 <xsl:param name="target.database.document">olinkdb.xml</xsl:param
     821<xsl:param name="targets.filename">target.db</xsl:param
     822<xsl:param name="textdata.default.encoding"/> 
     823<xsl:param name="tex.math.delims" select="1"/> 
     824<xsl:param name="tex.math.in.alt"/> 
     825  <xsl:param name="textinsert.extension" select="1"/> 
     826<xsl:param name="title.font.family">sans-serif</xsl:param
    823827<xsl:param name="title.margin.left"> 
    824828  <xsl:choose> 
     
    828832  </xsl:choose> 
    829833</xsl:param> 
    830 <xsl:param name="toc.indent.width" select="24"/> 
     834<xsl:param name="toc.indent.width">24</xsl:param> 
     835<!-- inconsistant point specification? --> 
    831836<xsl:attribute-set name="toc.line.properties"> 
    832837  <xsl:attribute name="text-align-last">justify</xsl:attribute> 
     
    846851<xsl:param name="toc.section.depth">2</xsl:param> 
    847852<xsl:param name="ulink.footnotes" select="0"/> 
    848 <xsl:param name="ulink.hyphenate" select="''"/> 
    849 <xsl:param name="ulink.hyphenate.chars" select="'/'"/
     853<xsl:param name="ulink.hyphenate"/> 
     854<xsl:param name="ulink.hyphenate.chars">/</xsl:param
    850855<xsl:param name="ulink.show" select="1"/> 
    851 <xsl:param name="use.extensions" select="'0'"/> 
     856<xsl:param name="use.extensions" select="0"/> 
    852857<xsl:param name="use.local.olink.style" select="0"/>  
    853858<xsl:param name="use.role.as.xrefstyle" select="1"/> 
  • branches/jh/BOOK/stylesheets/lfs-xsl/docbook-xsl-snapshot/fo/pi.xsl

    r8354 r8370  
    4646  <refpurpose>Sets background color for an image</refpurpose> 
    4747  <refdescription> 
    48     <para>Use the <tag>dbfo background-color</tag> PI before or 
     48    <para>Use the <tag class="xmlpi">dbfo background-color</tag> PI before or 
    4949      after an image (<tag>graphic</tag>, <tag>inlinegraphic</tag>, 
    5050      <tag>imagedata</tag>, or <tag>videodata</tag> element) as a 
     
    8181  <refpurpose>Sets background color on a table row or table cell</refpurpose> 
    8282  <refdescription> 
    83     <para>Use the <tag>dbfo bgcolor</tag> PI as child of a table row 
     83    <para>Use the <tag class="xmlpi">dbfo bgcolor</tag> PI as child of a table row 
    8484      or cell to set a background color for that table row or cell.</para> 
    8585  </refdescription> 
     
    113113  <refpurpose>Specifies float behavior for a sidebar</refpurpose> 
    114114  <refdescription> 
    115     <para>Use the <tag>dbfo float-type</tag> PI to specify the float 
     115    <para>Use the <tag class="xmlpi">dbfo float-type</tag> PI to specify the float 
    116116      behavior for a <tag>sidebar</tag> (to cause the sidebar to be 
    117117      displayed as a marginal note).</para> 
     
    153153  <refpurpose>Specifies presentation style for a glossary</refpurpose> 
    154154  <refdescription> 
    155     <para>Use the <tag>dbfo glossary-presentation</tag> PI as a child of 
     155    <para>Use the <tag class="xmlpi">dbfo glossary-presentation</tag> PI as a child of 
    156156      a <tag>glossary</tag> to control its presentation style.</para> 
    157157  </refdescription> 
     
    192192  <refpurpose>Specifies presentation style for a glosslist</refpurpose> 
    193193  <refdescription> 
    194     <para>Use the <tag>dbfo glosslist-presentation</tag> PI as a child of 
     194    <para>Use the <tag class="xmlpi">dbfo glosslist-presentation</tag> PI as a child of 
    195195      a <tag>glosslist</tag> to control its presentation style.</para> 
    196196  </refdescription> 
     
    232232    glosslist</refpurpose> 
    233233  <refdescription> 
    234     <para>Use the <tag>dbfo glossterm-width</tag> PI as a child of a 
     234    <para>Use the <tag class="xmlpi">dbfo glossterm-width</tag> PI as a child of a 
    235235      <tag>glossary</tag> or <tag>glosslist</tag> to specify the 
    236236      width for output of <tag>glossterm</tag> instances in the 
     
    271271    figure, or equation</refpurpose> 
    272272  <refdescription> 
    273     <para>Use the <tag>dbfo keep-together</tag> PI as a child of a 
     273    <para>Use the <tag class="xmlpi">dbfo keep-together</tag> PI as a child of a 
    274274      formal object (<tag>table</tag>, <tag>example</tag>, 
    275275      <tag>figure</tag>, or <tag>equation</tag>) or their informal 
     
    314314  <refpurpose>Specifies the label width for a qandaset</refpurpose> 
    315315  <refdescription> 
    316     <para>Use the <tag>dbfo label-width</tag> PI as a child