This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: <programlisting> in a table cell
>>>>> Yann Dirson <ydirson@fr.alcove.com>:
> On Wed, Apr 24, 2002 at 02:47:25PM +0200, Steinar Bang wrote:
>> I have an <informaltable> with two columns. The left cell in each
>> row contains a fragment from a configuration file in a
>> <programlisting> element.
>> My problem is that in the formatted PDF, some of the left cells'
>> content is so long that it is writing into the right cell.
> Did you put a "width" attribute on your programlisting ?
Now I have. I have tried setting the width of the programlisting in
an offending cell to the width of a programlisting that doesn't
overwrite its cell (37), and to the actual width of the contents of
the programlisting (47).
But it didn't seem to make any difference.