[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: <code> breaking (or not)
For a two-column table with one column containing <code> containing rather long Java-style property names and the other column containing their explanations (example below), the stock DocBook PDF stylesheets in oXygen 13.2 result in the text in the <code> not breaking, such that the text overflows into the next column. The only exceptions that I have seen is that when the example property value contains a URL, the <code> may split in the URL portion after a '/' (even when $ulink.hyphenate is not set). Is there a way to get the content of <code> to be able to break after '.' using the FO stylesheets? Regards, Tony Graham tgraham@mentea.net Consultant http://www.mentea.net Mentea 13 Kelly's Bay Beach, Skerries, Co. Dublin, Ireland -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- XML, XSL-FO and XSLT consulting, training and programming <article xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0"> <title><tag>code</tag> Breaking</title> <informaltable frame="all"> <tgroup cols="2"> <colspec colname="c1" colnum="1"/> <colspec colname="c2" colnum="2"/> <tbody> <row> <entry><code>there.was.movement.at.the.station=4</code></entry> <entry>The word had passed around</entry> </row> <row> <entry><code>old.Regret.colt.worth.pounds=1000</code></entry> <entry>So all the cracks had gathered to the fray </entry> </row> </tbody> </tgroup> </informaltable> </article>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]