]> granicus.if.org Git - docbook-dsssl/commitdiff
made some cleanup to the fo/pi.xsl params doc. Also fixed a couple
authorMichael Smith <xmldoc@users.sourceforge.net>
Fri, 6 Jul 2007 15:07:39 +0000 (15:07 +0000)
committerMichael Smith <xmldoc@users.sourceforge.net>
Fri, 6 Jul 2007 15:07:39 +0000 (15:07 +0000)
typos.

xsl/fo/pi.xsl
xsl/html/pi.xsl

index 5af3d16c9e781ad954eec16860039c25ea166d30..e7b95dcfde2769c89653c945d852e2adbbd2948b 100644 (file)
     <variablelist>
       <varlistentry><term>label-width="<replaceable>width</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies the label width (in what units?)</para>
+          <para>Specifies the label width (including units)</para>
         </listitem>
       </varlistentry>
     </variablelist>
   </xsl:call-template>
 </xsl:template>
 
-<doc:pi name="dbfo_list-width" xmlns="">
-  <refpurpose>Specifies the width of a horizontal simplelist</refpurpose>
-  <refdescription>
-    <para>Use the <tag>dbfo list-width</tag> PI as a child of a
-      <tag>simplelist</tag> whose <tag class="attribute">class</tag>
-      value is <literal>horizontal</literal>, to specify the width
-      of the <tag>simplelist</tag>.</para>
-  </refdescription>
-  <refsynopsisdiv>
-    <synopsis><tag class="xmlpi">dbfo list-width="<replaceable>width</replaceable>"</tag></synopsis>
-  </refsynopsisdiv>
-  <refparameter>
-    <variablelist>
-      <varlistentry><term>list-width="<replaceable>width</replaceable>"</term>
-        <listitem>
-          <para>Specifies the <tag>simplelist</tag> width (including units)</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refparameter>
-</doc:pi>
-<xsl:template name="pi.dbfo_list-width">
-  <xsl:param name="node" select="."/>
-  <xsl:call-template name="dbfo-attribute">
-    <xsl:with-param name="pis" select="$node/processing-instruction('dbfo')"/>
-    <xsl:with-param name="attribute" select="'list-width'"/>
-  </xsl:call-template>
-</xsl:template>
-
 <doc:pi name="dbfo_list-presentation" xmlns="">
   <refpurpose>Specifies presentation style for a variablelist or
     segmentedlist</refpurpose>
         </listitem>
       </varlistentry>
     </variablelist>
-    <refsee role="params">
-      <itemizedlist>
-        <listitem>
-          <para><parameter>variablelist.as.blocks</parameter></para>
-        </listitem>
-        <listitem>
-          <para><parameter>variablelist.as.table</parameter></para>
-        </listitem>
-      </itemizedlist>
-    </refsee>
-    <refsee role="tcg">
-      <para><ulink role="tcg"
-          url="Variablelists.html#ListIndents"
-          >Variable list formatting in print</ulink></para>
-    </refsee>
   </refparameter>
+  <refsee role="params">
+    <itemizedlist>
+      <listitem>
+        <para><parameter>variablelist.as.blocks</parameter></para>
+      </listitem>
+      <listitem>
+        <para><parameter>variablelist.as.table</parameter></para>
+      </listitem>
+    </itemizedlist>
+  </refsee>
+  <refsee role="tcg">
+    <para><ulink role="tcg"
+        url="Variablelists.html#ListIndents"
+        >Variable list formatting in print</ulink></para>
+  </refsee>
 </doc:pi>
 <xsl:template name="pi.dbfo_list-presentation">
   <xsl:param name="node" select="."/>
   </xsl:call-template>
 </xsl:template>
 
+<doc:pi name="dbfo_list-width" xmlns="">
+  <refpurpose>Specifies the width of a horizontal simplelist</refpurpose>
+  <refdescription>
+    <para>Use the <tag>dbfo list-width</tag> PI as a child of a
+      <tag>simplelist</tag> whose <tag class="attribute">class</tag>
+      value is <literal>horizontal</literal>, to specify the width
+      of the <tag>simplelist</tag>.</para>
+  </refdescription>
+  <refsynopsisdiv>
+    <synopsis><tag class="xmlpi">dbfo list-width="<replaceable>width</replaceable>"</tag></synopsis>
+  </refsynopsisdiv>
+  <refparameter>
+    <variablelist>
+      <varlistentry><term>list-width="<replaceable>width</replaceable>"</term>
+        <listitem>
+          <para>Specifies the <tag>simplelist</tag> width (including units)</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+</doc:pi>
+<xsl:template name="pi.dbfo_list-width">
+  <xsl:param name="node" select="."/>
+  <xsl:call-template name="dbfo-attribute">
+    <xsl:with-param name="pis" select="$node/processing-instruction('dbfo')"/>
+    <xsl:with-param name="attribute" select="'list-width'"/>
+  </xsl:call-template>
+</xsl:template>
+
 <doc:pi name="dbfo_orientation" xmlns="">
   <refpurpose>Specifies the orientation for table row or cell</refpurpose>
   <refdescription>
     <variablelist>
       <varlistentry><term>term-width="<replaceable>width</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies the term width (in what units?)</para>
