Page 1 of 1

Dynamic Table Width in PDF

Posted: Sat Feb 15, 2014 1:26 am
by cbgarcia
How do I make keep the table of width dynamic in PDF using the setting below in the table:

<colspec colname="c1" colnum="1" colwidth="1.0*"/>
<colspec colname="c2" colnum="2" colwidth="1.0*"/>

The table in the webhelp output using the above setting works perfectly.

Thank you.

Re: Dynamic Table Width in PDF

Posted: Mon Feb 17, 2014 5:51 pm
by sorin_ristache
Hello,

Adding the attribute table/@pgwide=0 should be enough for marking a dynamic table but unfortunately the PDF output does not honor this attribute. You will need to customize the XSLT part of the DITA PDF transformation as described in this post.


Regards,
Sorin