Hi Bjoern Bjoern wrote: > Hi all, > > There's an example for a table here: > http://www.sciencemedianetwork.org/wiki/Collection/tables > > When this table is printed, spurious <tr> are inserted. > > It has quite a large cell, which may be something to do with this > problem: When the cells are more reasonably sized, the problem doesn't > occur. > > Your assumption is correct. The "treecleaner" module tries to identify problematic markup/nodes and converts them to something less problematic.
If you run mw-render with the debug option (when rendering PDFs) the reports from the treecleaner module are printed: mw-render -w rl -o test.pdf -c http://www.sciencemedianetwork.org/wiki_source -W debug 'Collection/tables' output: ... ('transformSingleColTables', "'replaced single col table with div. div children:' [Node, Paragraph tagname='p', Div '': 7 children]") ('splitBigTableCells', "'replacing child' Row tagname='tr' [Row tagname='tr', Row tagname='tr', Row tagname='tr']") ... The output is used for debugging purposes. Regards, Volker -- volker haas brainbot technologies ag fon +49 6131 2116394 boppstraße 64 fax +49 6131 2116392 55118 mainz [email protected] http://www.brainbot.com/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mwlib" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mwlib?hl=en -~----------~----~----~----~------~----~------~--~---
