01-04-2019, 05:08 AM | #1 |
Junior Member
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! |
01-04-2019, 05:51 AM | #2 |
Grand Sorcerer
Posts: 24,906
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
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. |
01-04-2019, 01:02 PM | #3 | |
Junior Member
Posts: 6
Karma: 10
Join Date: Dec 2018
Device: Kobo Glo HD
|
Quote:
You're great, thanks! |
|
Tags |
calibre, convert, cover, start, xpath |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Start at cover | JSWolf | Kindle Formats | 2 | 09-04-2016 06:04 AM |
Kindle PW / XPath / Open on Cover | Maggie-Me | Calibre | 1 | 03-17-2013 11:27 AM |
Calibre wont start (first time start up) | Mike Railton | Devices | 15 | 05-25-2012 02:14 AM |
Calibre's XPath implementation for TOC detection | tram | Calibre | 11 | 11-26-2010 04:14 PM |
Cover Image for Calibre Quick-Start Guide | capidamonte | Calibre | 3 | 11-03-2010 07:08 AM |