View Single Post
Old 05-02-2011, 05:58 PM   #134
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,252
Karma: 16544692
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by kiwidude View Post
Is there any reason not to offer an option to just remove these files from the ePub?
None at all, but it would be a lot less coding effort to leave the .xpgt in place but "neutralise" its margins and I believe this is what the current calibre convert does.

If you want to surgically remove the .xpgt I think you would need to:
  • Find the .xpgt and delete it.
  • Remove the reference to it in the .opf manifest.
  • Remove the <link> reference to it in every html file.

I guess the decision is yours
jackie_w is offline   Reply With Quote