diff options
author | Remko Tronçon <git@el-tramo.be> | 2010-03-28 19:43:32 (GMT) |
---|---|---|
committer | Remko Tronçon <git@el-tramo.be> | 2010-03-28 19:44:49 (GMT) |
commit | 3afa4f741c26360245dc313bc368f508b26a6b96 (patch) | |
tree | 4fc9fedac990a099010fed8a4ee09ddc51c21cc5 /3rdParty/DocBook/XSL/params/writing.mode.xml | |
parent | 7548dabae7d10e48816142e508be651ada9f7bc3 (diff) | |
download | swift-contrib-3afa4f741c26360245dc313bc368f508b26a6b96.zip swift-contrib-3afa4f741c26360245dc313bc368f508b26a6b96.tar.bz2 |
Added DocBook infrastructure.
Imported most of "DocBook kit".
Added placeholder for Swiften developers guide.
Diffstat (limited to '3rdParty/DocBook/XSL/params/writing.mode.xml')
-rw-r--r-- | 3rdParty/DocBook/XSL/params/writing.mode.xml | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/3rdParty/DocBook/XSL/params/writing.mode.xml b/3rdParty/DocBook/XSL/params/writing.mode.xml new file mode 100644 index 0000000..c695933 --- /dev/null +++ b/3rdParty/DocBook/XSL/params/writing.mode.xml @@ -0,0 +1,83 @@ +<refentry xmlns="http://docbook.org/ns/docbook" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns:xi="http://www.w3.org/2001/XInclude" + xmlns:src="http://nwalsh.com/xmlns/litprog/fragment" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + version="5.0" xml:id="writing.mode"> +<refmeta> +<refentrytitle>writing.mode</refentrytitle> +<refmiscinfo class="other" otherclass="datatype">string</refmiscinfo> +</refmeta> +<refnamediv> +<refname>writing.mode</refname> +<refpurpose>Direction of text flow based on locale</refpurpose> +</refnamediv> + +<refsynopsisdiv> +<src:fragment xml:id="writing.mode.frag"> +<xsl:param name="writing.mode"> + <xsl:call-template name="gentext"> + <xsl:with-param name="key">writing-mode</xsl:with-param> + <xsl:with-param name="lang"> + <xsl:call-template name="l10n.language"> + <xsl:with-param name="target" select="/*[1]"/> + </xsl:call-template> + </xsl:with-param> + </xsl:call-template> +</xsl:param> +</src:fragment> +</refsynopsisdiv> + +<refsection><info><title>Description</title></info> + +<para>Sets direction of text flow and text alignment based on locale. +The value is normally taken from the gentext file for the +lang attribute of the document's root element, using the +key name 'writing-mode' to look it up in the gentext file. +But the param can also be +set on the command line to override that gentext value. +</para> +<para>Accepted values are: +<variablelist> + <varlistentry> + <term>lr-tb</term> + <listitem> + <para>Left-to-right text flow in each line, lines stack top to bottom.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>rl-tb</term> + <listitem> + <para>Right-to-left text flow in each line, lines stack top to bottom.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>tb-rl</term> + <listitem> + <para>Top-to-bottom text flow in each vertical line, lines stack right to left. + Supported by only a few XSL-FO processors. Not supported in HTML output.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>lr</term> + <listitem> + <para>Shorthand for lr-tb.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>rl</term> + <listitem> + <para>Shorthand for rl-tb.</para> + </listitem> + </varlistentry> + <varlistentry> + <term>tb</term> + <listitem> + <para>Shorthand for tb-rl.</para> + </listitem> + </varlistentry> +</variablelist> +</para> + +</refsection> +</refentry> |