Hi,
After Volker's quick reply to my previous question on specifying PDF
size ( http://groups.google.com/group/mwlib/t/b5d8e22147c61d61 ), I
set up mwlib on my own server and it installed smoothly, thanks to
`easy_install`.
I was able to switch $wgCollectionMWServeURL to the new server and
confirmed that it is talking to the new server via the log generated
by mw-serve (specified by `-l` option, I think).
I added a `customconfig.py` file to /usr/lib/python2.5/site-packages/
mwlib.rl-0.8.2-py2.5.egg/mwlib/rl/ directory with the following
content:
#! /usr/bin/env python
#! -*- coding:utf-8 -*-
from reportlab.lib.units import cm, inch
new_size = (8*inch, 10*inch)
######### PAGE CONFIGURATION
pageMarginHor = 2 * cm
pageMarginVert= 2 * cm
pageWidth, pageHeight = new_size
printWidth = pageWidth - 2*pageMarginHor
printHeight = pageHeight - 2*pageMarginVert
However, the new PDFs being generated are still the same old size. I
even tried hacking `pdfstyles.py` itself but still observed no change.
I'm baffled because it appears to be talking to the right server but
changes are not being reflected.
Is editing the files within an egg the problem?
Would greatly appreciate any help.
Regards,
Swaroop
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---