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="margin.note.float.type">
8 <refentrytitle>margin.note.float.type</refentrytitle>
9 <refmiscinfo class="other" otherclass="datatype">list</refmiscinfo>
10 <refmiscinfo class="other" otherclass="value">none</refmiscinfo>
11 <refmiscinfo class="other" otherclass="value">before</refmiscinfo>
12 <refmiscinfo class="other" otherclass="value">left</refmiscinfo>
13 <refmiscinfo class="other" otherclass="value">start</refmiscinfo>
14 <refmiscinfo class="other" otherclass="value">right</refmiscinfo>
15 <refmiscinfo class="other" otherclass="value">end</refmiscinfo>
16 <refmiscinfo class="other" otherclass="value">inside</refmiscinfo>
17 <refmiscinfo class="other" otherclass="value">outside</refmiscinfo>
20 <refname>margin.note.float.type</refname>
21 <refpurpose>Select type of float for margin note customizations</refpurpose>
25 <src:fragment xml:id="margin.note.float.type.frag">
26 <xsl:param name="margin.note.float.type">none</xsl:param>
30 <refsection><info><title>Description</title></info>
32 <para>Selects the type of float for margin notes.
33 DocBook does not define a margin note element, so this
34 feature must be implemented as a customization of the stylesheet.
35 See <parameter>margin.note.properties</parameter> for
40 <para>If <parameter>margin.note.float.type</parameter> is
41 <quote><literal>none</literal></quote>, then
46 <para>If <parameter>margin.note.float.type</parameter> is
47 <quote><literal>before</literal></quote>, then
48 the float appears at the top of the page. On some processors,
49 that may be the next page rather than the current page.
53 <para>If <parameter>margin.note.float.type</parameter> is
54 <quote><literal>left</literal></quote> or
55 <quote><literal>start</literal></quote>, then
56 a left side float is used.
60 <para>If <parameter>margin.note.float.type</parameter> is
61 <quote><literal>right</literal></quote> or
62 <quote><literal>end</literal></quote>, then
63 a right side float is used.
67 <para>If your XSL-FO processor supports floats positioned on the
68 <quote><literal>inside</literal></quote> or
69 <quote><literal>outside</literal></quote>
70 of double-sided pages, then you have those two
71 options for side floats as well.