Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-04-2019, 06:08 AM   #1
etrnlflame
Junior Member
etrnlflame began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2018
Device: Kobo Glo HD
Calibre Xpath to start on cover

I'm trying to figure out what to put in the "Start reading at (XPath expressions)" to get my book to start reading at the cover page. Here's the code for the cover page:

<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="calibre:cover" content="true"/>
<title>Cover</title>
<style type="text/css" title="override_css">
@page {padding: 0pt; margin:0pt}
body { text-align: center; padding:0pt; margin: 0pt; }
</style>
</head>
<body>
<div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="100%" height="100%" viewBox="0 0 800 1200" preserveAspectRatio="none">
<image width="800" height="1200" xlink:href="cover.jpeg"/>
</svg>
</div>
</body>
</html>



Thank you!
etrnlflame is offline   Reply With Quote
Old 01-04-2019, 06:51 AM   #2
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 15,877
Karma: 25956868
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo,Aura H2O,Glo HD,Aura ONE,Clara HD,Forma;tolino epos
If this is for your Glo HD, or any Kobo ereader, they don't work that way. For epubs, they start reading at the first entry in the ToC. Adding the cover page to the ToC is what you need to do.

For kepubs, they always start at the beginning of the book.
davidfor is offline   Reply With Quote
Old 01-04-2019, 02:02 PM   #3
etrnlflame
Junior Member
etrnlflame began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Dec 2018
Device: Kobo Glo HD
Quote:
Originally Posted by davidfor View Post
If this is for your Glo HD, or any Kobo ereader, they don't work that way. For epubs, they start reading at the first entry in the ToC. Adding the cover page to the ToC is what you need to do.

For kepubs, they always start at the beginning of the book.

You're great, thanks!
etrnlflame is offline   Reply With Quote
Reply

Tags
calibre, convert, cover, start, xpath

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Start at cover JSWolf Kindle Formats 2 09-04-2016 07:04 AM
Kindle PW / XPath / Open on Cover Maggie-Me Calibre 1 03-17-2013 12:27 PM
Calibre wont start (first time start up) Mike Railton Devices 15 05-25-2012 03:14 AM
Calibre's XPath implementation for TOC detection tram Calibre 11 11-26-2010 05:14 PM
Cover Image for Calibre Quick-Start Guide capidamonte Calibre 3 11-03-2010 08:08 AM


All times are GMT -4. The time now is 07:44 PM.


MobileRead.com is a privately owned, operated and funded community.