Recent Changes
Recent Changes · Search:
 
Summary
Table cell with align=xxx causes PDF-ing to fail
Type
Bug
Raised by
Nigel Thomas
Date opened
Wednesday, 3 December 2008
Description
Simplest case:
(:table width=50% border=1:)
(:cellnr align=center:)My text
(:tableend:)
My text

(see http://www.preferisco.com/docwiki/pmwiki.php?n=EIP.TableTest).

XML generated:

36: <tabular preamble='l' class='advanced' style='1'><tabbody><row><cell  align='center'><group class="cell" width="0.964"><p>My text</p>
37: </group></cell></row></tabbody></tabular>

Causes a texerror - in LATEX:

Runaway argument?
{{\small \begin {minipage}[t]{0.964\linewidth } {\raggedright \setlength \ETC.
! Paragraph ended before \multicolumn was complete.
<to be read again> 
                   \par 
l.91 

? 
! Emergency stop.
<to be read again> 
                   \par 
l.91 

No pages of output.

NOTE - change align=center to valign=top and it all works fine.

My version of wikipublisher is 2.2.0.7

Importance
4
Proposed solution
Support for the align attribute will be added in the next release. In the mean time, use simple tables, where align options work as expected. See Examples.Advanced Table which shows a test version with this additional feature working correctly.
Urgency
3
Status
Closed
Resolution
Support for align attribute added in Publish PDF version 2.2.8 — see Thursday, 1 January 2009.
Date closed
Thursday, 1 January 2009

« 00129 · Edit Form · 00131 »

Page last modified on 01 January 2009 at 12:49 PM