View Single Post
Old 12-25-2018, 05:28 PM   #2
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,195
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by Tom11880 View Post
Hi,

I'm using Calibre for quite some time now, but recently the publisher of a series changed something inside content.opf.

Now, when converting .epup from this particular publisher to -mobi format for my Kindle Paperwhite, the ebook initially opens on the last page.

I tracked this down to the following line inside content.opf:

Code:
<reference type="text" title="Beginning" href="001.html#a0"/>
As soon as I change the title from "Beginning" to "Start", the ebook opens at the first page.

The question now is, can I automate this substitution when importing the .epub file into Calibre? (And if yes, how?)

thanks for any hint how to achieve this.
Thomas
See screenshot.
Click image for larger version

Name:	Screenshot from 2018-12-25 17-26-23.png
Views:	277
Size:	122.4 KB
ID:	168617

To find the start location I use the search and replace regex builder to look inside to find the start point.
Click image for larger version

Name:	Screenshot from 2018-12-25 17-33-57.png
Views:	219
Size:	92.8 KB
ID:	168619
bernie

Last edited by gbm; 12-25-2018 at 05:36 PM.
gbm is offline   Reply With Quote