Quote:
Originally Posted by ldolse
If you want no margins in @page or body, then set your calibre preferences under 'page setup' in common conversion options to have all the margins zero - this will cause the plugin to work exactly as the initial implementation I posted did - any margins in @page or body will simply be deleted.
Otherwise, the plugin will delete all existing margins in body or @page, and then replaces them with the pt based margins specified in Calbre's preferences. It only puts the new margin settings in @page, so all margins set on body are always removed.
|
Would there be a downside to injecting an @page even when all margins are set to 0pt?
Here's my logic *cough* ....
I'd like to search for epubs with @page and/or body margins -- those being 'good' candidates for this mod. That eliminates all the Calibre conversions and many bespoke epubs, with which this doesn't play nicely.
But if I set the margins to 0, and the margins are all deleted, I will no longer recognize those epubs as being good candidates for resetting margins.
I think I might be overlooking a simpler approach