Hi Andrew,
I assume that the problem is that the "treecleaner" module removes 
one-cell tables only keeping the content. This is done for a reason: 
neither in latex (printed box) nor in reportlab (mwlib.rl / downloadable 
pdf) is it possible for a single table cell to span multiple pages - the 
pdf can not be generated in that case. --> The table that might have 
been used solely to get a border around some text is removed and the 
border is not drawn. I can try to add some heuristic to the code which 
tries to guess if the single cell table fits on a single page. In that 
case the table (and the border) would be preserved. I have added a 
ticket for the above issue (http://code.pediapress.com/wiki/ticket/346)

Do the templates you have in mind generate single-cell-tables? If that 
is not the case, could you provide links to the templates or tell me by 
which means you achieve the border in mediawiki markup (div with css 
style maybe?)

Regards,
Volker


Andrew Whitworth wrote:
> I have a few templates on Wikibooks that are designed to show some
> text with a border around it or with a different background color, to
> set it apart from the rest of the text. This is used for Examples,
> Questions, Sidenotes, Vignettes, etc. None of the templates we have
> now seem to generate borders/background colors in generated PDF files
> or printed books. Is there a way to offset text like this from normal
> paragraph text? If not, can one be added?
>
> --Andrew Whitworth
>
> >
>   

-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to