+          <para>Specifies the term width (including units)</para>
         </listitem>
       </varlistentry>
     </variablelist>
index edd77487212614c5c9e4191e82a96e8223620a18..47087b059d39ef2b405bf12f137964b9a71210b9 100644 (file)
 
 <!-- ==================================================================== -->
 
-<doc:pi name="dbhtml_dir" xmlns="">
-  <refpurpose>Specifies a directory name in which to write files</refpurpose>
-  <refdescription>
-    <para>When chunking output, use the <tag>dbhtml dir</tag> 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 <tag>mediaobject</tag> to specify a
-      directory into which any long-description files for that
-      <tag>mediaobject</tag> will be written.</para>
-  </refdescription>
-  <refsynopsisdiv>
-    <synopsis><tag class="xmlpi">dbhtml dir="<replaceable>path</replaceable>"</tag></synopsis>
-  </refsynopsisdiv>
-  <refparameter>
-    <variablelist>
-      <varlistentry><term>dir="<replaceable>path</replaceable>"</term>
-        <listitem>
-          <para>Specifies the pathname for the directory</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refparameter>
-  <refsee role="params">
-    <para><parameter>base.dir</parameter></para>
-  </refsee>
-  <refsee role="tcg">
-    <para><ulink role="tcg"
-        url="Chunking.html#dbhtmlDirPI"
-        >dbhtml dir processing instruction</ulink></para>
-  </refsee>
-</doc:pi>
-<xsl:template name="pi.dbhtml_dir">
-  <xsl:param name="node" select="."/>
-  <xsl:call-template name="dbhtml-attribute">
-    <xsl:with-param name="pis" select="$node/processing-instruction('dbhtml')"/>
-    <xsl:with-param name="attribute" select="'dir'"/>
-  </xsl:call-template>
-</xsl:template>
-
-<doc:pi name="dbhtml_filename" xmlns="">
-  <refpurpose>Specifies a filename for a chunk</refpurpose>
-  <refdescription>
-    <para>When chunking output, use the <tag>dbhtml filename</tag>
-      PI as a child of a chunk source to specify a filename for
-      the output file for that chunk.</para>
-  </refdescription>
-  <refsynopsisdiv>
-    <synopsis><tag class="xmlpi">dbhtml filename="<replaceable>filename</replaceable>"</tag></synopsis>
-  </refsynopsisdiv>
-  <refparameter>
-    <variablelist>
-      <varlistentry><term>filename="<replaceable>path</replaceable>"</term>
-        <listitem>
-          <para>Specifies the filename for the file</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refparameter>
-  <refsee role="params">
-    <para><parameter>use.id.as.filename</parameter></para>
-  </refsee>
-  <refsee role="tcg">
-    <para><ulink role="tcg"
-        url="Chunking.html#DbhtmlFilenames"
-        >dbhtml filenames</ulink></para>
-  </refsee>
-</doc:pi>
-<xsl:template name="pi.dbhtml_filename">
-  <xsl:param name="node" select="."/>
-  <xsl:call-template name="dbhtml-attribute">
-    <xsl:with-param name="pis" select="$node/processing-instruction('dbhtml')"/>
-    <xsl:with-param name="attribute" select="'filename'"/>
-  </xsl:call-template>
-</xsl:template>
-
-<doc:pi name="dbhtml_img.src.path" xmlns="">
-  <refpurpose>Specifies a path to the location of an image file</refpurpose>
-  <refdescription>
-    <para>Use the <tag>dbhtml img.src.path</tag> PI before or
-      after an image (<tag>graphic</tag>,
-      <tag>inlinegraphic</tag>, <tag>imagedata</tag>, or
-      <tag>videodata</tag> 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
-      <code>img.src.path</code> attribute is prepended to the
-      filename.</para>
-  </refdescription>
-  <refsynopsisdiv>
-    <synopsis><tag class="xmlpi">dbhtml img.src.path="<replaceable>path</replaceable>"</tag></synopsis>
-  </refsynopsisdiv>
-  <refparameter>
-    <variablelist>
-      <varlistentry><term>img.src.path="<replaceable>path</replaceable>"</term>
-        <listitem>
-          <para>Specifies the pathname to prepend to the name of the image file</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refparameter>
-  <refsee role="params">
-    <para><parameter>img.src.path</parameter></para>
-  </refsee>
-  <refsee role="tcg">
-    <para><ulink role="tcg"
-        url="GraphicsLocations.html#UsingFileref"
-        >Using fileref</ulink></para>
-  </refsee>
-</doc:pi>
-<xsl:template name="pi.dbhtml_img.src.path">
-  <xsl:param name="node" select="."/>
-  <xsl:call-template name="dbhtml-attribute">
-    <xsl:with-param name="pis" select="$node/processing-instruction('dbhtml')"/>
-    <xsl:with-param name="attribute" select="'img.src.path'"/>
-  </xsl:call-template>
-</xsl:template>
-
 <doc:pi name="dbhtml_background-color" xmlns="">
   <refpurpose>Sets background color for an image</refpurpose>
   <refdescription>
 </xsl:template>
 
 <doc:pi name="dbhtml_bgcolor" xmlns="">
-  <refpurpose>Sets background color on an table row or table cell</refpurpose>
+  <refpurpose>Sets background color on a table row or table cell</refpurpose>
   <refdescription>
     <para>Use the <tag>dbhtml bgcolor</tag> PI as child of a table row
       or cell to set a background color for that table row or cell.</para>
   </xsl:call-template>
 </xsl:template> 
 
+<doc:pi name="dbhtml_dir" xmlns="">
+  <refpurpose>Specifies a directory name in which to write files</refpurpose>
+  <refdescription>
+    <para>When chunking output, use the <tag>dbhtml dir</tag> 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 <tag>mediaobject</tag> to specify a
+      directory into which any long-description files for that
+      <tag>mediaobject</tag> will be written.</para>
+  </refdescription>
+  <refsynopsisdiv>
+    <synopsis><tag class="xmlpi">dbhtml dir="<replaceable>path</replaceable>"</tag></synopsis>
+  </refsynopsisdiv>
+  <refparameter>
+    <variablelist>
+      <varlistentry><term>dir="<replaceable>path</replaceable>"</term>
+        <listitem>
+          <para>Specifies the pathname for the directory</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+  <refsee role="params">
+    <para><parameter>base.dir</parameter></para>
+  </refsee>
+  <refsee role="tcg">
+    <para><ulink role="tcg"
+        url="Chunking.html#dbhtmlDirPI"
+        >dbhtml dir processing instruction</ulink></para>
+  </refsee>
+</doc:pi>
+<xsl:template name="pi.dbhtml_dir">
+  <xsl:param name="node" select="."/>
+  <xsl:call-template name="dbhtml-attribute">
+    <xsl:with-param name="pis" select="$node/processing-instruction('dbhtml')"/>
+    <xsl:with-param name="attribute" select="'dir'"/>
+  </xsl:call-template>
+</xsl:template>
+
+<doc:pi name="dbhtml_filename" xmlns="">
+  <refpurpose>Specifies a filename for a chunk</refpurpose>
+  <refdescription>
+    <para>When chunking output, use the <tag>dbhtml filename</tag>
+      PI as a child of a chunk source to specify a filename for
+      the output file for that chunk.</para>
+  </refdescription>
+  <refsynopsisdiv>
+    <synopsis><tag class="xmlpi">dbhtml filename="<replaceable>filename</replaceable>"</tag></synopsis>
+  </refsynopsisdiv>
+  <refparameter>
+    <variablelist>
+      <varlistentry><term>filename="<replaceable>path</replaceable>"</term>
+        <listitem>
+          <para>Specifies the filename for the file</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+  <refsee role="params">
+    <para><parameter>use.id.as.filename</parameter></para>
+  </refsee>
+  <refsee role="tcg">
+    <para><ulink role="tcg"
+        url="Chunking.html#DbhtmlFilenames"
+        >dbhtml filenames</ulink></para>
+  </refsee>
+</doc:pi>
+<xsl:template name="pi.dbhtml_filename">
+  <xsl:param name="node" select="."/>
+  <xsl:call-template name="dbhtml-attribute">
+    <xsl:with-param name="pis" select="$node/processing-instruction('dbhtml')"/>
+    <xsl:with-param name="attribute" select="'filename'"/>
+  </xsl:call-template>
+</xsl:template>
+
 <doc:pi name="dbhtml_funcsynopsis-style" xmlns="">
   <refpurpose>Specifies presentation style for a funcsynopsis</refpurpose>
   <refdescription>
   </xsl:call-template>
 </xsl:template>
 
+<doc:pi name="dbhtml_img.src.path" xmlns="">
+  <refpurpose>Specifies a path to the location of an image file</refpurpose>
+  <refdescription>
+    <para>Use the <tag>dbhtml img.src.path</tag> PI before or
+      after an image (<tag>graphic</tag>,
+      <tag>inlinegraphic</tag>, <tag>imagedata</tag>, or
+      <tag>videodata</tag> 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
+      <code>img.src.path</code> attribute is prepended to the
+      filename.</para>
+  </refdescription>
+  <refsynopsisdiv>
+    <synopsis><tag class="xmlpi">dbhtml img.src.path="<replaceable>path</replaceable>"</tag></synopsis>
+  </refsynopsisdiv>
+  <refparameter>
+    <variablelist>
+      <varlistentry><term>img.src.path="<replaceable>path</replaceable>"</term>
+        <listitem>
+          <para>Specifies the pathname to prepend to the name of the image file</para>
+        </listitem>
+      </varlistentry>
+    </variablelist>
+  </refparameter>
+  <refsee role="params">
+    <para><parameter>img.src.path</parameter></para>
+  </refsee>
+  <refsee role="tcg">
+    <para><ulink role="tcg"
+        url="GraphicsLocations.html#UsingFileref"
+        >Using fileref</ulink></para>
+  </refsee>
+</doc:pi>
+<xsl:template name="pi.dbhtml_img.src.path">
+  <xsl:param name="node" select="."/>
+  <xsl:call-template name="dbhtml-attribute">
+    <xsl:with-param name="pis" select="$node/processing-instruction('dbhtml')"/>
+    <xsl:with-param name="attribute" select="'img.src.path'"/>
+  </xsl:call-template>
+</xsl:template>
+
 <doc:pi name="dbhtml_label-width" xmlns="">
   <refpurpose>Specifies the label width for a qandaset</refpurpose>
   <refdescription>
     <variablelist>
       <varlistentry><term>label-width="<replaceable>width</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies the label width (in what units?)</para>
+          <para>Specifies the label width (including units)</para>
         </listitem>
       </varlistentry>
     </variablelist>
     <variablelist>
       <varlistentry><term>linenumbering.everyNth="<replaceable>N</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies numbering interval; a number is
-            output before every <replaceable>N</replaceable>th line</para>
+          <para>Specifies numbering interval; a number is output
+            before every <replaceable>N</replaceable>th line</para>
         </listitem>
       </varlistentry>
     </variablelist>
     <variablelist>
       <varlistentry><term>linenumbering.width="<replaceable>width</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies the width (in what units?)</para>
+          <para>Specifies the width (inluding units)</para>
         </listitem>
       </varlistentry>
     </variablelist>
     <variablelist>
       <varlistentry><term>list-width="<replaceable>width</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies the ouytput width (in what units?)</para>
+          <para>Specifies the ouytput width (including units)</para>
         </listitem>
       </varlistentry>
     </variablelist>
     <variablelist>
       <varlistentry><term>row-height="<replaceable>height</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies the label height (in what units?)</para>
+          <para>Specifies the label height (including units)</para>
         </listitem>
       </varlistentry>
     </variablelist>
     <variablelist>
       <varlistentry><term>table-width="<replaceable>width</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies the table width (in what units?)</para>
+          <para>Specifies the table width (including units or as a percentage)</para>
         </listitem>
       </varlistentry>
     </variablelist>
   </refparameter>
+  <refsee role="params">
+    <para><parameter>default.table.width</parameter></para>
+  </refsee>
   <refsee role="tcg">
     <para><ulink role="tcg"
         url="Tables.html#TableWidth"
     <variablelist>
       <varlistentry><term>term-width="<replaceable>width</replaceable>"</term>
         <listitem>
-          <para>FIXME: Specifies the term width (in what units?)</para>
+          <para>Specifies the term width (including units)</para>
         </listitem>
       </varlistentry>
     </variablelist>