Hi Philippe

pg wrote:
>
> I removed the older non-dev versions, and managed to check that I used 
> indeed the new versions.
>
Are you sure that the new version is beeing used? Can you add a print 
statement to the custom config to check if it really is imported/used?
> Then I modified in the new version the line to become 
> text_align=TA_JUSTIFY
> This was done both in pdfstyles.py AND in customconfig.py.
>
> Unfortunately, the margin justification is still left adjusted... It 
> looks like this text_align var is unused of overwritten elsewhere...
Hmm, this is odd. I tested the text alignment and it works on my machine.
>
> Maybe this ?:
>
> rlwriter.py:        elements = self.renderMixed(cell, 
> text_style(in_table=self.tableNestingLevel, 
> *text_align=*cell.attributes.get('align')))
>
That should not be a problem. Unless everything in your article is 
explicitly aligned left (via css styles - which can only be used if html 
tags are used in the markup. yuck ;) )
Also note that text in tables is explicitly left aligned - you can 
change that if you change the
"table_text_align" variable in your customconfig.py

Hope I could help.

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

Reply via email to