3 <reference><info><title>Common Processing Instruction Reference</title>
4 <releaseinfo role="meta">
5 $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $
8 <partintro xml:id="partintro">
9 <title>Introduction</title>
11 <para>This is generated reference documentation for all
12 user-specifiable processing instructions (PIs) in the
13 “common” part of the DocBook XSL stylesheets.
16 <para>You add these PIs at particular points in a document to
17 cause specific “exceptions” to formatting/output behavior. To
18 make global changes in formatting/output behavior across an
19 entire document, it’s better to do it by setting an
20 appropriate stylesheet parameter (if there is one).</para>
27 <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbchoice_choice">
29 <refname>dbchoice_choice</refname>
30 <refpurpose>Generates a localized choice separator</refpurpose>
34 <synopsis><tag class="xmlpi">dbchoice choice="and"|"or"|<replaceable>string</replaceable>"</tag></synopsis>
37 <refsect1><title>Description</title>
39 <para>Use the <tag class="xmlpi">dbchoice choice</tag> PI to
40 generate an appropriate localized “choice” separator (for
41 example, <literal>and</literal> or <literal>or</literal>)
42 before the final item in an inline <tag>simplelist</tag></para>
46 <para>This PI is a less-than-ideal hack; support for it may
47 disappear in the future (particularly if and when a more
48 appropriate means for marking up "choice" lists becomes
49 available in DocBook).</para>
52 </refsect1><refsect1><title>Parameters</title>
55 <varlistentry><term>choice="and"</term>
58 <para>generates a localized <literal>and</literal> separator</para>
62 <varlistentry><term>choice="or"</term>
65 <para>generates a localized <literal>or</literal> separator</para>
69 <varlistentry><term>choice="<replaceable>string</replaceable>"</term>
72 <para>generates a literal <replaceable>string</replaceable> separator</para>
78 </refsect1></refentry>
80 <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbtimestamp">
82 <refname>dbtimestamp</refname>
83 <refpurpose>Inserts a date timestamp</refpurpose>
87 <synopsis><tag class="xmlpi">dbtimestamp format="<replaceable>formatstring</replaceable>" [padding="0"|"1"]</tag></synopsis>
90 <refsect1><title>Description</title>
92 <para>Use the <tag class="xmlpi">dbtimestamp</tag> PI at any point in a
93 source document to cause a date timestamp (a formatted
94 string representing the current date and time) to be
95 inserted in output of the document.</para>
97 </refsect1><refsect1><title>Parameters</title>
100 <varlistentry><term>format="<replaceable>formatstring</replaceable>"</term>
103 <para>Specifies format in which the date and time are
108 <para>For details of the content of the format string,
109 see <link role="tcg" xlink:href="Datetime.html">Date and time</link>.</para>
114 <varlistentry><term>padding="0"|"1"</term>
117 <para>Specifies padding behavior; if non-zero, padding is is added</para>
123 </refsect1></refentry>
125 <refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbtex_delims">
127 <refname>dbtex_delims</refname>
128 <refpurpose>Generates delimiters around embedded TeX equations
129 in output</refpurpose>
133 <synopsis><tag class="xmlpi">dbtex delims="no"|"yes"</tag></synopsis>
136 <refsect1><title>Description</title>
138 <para>Use the <tag class="xmlpi">dbtex delims</tag> PI as a
139 child of a <tag>textobject</tag> containing embedded TeX
140 markup, to cause that markup to be surrounded by
141 <literal>$</literal> delimiter characters in output.</para>
145 <para>This feature is useful for print/PDF output only if you
146 use the obsolete and now unsupported PassiveTeX XSL-FO
150 </refsect1><refsect1><title>Parameters</title>
153 <varlistentry><term>dbtex delims="no"|"yes"</term>
156 <para>Specifies whether delimiters are output</para>
162 </refsect1><refsect1 role="params"><title>Related Global Parameters</title>
164 <para><parameter>tex.math.delims</parameter></para>
166 </refsect1></refentry>