That is very helpful, but I am not sure how to do this within xxe? I
have highlighted the table or individual cells and see no 'colspec'
listed for the attributes. Do I need to do this manually in the xml
file?

CT 

-----Original Message-----
From: Hussein Shafie [mailto:[email protected]] 
Sent: 22 September 2008 18:20
To: Chris Taylor
Cc: xmleditor-support at xmlmind.com
Subject: Re: [XXE] tables

Chris Taylor wrote:
> 
> I have some tables in my file and have looked through the help, but am

> not able to control the column widths. I want to make the left column 
> about 20% of the window width so that the second column has more room.
> Is there a way to do this? I have tried adjusting the 'width' but this

> does not appear to make any changes, and I would have thought this was

> for the whole table anyway.
> 

> Sorry....I meant to attach and image of the xml with the columns. I 
> want to make the left column narrower to give more space to the text 
> on the right.
> 

Solution #1: Insert a colspec element before the tbody or thead of the
table's tgroup. Specify a value such as "2in" as the value of the
colwidth attribute of the colspec element.

Solution #2: Insert colspec elements before the tbody or thead of the
table's tgroup, one for each column. Select the colspec of the column
you want to make wider and specify something like "4*" as the value of
its colwidth attribute.

See http://www.docbook.org/tdg/en/html/colspec.html



> I also have some 'programlisting' entries that are a little too width 
> for the pdf. The pdf is not wrapping the text around. Is there a 
> setting in the attributes to allwo text wrapping according to width?
> 

Not to my knowledge. I generally wrap text by hand when this happens.

See http://www.docbook.org/tdg/en/html/programlisting.html


This email and any files contained therein is confidential and may contain 
privileged information.  If you are not the named addressee(s) or you have 
otherwise received this in error, you should not distribute or copy this e-mail 
or use any of its content for any purpose. Please notify the sender immediately 
by e-mail if you have received this e-mail in error and delete it from your 
system

Reply via email to