pi.xml 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  1. <?xml version="1.0"?>
  2. <reference><info><title>Common Processing Instruction Reference</title>
  3. <releaseinfo role="meta">
  4. $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $
  5. </releaseinfo>
  6. </info>
  7. <partintro xml:id="partintro">
  8. <title>Introduction</title>
  9. <para>This is generated reference documentation for all
  10. user-specifiable processing instructions (PIs) in the
  11. “common” part of the DocBook XSL stylesheets.
  12. <note>
  13. <para>You add these PIs at particular points in a document to
  14. cause specific “exceptions” to formatting/output behavior. To
  15. make global changes in formatting/output behavior across an
  16. entire document, it’s better to do it by setting an
  17. appropriate stylesheet parameter (if there is one).</para>
  18. </note>
  19. </para>
  20. </partintro>
  21. <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbchoice_choice">
  22. <refnamediv>
  23. <refname>dbchoice_choice</refname>
  24. <refpurpose>Generates a localized choice separator</refpurpose>
  25. </refnamediv>
  26. <refsynopsisdiv>
  27. <synopsis><tag class="xmlpi">dbchoice choice="and"|"or"|<replaceable>string</replaceable>"</tag></synopsis>
  28. </refsynopsisdiv>
  29. <refsect1><title>Description</title>
  30. <para>Use the <tag class="xmlpi">dbchoice choice</tag> PI to
  31. generate an appropriate localized “choice” separator (for
  32. example, <literal>and</literal> or <literal>or</literal>)
  33. before the final item in an inline <tag>simplelist</tag></para>
  34. <warning>
  35. <para>This PI is a less-than-ideal hack; support for it may
  36. disappear in the future (particularly if and when a more
  37. appropriate means for marking up "choice" lists becomes
  38. available in DocBook).</para>
  39. </warning>
  40. </refsect1><refsect1><title>Parameters</title>
  41. <variablelist>
  42. <varlistentry><term>choice="and"</term>
  43. <listitem>
  44. <para>generates a localized <literal>and</literal> separator</para>
  45. </listitem>
  46. </varlistentry>
  47. <varlistentry><term>choice="or"</term>
  48. <listitem>
  49. <para>generates a localized <literal>or</literal> separator</para>
  50. </listitem>
  51. </varlistentry>
  52. <varlistentry><term>choice="<replaceable>string</replaceable>"</term>
  53. <listitem>
  54. <para>generates a literal <replaceable>string</replaceable> separator</para>
  55. </listitem>
  56. </varlistentry>
  57. </variablelist>
  58. </refsect1></refentry>
  59. <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbtimestamp">
  60. <refnamediv>
  61. <refname>dbtimestamp</refname>
  62. <refpurpose>Inserts a date timestamp</refpurpose>
  63. </refnamediv>
  64. <refsynopsisdiv>
  65. <synopsis><tag class="xmlpi">dbtimestamp format="<replaceable>formatstring</replaceable>" [padding="0"|"1"]</tag></synopsis>
  66. </refsynopsisdiv>
  67. <refsect1><title>Description</title>
  68. <para>Use the <tag class="xmlpi">dbtimestamp</tag> PI at any point in a
  69. source document to cause a date timestamp (a formatted
  70. string representing the current date and time) to be
  71. inserted in output of the document.</para>
  72. </refsect1><refsect1><title>Parameters</title>
  73. <variablelist>
  74. <varlistentry><term>format="<replaceable>formatstring</replaceable>"</term>
  75. <listitem>
  76. <para>Specifies format in which the date and time are
  77. output</para>
  78. <note>
  79. <para>For details of the content of the format string,
  80. see <link role="tcg" xlink:href="Datetime.html">Date and time</link>.</para>
  81. </note>
  82. </listitem>
  83. </varlistentry>
  84. <varlistentry><term>padding="0"|"1"</term>
  85. <listitem>
  86. <para>Specifies padding behavior; if non-zero, padding is is added</para>
  87. </listitem>
  88. </varlistentry>
  89. </variablelist>
  90. </refsect1></refentry>
  91. <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbtex_delims">
  92. <refnamediv>
  93. <refname>dbtex_delims</refname>
  94. <refpurpose>Generates delimiters around embedded TeX equations
  95. in output</refpurpose>
  96. </refnamediv>
  97. <refsynopsisdiv>
  98. <synopsis><tag class="xmlpi">dbtex delims="no"|"yes"</tag></synopsis>
  99. </refsynopsisdiv>
  100. <refsect1><title>Description</title>
  101. <para>Use the <tag class="xmlpi">dbtex delims</tag> PI as a
  102. child of a <tag>textobject</tag> containing embedded TeX
  103. markup, to cause that markup to be surrounded by
  104. <literal>$</literal> delimiter characters in output.</para>
  105. <warning>
  106. <para>This feature is useful for print/PDF output only if you
  107. use the obsolete and now unsupported PassiveTeX XSL-FO
  108. engine.</para>
  109. </warning>
  110. </refsect1><refsect1><title>Parameters</title>
  111. <variablelist>
  112. <varlistentry><term>dbtex delims="no"|"yes"</term>
  113. <listitem>
  114. <para>Specifies whether delimiters are output</para>
  115. </listitem>
  116. </varlistentry>
  117. </variablelist>
  118. </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
  119. <para><parameter>tex.math.delims</parameter></para>
  120. </refsect1></refentry>
  121. </reference>