margin code started. Not yet functional.
changed coordinate system of margin code from reportlab-canvas to poppler-xml.