- Timestamp:
- 10/08/2013 08:03:29 PM (11 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 12.2, 12.2-rc1, 7.5, 7.6, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/loongarch-12.2, xry111/mips64el, xry111/multilib, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- 58675ce
- Parents:
- 09a35dd
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/lfs-xsl/docbook-xsl-1.78.1/xhtml-1_1/pi.xsl
r09a35dd r15c7d39 5 5 6 6 <!-- ******************************************************************** 7 $Id $7 $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $ 8 8 ******************************************************************** 9 9 … … 16 16 <doc:reference xmlns=""><info xmlns="http://www.w3.org/1999/xhtml"><title>HTML Processing Instruction Reference</title> 17 17 <releaseinfo role="meta"> 18 $Id $18 $Id: pi.xsl 9022 2011-07-14 19:21:36Z bobstayton $ 19 19 </releaseinfo> 20 20 </info> … … 71 71 72 72 <doc:pi xmlns="" name="dbhtml_bgcolor"> 73 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Sets background color on a table row or table cell</refpurpose>74 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 75 <para>Use the <tag class="xmlpi">dbhtml bgcolor</tag> PI as child of a table row73 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Sets background color on a CALS table row or table cell</refpurpose> 74 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 75 <para>Use the <tag class="xmlpi">dbhtml bgcolor</tag> PI as child of a CALS table row 76 76 or cell to set a background color for that table row or cell.</para> 77 77 </refdescription> … … 101 101 102 102 <doc:pi xmlns="" name="dbhtml_cellpadding"> 103 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies cellpadding in table or qandaset output</refpurpose>103 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies cellpadding in CALS table or qandaset output</refpurpose> 104 104 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 105 105 <para>Use the <tag class="xmlpi">dbhtml cellpadding</tag> PI as a child of a 106 <tag>table</tag> or <tag>qandaset</tag> to specify the value106 CALS <tag>table</tag> or <tag>qandaset</tag> to specify the value 107 107 for the HTML <literal>cellpadding</literal> attribute in the 108 108 output HTML table.</para> … … 137 137 138 138 <doc:pi xmlns="" name="dbhtml_cellspacing"> 139 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies cellspacing in table or qandaset output</refpurpose>139 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies cellspacing in CALS table or qandaset output</refpurpose> 140 140 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 141 141 <para>Use the <tag class="xmlpi">dbhtml cellspacing</tag> PI as a child of a 142 <tag>table</tag> or <tag>qandaset</tag> to specify the value142 CALS <tag>table</tag> or <tag>qandaset</tag> to specify the value 143 143 for the HTML <literal>cellspacing</literal> attribute in the 144 144 output HTML table.</para> … … 173 173 174 174 <doc:pi xmlns="" name="dbhtml_class"> 175 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Set value of the class attribute for a table row</refpurpose>175 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Set value of the class attribute for a CALS table row</refpurpose> 176 176 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 177 177 <para>Use the <tag class="xmlpi">dbhtml class</tag> PI as a child of a … … 212 212 directory into which any long-description files for that 213 213 <tag>mediaobject</tag> will be written.</para> 214 215 <para>The output directory specification is inherited by all 216 chunks of the descendants of the element. If descendants need 217 to go to a different directory, then add another 218 <tag class="xmlpi">dbhtml dir</tag> processing 219 instruction as a child of the source element 220 for that chunk, and specify the path relative to the 221 ancestor path.</para> 222 223 <para>For example, to put most chunk files into 224 <filename class="directory">shared</filename> 225 but one chapter into 226 <filename class="directory">exception</filename> 227 at the same level, use:</para> 228 229 <programlisting><book> 230 <?dbhtml dir="shared"?> 231 ... 232 <chapter> 233 <?dbhtml dir="../exception"?> 234 </chapter> 235 </book> 236 </programlisting> 237 238 214 239 </refdescription> 215 240 <refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml"> … … 243 268 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies a filename for a chunk</refpurpose> 244 269 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 245 270 <para>When chunking output, use the <tag class="xmlpi">dbhtml filename</tag> 246 271 PI as a child of a chunk source to specify a filename for 247 the output file for that chunk.</para> 272 the output file for that chunk. Include the filename suffix.</para> 273 274 <para>You cannot include a directory path in the filename value, 275 or your links may not work. Add a 276 <tag class="xmlpi">dbhtml dir</tag> processing instruction 277 to specify the output directory. You can also combine the two 278 specifications in one processing instruction: 279 <tag class="xmlpi">dbhtml dir="mydir" filename="myfile.html"</tag>.</para> 280 248 281 </refdescription> 249 282 <refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml"> … … 278 311 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 279 312 <para>Use the <tag class="xmlpi">dbhtml funcsynopsis-style</tag> PI as a child of 280 a <tag>func prototype</tag> or anywhere within a funcprototype281 control the presentation style for the <tag>funcsynopsis</tag>282 in output.</para>313 a <tag>funcsynopsis</tag> or anywhere within a funcsynopsis 314 to control the presentation style for output of all 315 <tag>funcprototype</tag> instances within that funcsynopsis.</para> 283 316 </refdescription> 284 317 <refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml"> … … 289 322 <varlistentry><term>funcsynopsis-style="kr"</term> 290 323 <listitem> 291 <para>Displays the <tag>funcprototype</tag>in K&R style</para>324 <para>Displays <tag>funcprototype</tag> output in K&R style</para> 292 325 </listitem> 293 326 </varlistentry> 294 327 <varlistentry><term>funcsynopsis-style="ansi"</term> 295 328 <listitem> 296 <para>Displays the <tag>funcprototype</tag>in ANSI style</para>329 <para>Displays <tag>funcprototype</tag> output in ANSI style</para> 297 330 </listitem> 298 331 </varlistentry> … … 381 414 382 415 <doc:pi xmlns="" name="dbhtml_linenumbering.everyNth"> 383 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies interval for line snumbers in verbatims</refpurpose>416 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies interval for line numbers in verbatims</refpurpose> 384 417 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 385 418 <para>Use the <tag class="xmlpi">dbhtml linenumbering.everyNth</tag> PI as a child … … 566 599 567 600 <doc:pi xmlns="" name="dbhtml_row-height"> 568 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the height for a table row</refpurpose>601 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the height for a CALS table row</refpurpose> 569 602 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 570 603 <para>Use the <tag class="xmlpi">dbhtml row-height</tag> PI as a child of a … … 578 611 <varlistentry><term>row-height="<replaceable>height</replaceable>"</term> 579 612 <listitem> 580 <para>Specifies the labelheight (including units)</para>613 <para>Specifies the row height (including units)</para> 581 614 </listitem> 582 615 </varlistentry> … … 631 664 </xsl:template> 632 665 666 <doc:pi xmlns="" name="dbhtml_stop-chunking"> 667 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Do not chunk any descendants of this element.</refpurpose> 668 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 669 <para>When generating chunked HTML output, adding this PI as the child of an element that contains elements that would normally be generated on separate pages if generating chunked output causes chunking to stop at this point. No descendants of the current element will be split into new HTML pages: 670 <programlisting><section> 671 <title>Configuring pencil</title> 672 <?dbhtml stop-chunking?> 673 674 ... 675 676 </section></programlisting> 677 </para> 678 </refdescription> 679 <refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml"> 680 <synopsis><tag class="xmlpi">dbhtml stop-chunking</tag></synopsis> 681 </refsynopsisdiv> 682 <refsee xmlns="http://www.w3.org/1999/xhtml" role="tcg"> 683 <para><link role="tcg" xlink:href="Chunking.html">Chunking into multiple HTML files</link></para> 684 </refsee> 685 </doc:pi> 686 <!-- The code that handles the stop-chunking pi is in chunk-common.xsl --> 687 633 688 <doc:pi xmlns="" name="dbhtml_table-summary"> 634 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies summary for table, variablelist, segmentedlist, or qandaset output</refpurpose>689 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies summary for CALS table, variablelist, segmentedlist, or qandaset output</refpurpose> 635 690 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 636 691 <para>Use the <tag class="xmlpi">dbhtml table-summary</tag> PI as a child of 637 a <tag>table</tag>, <tag>variablelist</tag>,692 a CALS <tag>table</tag>, <tag>variablelist</tag>, 638 693 <tag>segmentedlist</tag>, or <tag>qandaset</tag> to specify 639 694 the text for the HTML <literal>summary</literal> attribute … … 666 721 667 722 <doc:pi xmlns="" name="dbhtml_table-width"> 668 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the width for a table</refpurpose>723 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Specifies the width for a CALS table</refpurpose> 669 724 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 670 725 <para>Use the <tag class="xmlpi">dbhtml table-width</tag> PI as a child of a 671 <tag>table</tag> to specify the width of the table in726 CALS <tag>table</tag> to specify the width of the table in 672 727 output.</para> 673 728 </refdescription> … … 952 1007 <refsee xmlns="http://www.w3.org/1999/xhtml" role="tcg"> 953 1008 <para><link role="tcg" xlink:href="InsertExtHtml.html">Inserting external HTML code</link>, 954 <link xlink:href="ExternalCode.html">External code files</link></para>1009 <link role="tcg" xlink:href="ExternalCode.html">External code files</link></para> 955 1010 </refsee> 956 1011 </doc:pi> … … 994 1049 </xsl:template> 995 1050 1051 <!-- There are two templates matching this PI in htmlhelp-common.xsl --> 1052 <doc:pi xmlns="" name="dbhh"> 1053 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Sets topic name and topic id for context-sensitive HTML Help</refpurpose> 1054 <refdescription xmlns="http://www.w3.org/1999/xhtml"> 1055 <para>Use the <tag class="xmlpi">dbhh</tag> PI as a child of components 1056 that should be used as targets for context-sensitive help requests.</para> 1057 </refdescription> 1058 <refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml"> 1059 <synopsis><tag class="xmlpi">dbhh topicname="<replaceable>name</replaceable>" topicid="<replaceable>id</replaceable>"</tag></synopsis> 1060 </refsynopsisdiv> 1061 <refparameter xmlns="http://www.w3.org/1999/xhtml"> 1062 <variablelist> 1063 <varlistentry><term>topicname="<replaceable>name</replaceable>"</term> 1064 <listitem> 1065 <para>Specifies a unique string constant that identifies a help topic</para> 1066 </listitem> 1067 </varlistentry> 1068 <varlistentry><term>topicid="<replaceable>id</replaceable>"</term> 1069 <listitem> 1070 <para>Specifies a unique integer value for the <literal>topicname</literal> string</para> 1071 </listitem> 1072 </varlistentry> 1073 </variablelist> 1074 </refparameter> 1075 <refsee xmlns="http://www.w3.org/1999/xhtml" role="tcg"> 1076 <para><link role="tcg" xlink:href="HtmlHelp.html#HHContextHelp">Context-sensitive help</link></para> 1077 </refsee> 1078 </doc:pi> 1079 996 1080 <!-- ==================================================================== --> 997 1081 … … 1150 1234 </xsl:template> 1151 1235 1152 <!-- There are two templates matching this PI in htmlhelp-common.xsl -->1153 <doc:pi xmlns="" name="dbhh">1154 <refpurpose xmlns="http://www.w3.org/1999/xhtml">Sets topic name and topic id for context-sensitive HTML Help</refpurpose>1155 <refdescription xmlns="http://www.w3.org/1999/xhtml">1156 <para>Use the <tag class="xmlpi">dbhh</tag> PI as a child of components1157 that should be used as targets for context-sensitive help requests.</para>1158 </refdescription>1159 <refsynopsisdiv xmlns="http://www.w3.org/1999/xhtml">1160 <synopsis><tag class="xmlpi">dbhh topicname="<replaceable>name</replaceable>" topicid="<replaceable>id</replaceable>"</tag></synopsis>1161 </refsynopsisdiv>1162 <refparameter xmlns="http://www.w3.org/1999/xhtml">1163 <variablelist>1164 <varlistentry><term>topicname="<replaceable>name</replaceable>"</term>1165 <listitem>1166 <para>Specifies a unique string constant that identifies a help topic</para>1167 </listitem>1168 </varlistentry>1169 <varlistentry><term>topicid="<replaceable>id</replaceable>"</term>1170 <listitem>1171 <para>Specifies a unique integer value for the <literal>topicname</literal> string</para>1172 </listitem>1173 </varlistentry>1174 </variablelist>1175 </refparameter>1176 <refsee xmlns="http://www.w3.org/1999/xhtml" role="tcg">1177 <para><link role="tcg" xlink:href="HtmlHelp.html#HHContextHelp">Context-sensitive help</link></para>1178 </refsee>1179 </doc:pi>1180 1181 1182 1236 </xsl:stylesheet>
Note:
See TracChangeset
for help on using the changeset viewer.