[xml/sgml-pkgs] Bug#354219: xmlto: long lines without white space are not wrapped
Daniel Leidert
daniel.leidert at wgdd.de
Sun Jan 13 22:06:47 UTC 2008
Hello,
Mikko Rapeli wrote:
[..]
> Long lines without white space are not wrapped, so PDF and PS files are
> missing everything thats gone past the width. I ran to this issue when
> xinclude-attaching XML files with long continous settings without
> white space, but long lines within the DocBook document seem to just run
> out of space too.
>
> There must be a simple fix for this within the DocBook/XML toolchain,
> but I didn't find it. Since txt and html output is not affected, perhaps
> this is a bug in the /usr/share/xmlto/format/fo/* scripts.
>
> To reproduce, convert attached DocBook XML file to pdf with xmlto and
> see how the lines don't wrap.
Hm, processing it with docbook-xsl to FO and then with FOP I get:
> 13.01.2008 22:59:07 org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBreakingAlgorithm updateData2
> WARNUNG: Line 1 of a paragraph overflows the available area. (fo:block, location: 533/102)
So maybe this problem needs to be addressed in docbook-xsl. I will talk
to the docbook-xsl guys, what they think about it.
Regards, Daniel
More information about the debian-xml-sgml-pkgs
mailing list