Why are tables always formatted "proportional" in FOP/PDF

Posts: 36
Location: Rotterdam, the Netherlands

Why are tables always formatted "proportional" in FOP/PDF

Sun Mar 18, 2012 7:22 pm

The DITA editor allows to insert proportional and fixed tables into the document. A propotional table only specifies the relative column widths with multiplication factors 1.0* 1.0* 2.0* etc. The table stretches the body region and the columns get widths relative to their weight. FINE.
But when you insert a table with fixed columns 75pt 75pt 75pt the resulting table still stretches the width of the body region. The columns do not get their exact widths. NOT OK.

Looking at fo/xsl/fo/tables_1.0.xsl There seems to be a parameter that selects the mode <xsl:when test="$tableSpecNonProportional = 'true'">.

How do you set this parameter for an individual table? Some tables should be proportional, some fixed... How do you get fixed tables in DITA-OT?
Kind Regards,
Reinier Kleipool,
Course Materials editor,
Open Source Academy
Posts: 5267

Re: Why are tables always formatted "proportional" in FOP/PDF

Mon Mar 19, 2012 12:19 pm


I agree with you.
There is an old bug opened on the DITA OT Bugs List:


I added two comments there about how the issue would be fixed both for PDF and HTML outputs.

Radu Coravu
<oXygen/> XML Editor

Return to “DITA (Editing and Publishing DITA Content)”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests