source: stylesheets/lfs-xsl/docbook-xsl-1.78.1/params/qanda.defaultlabel.xml@ 67f507c

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 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/mips64el xry111/pip3 xry111/rust-wip-20221008 xry111/update-glibc
Last change on this file since 67f507c was 15c7d39, checked in by Matthew Burgess <matthew@…>, 11 years ago

Update stylesheets to docbook-xsl-1.78.1.

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

  • Property mode set to 100644
File size: 2.9 KB
Line 
1<refentry xmlns="http://docbook.org/ns/docbook"
2 xmlns:xlink="http://www.w3.org/1999/xlink"
3 xmlns:xi="http://www.w3.org/2001/XInclude"
4 xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"
5 xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
6 version="5.0" xml:id="qanda.defaultlabel">
7<refmeta>
8<refentrytitle>qanda.defaultlabel</refentrytitle>
9<refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
10<refmiscinfo class="other" otherclass="value">number</refmiscinfo>
11<refmiscinfo class="other" otherclass="value">qanda</refmiscinfo>
12<refmiscinfo class="other" otherclass="value">none</refmiscinfo>
13</refmeta>
14<refnamediv>
15<refname>qanda.defaultlabel</refname>
16<refpurpose>Sets the default for defaultlabel on QandASet.</refpurpose>
17</refnamediv>
18
19<refsynopsisdiv>
20<src:fragment xml:id="qanda.defaultlabel.frag">
21<xsl:param name="qanda.defaultlabel">number</xsl:param>
22</src:fragment>
23</refsynopsisdiv>
24
25<refsection><info><title>Description</title></info>
26
27<para>If no <literal>defaultlabel</literal> attribute is specified on
28a <tag>qandaset</tag>, this value is used. It is generally one of the legal
29values for the defaultlabel attribute (<literal>none</literal>,
30<literal>number</literal> or
31<literal>qanda</literal>), or one of the additional stylesheet-specific values
32(<literal>qnumber</literal> or <literal>qnumberanda</literal>).
33The default value is 'number'.
34</para>
35<para>The values are rendered as follows:</para>
36<variablelist>
37<varlistentry><term><literal>qanda</literal></term>
38<listitem>
39<para><tag>question</tag>s are labeled "Q:" and
40<tag>answer</tag>s are labeled "A:". </para>
41</listitem>
42</varlistentry>
43
44<varlistentry><term><literal>number</literal></term>
45<listitem>
46<para>The questions are enumerated and the answers
47are not labeled. </para>
48</listitem>
49</varlistentry>
50
51<varlistentry><term><literal>qnumber</literal></term>
52<listitem>
53<para>The questions are labeled "Q:" followed by a number, and answers are not
54labeled.
55When sections are numbered, adding a label
56to the number distinguishes the question numbers
57from the section numbers.
58This value is not allowed in the
59<tag class="attribute">defaultlabel</tag> attribute
60of a <tag>qandaset</tag> element.</para>
61</listitem>
62</varlistentry>
63
64<varlistentry><term><literal>qnumberanda</literal></term>
65<listitem>
66<para>The questions are labeled "Q:" followed by a number, and
67the answers are labeled "A:".
68When sections are numbered, adding a label
69to the number distinguishes the question numbers
70from the section numbers.
71This value is not allowed in the
72<tag class="attribute">defaultlabel</tag> attribute
73of a <tag>qandaset</tag> element.</para>
74</listitem>
75</varlistentry>
76
77<varlistentry><term><literal>none</literal></term>
78<listitem>
79<para>No distinguishing label precedes Questions or Answers.
80</para>
81</listitem>
82</varlistentry>
83</variablelist>
84
85</refsection>
86</refentry>
Note: See TracBrowser for help on using the repository browser.