]> git.stg.codes - stg.git/blob - doc/xslt/params/root.properties.xml
Infer DST from the current locale for mktime.
[stg.git] / doc / xslt / params / root.properties.xml
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="root.properties">
7 <refmeta>
8 <refentrytitle>root.properties</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">attribute set</refmiscinfo>
10 </refmeta>
11 <refnamediv>
12 <refname>root.properties</refname>
13 <refpurpose>The properties of the fo:root element</refpurpose>
14 </refnamediv>
15
16 <refsynopsisdiv>
17 <src:fragment xml:id="root.properties.frag">
18 <xsl:attribute-set name="root.properties">
19   <xsl:attribute name="font-family">
20     <xsl:value-of select="$body.fontset"/>
21   </xsl:attribute>
22   <xsl:attribute name="font-size">
23     <xsl:value-of select="$body.font.size"/>
24   </xsl:attribute>
25   <xsl:attribute name="text-align">
26     <xsl:value-of select="$alignment"/>
27   </xsl:attribute>
28   <xsl:attribute name="line-height">
29     <xsl:value-of select="$line-height"/>
30   </xsl:attribute>
31   <xsl:attribute name="font-selection-strategy">character-by-character</xsl:attribute>
32   <xsl:attribute name="line-height-shift-adjustment">disregard-shifts</xsl:attribute>
33   <xsl:attribute name="writing-mode">
34     <xsl:value-of select="$direction.mode"/>
35   </xsl:attribute>
36 </xsl:attribute-set>
37 </src:fragment>
38 </refsynopsisdiv>
39
40 <refsection><info><title>Description</title></info>
41
42 <para>This property set is used on the <tag>fo:root</tag> element of
43 an FO file. It defines a set of default, global parameters.</para>
44
45 </refsection>
46 </refentry>