]> git.evergreen-ils.org Git - working/Evergreen.git/blob - stylesheets/evergreen_docbook_files/docbook-xsl-1.75.2/params/writing.mode.xml
Capitalized the start of a sentence in the bucket section of cataloging.
[working/Evergreen.git] / stylesheets / evergreen_docbook_files / docbook-xsl-1.75.2 / params / writing.mode.xml
1 <refentry xmlns="http://docbook.org/ns/docbook"\r
2           xmlns:xlink="http://www.w3.org/1999/xlink"\r
3           xmlns:xi="http://www.w3.org/2001/XInclude"\r
4           xmlns:src="http://nwalsh.com/xmlns/litprog/fragment"\r
5           xmlns:xsl="http://www.w3.org/1999/XSL/Transform"\r
6           version="5.0" xml:id="writing.mode">\r
7 <refmeta>\r
8 <refentrytitle>writing.mode</refentrytitle>\r
9 <refmiscinfo class="other" otherclass="datatype">string</refmiscinfo>\r
10 </refmeta>\r
11 <refnamediv>\r
12 <refname>writing.mode</refname>\r
13 <refpurpose>Direction of text flow based on locale</refpurpose>\r
14 </refnamediv>\r
15 \r
16 <refsynopsisdiv>\r
17 <src:fragment xml:id="writing.mode.frag">\r
18 <xsl:param name="writing.mode">\r
19   <xsl:call-template name="gentext">\r
20     <xsl:with-param name="key">writing-mode</xsl:with-param>\r
21     <xsl:with-param name="lang">\r
22       <xsl:call-template name="l10n.language">\r
23         <xsl:with-param name="target" select="/*[1]"/>\r
24       </xsl:call-template>\r
25     </xsl:with-param>\r
26   </xsl:call-template>\r
27 </xsl:param>\r
28 </src:fragment>\r
29 </refsynopsisdiv>\r
30 \r
31 <refsection><info><title>Description</title></info>\r
32 \r
33 <para>Sets direction of text flow and text alignment based on locale.\r
34 The value is normally taken from the gentext file for the \r
35 lang attribute of the document's root element, using the \r
36 key name 'writing-mode' to look it up in the gentext file.\r
37 But the param can also be\r
38 set on the command line to override that gentext value.\r
39 </para>\r
40 <para>Accepted values are:\r
41 <variablelist>\r
42   <varlistentry>\r
43     <term>lr-tb</term>\r
44     <listitem>\r
45       <para>Left-to-right text flow in each line, lines stack top to bottom.</para>\r
46     </listitem>\r
47   </varlistentry>\r
48   <varlistentry>\r
49     <term>rl-tb</term>\r
50     <listitem>\r
51       <para>Right-to-left text flow in each line, lines stack top to bottom.</para>\r
52     </listitem>\r
53   </varlistentry>\r
54   <varlistentry>\r
55     <term>tb-rl</term>\r
56     <listitem>\r
57       <para>Top-to-bottom text flow in each vertical line, lines stack right to left.\r
58       Supported by only a few XSL-FO processors. Not supported in HTML output.</para>\r
59     </listitem>\r
60   </varlistentry>\r
61   <varlistentry>\r
62     <term>lr</term>\r
63     <listitem>\r
64       <para>Shorthand for lr-tb.</para>\r
65     </listitem>\r
66   </varlistentry>\r
67   <varlistentry>\r
68     <term>rl</term>\r
69     <listitem>\r
70       <para>Shorthand for rl-tb.</para>\r
71     </listitem>\r
72   </varlistentry>\r
73   <varlistentry>\r
74     <term>tb</term>\r
75     <listitem>\r
76       <para>Shorthand for tb-rl.</para>\r
77     </listitem>\r
78   </varlistentry>\r
79 </variablelist>\r
80 </para>\r
81 \r
82 </refsection>\r
83 </refentry>\r