Kovid -
Just tried converting the book in 0.7.53 and still no luck with the margins. The thing I did notice, though, was that in the job log of the conversion I did not at any point in time see a line like:
'Removing page margins specified in the Adobe page template'
which, if I'm understanding how you've structured the code, should show up somewhere (as per self.log). Of course I could be reading far too much into that, as I haven't really studied the source much at all.
I've tested removing references to page-template.xpgt via the 'Search & Replace' function of the conversion, and that does do the trick for the most part, but something feels kinda 'hackish' about that - I'm not sure what other formatting exists in the .xpgt file and I'm paranoid about annihilating the whole shebang.
Thanks again.
|