Quote:
Originally Posted by treadlightly
I downloaded a fresh epub file and used Modify Epub and checked "Remove margins from Adobe .xpgt files" which had the desired effect, but that plugin does create a backup epub. I'd really like to learn to use Sigil to do this.
|
Assuming that the epub is not DRMed, I tend to do the following when I get a new epub file.
Using Sigil, I do a search for lines similar to "
<link href="../Misc/page-template.xpgt" rel="stylesheet" type="application/adobe-page-template+xml" />" and replace it with nothing. Then I open the Misc container and delete the xpgt file.
I check the contents of the page_styles.css file. If it is simply setting top and bottom margins, repeat the above for the lines referencing the page_styles.css and delete that file from the Styles container.
I then do quite a bit of cleanup on the stylesheet css file pretty much replacing it's contents with my personalized one. This is not always needed depending on how the epub looks but the search and replace takes about 15-20 minutes on the average.
The only epub where I found the page-template.xpgt of use was also the only epub I've seen that used double columns.
Regards,
David