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: Re: [docbook-apps] margin notes don't work


Bob Stayton wrote:

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

Yes, I know (read in your readme/book). I'm using evaluation versions of
AntennaHouse Formatter and RenderX.

Here is my small test file:

<?xml version="1.0" encoding="ISO-8859-1"?>
<book lang="de">
   <chapter>
     <title>Test</title>
     <para>Text Text Text Text Text Text Text Text Text Text
       <sidebar><?dbfo float-style="margin.note"?>
         This is a margin note test
       </sidebar>
       Text Text Text Text Text Text Text Text Text Text Text
       Text Text Text Text Text Text Text Text Text Text Text
     </para>
   </chapter>
</book>

And this is my driver file (attribute-sets from the book):

<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
version="1.0">

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

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

   <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>
</xsl:stylesheet>

Can anybody please test it and tell me if it works?

Is there anything else that needs to be considered?

regards
Marco




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