OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Subject: DOCBOOK-APPS: Re: <programlisting> in a table cell


>>>>> Steinar Bang <sb@dod.no>:

>>>>> 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.

FYI the table looks like this:

    <informaltable>
      <tgroup cols="2">
	<tbody>
	  <row>
	    <entry><programlisting>subnet 172.21.0.0 netmask 255.255.0.0</programlisting></entry>
	    <entry>This tells the server to use 255.255.0.0 as the
	      netmask on the network 172.21.0.0</entry>
	  </row>
	  <row>
	    <entry><programlisting>option routers 172.21.254.243</programlisting></entry>
	    <entry>This is the default gateway the box should
	      use. (Note: This may not be the same as the gateway used
	      by the linux server if the boxes are on a different subnet
	    </entry>
	  </row>
          ...
	</tbody>
      </tgroup>
    </informaltable>


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [Elist Home]


Powered by eList eXpress LLC