This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [docbook-apps] margin notes don't work


What XSL-FO processor are you using?  Side floats are not supported in the
current FOP, if that is what you are using.

Bob Stayton
Sagehill Enterprises
DocBook Consulting
bobs@sagehill.net


----- Original Message ----- 
From: "Marco Baumgartl" <Marco_Baumgartl@yahoo.de>
To: <docbook-apps@lists.oasis-open.org>
Sent: Tuesday, March 01, 2005 6:18 AM
Subject: [docbook-apps] margin notes don't work


> Hi,
>
> 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
> working.
>
> Here is my docbook code (included in a paragraph with a lot of text):
>
> <sidebar>
> <?dbfo float-style="margin.note"?>
> A margin note test.
> </sidebar>
>
> 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
> select="$title.fontset"/></xsl:attribute>
>    <xsl:attribute name="border">0.5pt solid green</xsl:attribute>
>    <xsl:attribute name="padding">3pt</xsl:attribute>
> </xsl:attribute-set>
> <xsl:attribute-set name="margin.note.title.properties">
>    <xsl:attribute name="font-size">9pt</xsl:attribute>
> </xsl:attribute-set>
>
>
> 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
> Marco
>
>
>
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]