Ignore:
Timestamp:
12/10/2013 11:37:38 PM (11 years ago)
Author:
Krejzi <krejzi@…>
Branches:
7.5-systemd, 7.6-systemd, 7.7-systemd, 7.8-systemd, 7.9-systemd
Children:
112db9d
Parents:
f2a5108
Message:

Import new branch

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd/BOOK@10389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 moved

Legend:

Unmodified
Added
Removed
  • stylesheets/lfs-xsl/docbook-xsl-1.78.1/fo/pi.xsl

    rf2a5108 rb1a51ac1  
    55  xmlns:fo="http://www.w3.org/1999/XSL/Format"
    66  xmlns:xlink="http://www.w3.org/1999/xlink"
    7   exclude-result-prefixes="doc"
     7  exclude-result-prefixes="doc xlink"
    88  version='1.0'>
    99
    1010<!-- ********************************************************************
    11      $Id$
     11     $Id: pi.xsl 9267 2012-04-03 20:23:45Z bobstayton $
    1212     ********************************************************************
    1313
     
    2020<doc:reference xmlns=""><info><title>FO Processing Instruction Reference</title>
    2121    <releaseinfo role="meta">
    22       $Id$
     22      $Id: pi.xsl 9267 2012-04-03 20:23:45Z bobstayton $
    2323    </releaseinfo>
    2424  </info>
     
    8383    <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>
     85    <para>This PI works for both CALS and HTML tables.</para>
    8586  </refdescription>
    8687  <refsynopsisdiv>
     
    131132  </refparameter>
    132133  <refsee role="params">
    133     <para><parameter>sidebar.float.type parameter</parameter>,
    134       <parameter>sidebar.float.width parameter</parameter>,
    135       <parameter>sidebar.properties attribute-set</parameter>,
    136       <parameter>sidebar.title.properties</parameter>
     134    <para><parameter>sidebar.float.type</parameter> (parameter),
     135      <parameter>sidebar.float.width</parameter> (parameter),
     136      <parameter>sidebar.properties</parameter> (attribute-set),
     137      <parameter>sidebar.title.properties</parameter> (attribute-set)
    137138    </para>
    138139  </refsee>
    139140  <refsee role="tcg">
    140     <para><link xlink:href="SideFloats.html#SidebarFloats" >A sidebar as
     141    <para><link role="tcg" xlink:href="SideFloats.html#SidebarFloats" >A sidebar as
    141142        side float</link></para>
    142143  </refsee>
     
    147148    <xsl:with-param name="pis" select="$node/processing-instruction('dbfo')"/>
    148149    <xsl:with-param name="attribute" select="'float-type'"/>
     150  </xsl:call-template>
     151</xsl:template>
     152
     153<doc:pi name="dbfo_funcsynopsis-style" xmlns="">
     154  <refpurpose>Specifies presentation style for a funcsynopsis</refpurpose>
     155  <refdescription>
     156    <para>Use the <tag class="xmlpi">dbfo funcsynopsis-style</tag> PI as a child of
     157      a <tag>funcsynopsis</tag> or anywhere within a funcsynopsis
     158      to control the presentation style for output of all
     159      <tag>funcprototype</tag> instances within that funcsynopsis.</para>
     160  </refdescription>
     161  <refsynopsisdiv>
     162    <synopsis><tag class="xmlpi">dbfo funcsynopsis-style="kr"|"ansi"</tag></synopsis>
     163  </refsynopsisdiv>
     164  <refparameter>
     165    <variablelist>
     166      <varlistentry><term>funcsynopsis-style="kr"</term>
     167        <listitem>
     168          <para>Displays <tag>funcprototype</tag> output in K&amp;R style</para>
     169        </listitem>
     170      </varlistentry>
     171      <varlistentry><term>funcsynopsis-style="ansi"</term>
     172        <listitem>
     173          <para>Displays <tag>funcprototype</tag> output in ANSI style</para>
     174        </listitem>
     175      </varlistentry>
     176    </variablelist>
     177  </refparameter>
     178  <refsee role="params">
     179    <para><parameter>funcsynopsis.style</parameter></para>
     180  </refsee>
     181</doc:pi>
     182<xsl:template name="pi.dbfo_funcsynopsis-style">
     183  <xsl:param name="node" select="."/>
     184  <xsl:call-template name="dbfo-attribute">
     185    <xsl:with-param name="pis" select="$node/processing-instruction('dbfo')"/>
     186    <xsl:with-param name="attribute" select="'funcsynopsis-style'"/>
    149187  </xsl:call-template>
    150188</xsl:template>
     
    177215  </refsee>
    178216  <refsee role="tcg">
    179     <para><link xlink:href="Glossaries.html#GlossaryFormatPrint" >Glossary
     217    <para><link role="tcg" xlink:href="Glossaries.html#GlossaryFormatPrint" >Glossary
    180218        formatting in print</link></para>
    181219  </refsee>
     
    216254  </refsee>
    217255  <refsee role="tcg">
    218     <para><link xlink:href="Glossaries.html#GlossaryFormatPrint" >Glossary
     256    <para><link role="tcg" xlink:href="Glossaries.html#GlossaryFormatPrint" >Glossary
    219257        formatting in print</link></para>
    220258  </refsee>
     
    255293  </refsee>
    256294  <refsee role="tcg">
    257     <para><link xlink:href="Glossaries.html#GlossaryFormatPrint" >Glossary
     295    <para><link role="tcg" xlink:href="Glossaries.html#GlossaryFormatPrint" >Glossary
    258296        formatting in print</link></para>
    259297  </refsee>
     
    269307<doc:pi name="dbfo_keep-together" xmlns="">
    270308  <refpurpose>Specifies “keep” behavior for a table, example,
    271     figure, or equation</refpurpose>
     309    figure, equation, procedure, or task</refpurpose>
    272310  <refdescription>
    273311    <para>Use the <tag class="xmlpi">dbfo keep-together</tag> PI as a child of a
    274312      formal object (<tag>table</tag>, <tag>example</tag>,
    275       <tag>figure</tag>, or <tag>equation</tag>) or their informal
    276       equivalents) to specify “keep” behavior for the object (to
    277       allow the object to “break” across a page).</para>
     313      <tag>figure</tag>, <tag>equation</tag>, <tag>procedure</tag>, or
     314      <tag>task</tag>) to specify “keep” behavior (to allow the object to
     315    “break” across a page).</para>
     316    <para>The PI also works with <tag>informaltable</tag>, <tag>informalexample</tag>,
     317      <tag>informalfigure</tag> and <tag>informalequation</tag>.
     318    </para>
     319
    278320  </refdescription>
    279321  <refsynopsisdiv>
     
    299341  </refsee>
    300342  <refsee role="tcg">
    301     <para><link xlink:href="PageBreaking.html#KeepTogetherPI"
     343    <para><link role="tcg" xlink:href="PageBreaking.html#KeepTogetherPI"
    302344        >Keep-together processing instruction</link></para>
    303345  </refsee>
     
    312354
    313355<doc:pi name="dbfo_label-width" xmlns="">
    314   <refpurpose>Specifies the label width for a qandaset</refpurpose>
     356  <refpurpose>Specifies the label width for a qandaset, itemizedlist, orderedlist
     357  or calloutlist</refpurpose>
    315358  <refdescription>
    316359    <para>Use the <tag class="xmlpi">dbfo label-width</tag> PI as a child of a
    317       <tag>qandaset</tag> to specify the width of labels.</para>
     360      <tag>qandaset</tag>, <tag>itemizedlist</tag>, <tag>orderedlist</tag>,
     361      or <tag>calloutlist</tag> to specify the width of labels.</para>
    318362  </refdescription>
    319363  <refsynopsisdiv>
     
    344388
    345389<doc:pi name="dbfo_linenumbering.everyNth" xmlns="">
    346   <refpurpose>Specifies interval for lines numbers in verbatims</refpurpose>
     390  <refpurpose>Specifies interval for line numbers in verbatims</refpurpose>
    347391  <refdescription>
    348392    <para>Use the <tag class="xmlpi">dbfo linenumbering.everyNth</tag> PI as a child
     
    540584
    541585<doc:pi name="dbfo_orientation" xmlns="">
    542   <refpurpose>Specifies the orientation for table row or cell</refpurpose>
    543   <refdescription>
    544     <para>Use the <tag class="xmlpi">dbfo orientation</tag> PI as a child of an
     586  <refpurpose>Specifies the orientation for a CALS table row or cell</refpurpose>
     587  <refdescription>
     588    <para>Use the <tag class="xmlpi">dbfo orientation</tag> PI as a child of a CALS
    545589      <tag>table</tag> row or cell to specify the orientation
    546590      (rotation) for the row or cell.</para>
     
    607651
    608652<doc:pi name="dbfo_rotated-width" xmlns="">
    609   <refpurpose>Specifies the width for a table <tag>entry</tag> or
     653  <refpurpose>Specifies the width for a CALS table <tag>entry</tag> or
    610654    <tag>row</tag></refpurpose>
    611655  <refdescription>
    612     <para>Use the <tag class="xmlpi">dbfo rotated-width</tag> PI as a child of an
    613       <tag>entry</tag> or <tag>row</tag> instance to specify the
     656    <para>Use the <tag class="xmlpi">dbfo rotated-width</tag> PI as a child of
     657      <tag>entry</tag> or <tag>row</tag> instance in a CALS table to specify the
    614658      width of that the <tag>entry</tag> or <tag>row</tag>; or
    615659      use it higher up in table to cause the width to be inherited
     
    663707  </refsee>
    664708  <refsee role="tcg">
    665     <para><link xlink:href="SideFloats.html#SidebarFloats" >A sidebar as
     709    <para><link role="tcg" xlink:href="SideFloats.html#SidebarFloats" >A sidebar as
    666710        side float</link></para>
    667711  </refsee>
     
    714758
    715759<doc:pi name="dbfo_table-width" xmlns="">
    716   <refpurpose>Specifies the width for a table or for revhistory
     760  <refpurpose>Specifies the width for a CALS table or for revhistory
    717761    output</refpurpose>
    718762  <refdescription>
    719763    <para>Use the <tag class="xmlpi">dbfo table-width</tag> PI as a child or
    720       sibling of a <tag>table</tag>, or as a child of an
    721       <tag>informaltable</tag>, <tag>entrybl</tag>, or
     764      sibling of a CALS <tag>table</tag>, or as a child of an
     765      <tag>informaltable</tag>, <tag>entrytbl</tag>, or
    722766      <tag>revhistory</tag> instance (which is rendered as a table
    723767      in output) to specify the width of the table in output.</para>
     
    856900  </refsee>
    857901</doc:pi>
     902
     903<doc:pi name="dbfo_row-height" xmlns="">
     904  <refpurpose>Specifies the height for a CALS table row</refpurpose>
     905  <refdescription>
     906    <para>Use the <tag class="xmlpi">dbfo row-height</tag> PI as a child of a
     907      <tag>row</tag> to specify the height of the row.</para>
     908  </refdescription>
     909  <refsynopsisdiv>
     910    <synopsis><tag class="xmlpi">dbfo row-height="<replaceable>height</replaceable>"</tag></synopsis>
     911  </refsynopsisdiv>
     912  <refparameter>
     913    <variablelist>
     914      <varlistentry><term>row-height="<replaceable>height</replaceable>"</term>
     915        <listitem>
     916          <para>Specifies the row height (including units)</para>
     917        </listitem>
     918      </varlistentry>
     919    </variablelist>
     920  </refparameter>
     921  <refsee role="tcg">
     922    <para><link role="tcg"
     923        xlink:href="RowHeight.html"
     924        >Row height</link></para>
     925  </refsee>
     926</doc:pi>
     927<xsl:template name="pi.dbfo_row-height">
     928  <xsl:param name="node" select="."/>
     929  <xsl:call-template name="dbfo-attribute">
     930    <xsl:with-param name="pis" select="$node/processing-instruction('dbfo')"/>
     931    <xsl:with-param name="attribute" select="'row-height'"/>
     932  </xsl:call-template>
     933</xsl:template>
     934
     935
    858936<xsl:template name="pi.dbfo-need">
    859937  <xsl:variable name="pi-height">
     
    887965
    888966  <xsl:choose>
     967    <xsl:when test="$fop1.extensions != 0">
     968      <!-- Doesn't work in fop -->
     969    </xsl:when>
    889970    <xsl:when test="$fop.extensions != 0">
    890971      <!-- Doesn't work in fop -->
     
    9341015      <fo:list-item space-after="0pt"
    9351016        xsl:use-attribute-sets="informal.object.properties">
    936         <fo:list-item-label/>
     1017        <fo:list-item-label>
     1018          <fo:block line-height="0pt"/>
     1019        </fo:list-item-label>
    9371020        <fo:list-item-body start-indent="0pt" end-indent="0pt">
    9381021          <xsl:copy-of select="$spacer"/>
     
    9591042
    9601043  <xsl:choose>
     1044    <xsl:when test="$fop1.extensions != 0">
     1045      <!-- Doesn't work in fop -->
     1046    </xsl:when>
    9611047    <xsl:when test="$fop.extensions != 0">
    9621048      <!-- Doesn't work in fop -->
     
    9681054        space-after="0pt"
    9691055        space-after.precedence="force">
    970         <fo:list-item-label/>
    971         <fo:list-item-body start-indent="0pt" end-indent="0pt"/>
     1056        <fo:list-item-label>
     1057          <fo:block line-height="0pt"/>
     1058        </fo:list-item-label>
     1059        <fo:list-item-body start-indent="0pt" end-indent="0pt">
     1060          <fo:block line-height="0pt"/>
     1061        </fo:list-item-body>
    9721062      </fo:list-item>
    9731063    </xsl:when>
Note: See TracChangeset for help on using the changeset viewer.