OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]

Subject: margin notes don't work


I try around with the new feature "margin notes" - added in docbook-xsl 
(version 1.68.1).

I'm a little bit confused about the things I have to do, to get this 

Here is my docbook code (included in a paragraph with a lot of text):

	<?dbfo float-style="margin.note"?>
	A margin note test.

This is an excerpt of my fo driver file (copied from Bob's new book):

<xsl:import href="docbook-xsl/fo/docbook.xsl"/>

<xsl:output method="xml" indent="yes" />

<!--<xsl:param name="axf.extensions" select="1"></xsl:param>-->
<xsl:param name="xep.extensions" select="1"></xsl:param>
<xsl:param name="draft.mode" select="'no'" />

<!-- page-layout -->
<xsl:param name="paper.type" select="'A4'" />
<xsl:param name="body.margin.top" select="'2cm'" />
<xsl:param name="body.margin.bottom" select="'2cm'" />

<xsl:param name="body.font.family" select="'Helvetica'" />

<xsl:param name="body.start.indent">30mm</xsl:param>
<xsl:param name="margin.note.float.type">start</xsl:param>
<xsl:param name="margin.note.width">27mm</xsl:param>
<xsl:attribute-set name="margin.note.properties">
   <xsl:attribute name="font-size">8pt</xsl:attribute>
   <xsl:attribute name="font-family"><xsl:value-of 
   <xsl:attribute name="border">0.5pt solid green</xsl:attribute>
   <xsl:attribute name="padding">3pt</xsl:attribute>
<xsl:attribute-set name="margin.note.title.properties">
   <xsl:attribute name="font-size">9pt</xsl:attribute>

When I process the created fo file, the margin note is in a gray box 
inside the text and not beside it - as I expected it.

Where is my mistake?

sincerely yours

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]