From: Michael Smith Date: Sat, 11 Mar 2006 19:25:49 +0000 (+0000) Subject: Segmentedlist output, adjusted width of table cells. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=858d3080aba30077e73d1d2b1786d2e767e64ae7;p=docbook-dsssl Segmentedlist output, adjusted width of table cells. Problem:: Content of table cells in segmentedlist output wraps even when there's still plenty of room left for text on the current line. Cause:: Behavior described is by design in tbl(1). It effectively sets the maximum width of cells to 1/3 of the current line length. Not sure why... Fix:: Added called to .ll request that causes line length to temporarily be increased to 1.62 times the current line length before table output of each segmentedlist, then restore it back to previous width after output of the table markup. I suppose there are probably some cases where that will produce some undesirable results. But for now, it gives good output for all test cases I've tried. --- diff --git a/xsl/manpages/lists.xsl b/xsl/manpages/lists.xsl index 5d0d6204a..9fc18faef 100644 --- a/xsl/manpages/lists.xsl +++ b/xsl/manpages/lists.xsl @@ -222,6 +222,8 @@ + .\" line length increase to cope w/ tbl weirdness + .ll +(\n(LLu * 62u / 100u) .TS @@ -246,6 +248,8 @@ .TE + .\" line length decrease back to previous value + .ll -(\n(LLu * 62u / 100u) .sp