[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: screen's width attribute has no effect
Hello All, A <screen> takes up the entire width of a page regardless of the value of width. I am using DocBook 5.0, DocBook XSL NS 1.74.0, xsltproc and fop-0.94 svn 661170 (May 28, 2008). <!-- DocBook 5.0 XML --> <article xmlns="http://docbook.org/ns/docbook" version="5.0"> <title/> <para> <screen width="50"> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </screen> </para> </article> <!-- customisation layer --> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0"> <xsl:import href="PATH/TO/docbook-xsl-ns-1.74.0/fo/docbook.xsl"/> <xsl:attribute-set name="shade.verbatim.style"> <xsl:attribute name="background-color">#E0E0E0</xsl:attribute> <xsl:attribute name="border-width">0.5pt</xsl:attribute> <xsl:attribute name="border-style">solid</xsl:attribute> <xsl:attribute name="border-color">#575757</xsl:attribute> <xsl:attribute name="padding">3pt</xsl:attribute> </xsl:attribute-set> <xsl:attribute-set name="monospace.verbatim.properties"> <xsl:attribute name="wrap-option">wrap</xsl:attribute> </xsl:attribute-set> <xsl:param name="shade.verbatim" select="1"/> </xsl:stylesheet>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]