I resolves it by myself:

in pagetemplates.ty:

import mwlib.rl.rlwriter



and in the method
 def beforeDrawPage(self,canvas,doc)


change

 p = Paragraph(formatter.cleanText(pagefooter, escape=False), text_style())
 to
 p = Paragraph(formatter.cleanText(mwlib.rl.rlwriter.titleyo, 
escape=False), text_style())

__

titleyo (just appends "yo" cause "title" may exists and overwritten) has to 
declared global in rlwriter.py


in the method
def writeTitlePage(self, coverimage=None):

just write at the beginning
 global titleyo
  titleyo  = self.book.title



its not a very clean solution, but it works for me


Regards,

Thomas




Am Mittwoch, 13. November 2013 16:11:08 UTC+1 schrieb schon stier:
>
> Hey,
>
>
> First:
>
> Thank u for this great Work.
> After a few installation issues, the server works very well and has a lot 
> of configuration settings.
>
> Just one thin i cant figgure out:
>
>
> How can i set the pagefooter to the title of the book?
> I looked in pdfstyles.py and rlwriter.py, but didnt find a solution for 
> that ( but i havent experience in python at all - it was just a try :D)
>
>
> I would be very appreciated of someone could help me out here.
>
>
> Regards,
>
>
> Thomas
>

-- 
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to