From: SourceForge.net <no...@so...> - 2007-06-30 12:11:35
|
Bugs item #1711508, was opened at 2007-05-02 22:46 Message generated for change (Comment added) made by mzjn You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1711508&group_id=21935 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: XSL Group: output: print/FO/PDF >Status: Pending >Resolution: Fixed Priority: 5 Private: No Submitted By: Ken Morse (kenmorse) Assigned to: Nobody/Anonymous (nobody) Summary: Error with simplelist in XSL FO/lists.xsl (1.72.0) Initial Comment: I'm seeing a problem where a vertical simplelist doesn't appear to be formatted correctly for FOP 0.93: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"> <book> <chapter id="ch1"> <title>simplelist</title> <simplelist type="vert" columns="1"> <member>List item 1</member> <member>List item 2</member> <member>List item 3</member> </simplelist> </chapter> </book> I run the commands: xsltproc --stringparam fop1.extensions 1 --stringparam hyphenate false --output testsimplelist.fo xsl\1.72.0\fo\docbook.xsl testsimplelist.xml tools\fop\fop.bat -fo testsimplelist.fo -pdf testsimplelist.pdf and get the output: May 2, 2007 9:05:10 AM org.apache.fop.fo.FONode attributeWarning WARNING: Warning(2/48408): fo:table, table-layout="auto" is currently not supported by FOP May 2, 2007 9:05:10 AM org.apache.fop.fo.PropertyList convertAttributeToProperty SEVERE: Ignoring property: column-width="proportional-column-width(1)" (file:///C:/DocBook/testsimplelist.fo:2:48408: proportional-column-width() function may only be used when fo:table has table-layout="fixed".; property:'column-width') I was able to fix this by copying the appropriate portion of the template from the horizontal simplelist. I've attached the updated file with the changes. ---------------------------------------------------------------------- Comment By: Mauritz Jeanson (mzjn) Date: 2007-06-30 14:11 Message: Logged In: YES user_id=582041 Originator: NO A fix for this issue has been added to the current codebase. Please test the fix with the latest snapshot from: http://docbook.sourceforge.net/snapshots/ ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=373747&aid=1711508&group_id=21935 |