02-03-2012, 06:26 AM | #1 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
Problem converting O'Reilly ebook
Hi,
I purchased a (DRM free) O'Reilly ePub ebook and loaded it to my PRS-T1. Unfortunately, they were using something like a 20pt font and I wasnt able to change the font size on device. So I decided to convert the book with Calibre: epub to epub, input format default, output format Sony. And in fact, that solved the font problem. But now, if I am on the last page of a chapter, I am not able to advance to the next chapter (neither via touch screen nor buttons). Does anyone know who to change the conversion parameters to fix that? As a workaround I changed the CSS of the original ebook to use relative font sizes, but I really would like to know why the conversion failed. Regards. |
02-11-2012, 03:46 AM | #2 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
Any idea how to fix the conversion?
|
02-11-2012, 10:48 AM | #3 |
Well trained by Cats
Posts: 29,754
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
02-18-2012, 07:08 AM | #4 |
Junior Member
Posts: 3
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
I looked into toc.ncx and didn't found a problem. 'playOrder' is starting form 0 instead from 1. The pages got 'OEBPS/' prepended. Otherwise it looks similar to the original.
Code:
<?xml version='1.0' encoding='utf-8'?> <ncx xmlns="http://www.daisy.org/z3986/2005/ncx/" version="2005-1" xml:lang="eng"> <head> <meta content="402317b9-5850-4799-8854-5da2e78b0ebc" name="dtb:uid"/> <meta content="5" name="dtb:depth"/> <meta content="calibre (0.8.40)" name="dtb:generator"/> <meta content="0" name="dtb:totalPageCount"/> <meta content="0" name="dtb:maxPageNumber"/> </head> <docTitle> <text>JavaScript: The Good Parts</text> </docTitle> <navMap> <navPoint class="cover" id="cover" playOrder="0"> <navLabel> <text>Cover Page</text> </navLabel> <content src="OEBPS/cover.html"/> </navPoint> <navPoint class="chapter" id="id2360691" playOrder="1"> <navLabel> <text>JavaScript: The Good Parts</text> </navLabel> <content src="OEBPS/index.html"/> <navPoint class="chapter" id="id2260044" playOrder="2"> <navLabel> <text>SPECIAL OFFER: Upgrade this ebook with O’Reilly</text> </navLabel> <content src="OEBPS/upgrade_offer_front.html"/> </navPoint> <navPoint class="chapter" id="id2440873" playOrder="3"> <navLabel> <text>A Note Regarding Supplemental Files</text> </navLabel> <content src="OEBPS/examples_page.html"/> </navPoint> |
02-18-2012, 09:29 AM | #5 |
Well trained by Cats
Posts: 29,754
Karma: 54401244
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Someone else pointed out my error in thinking that only the NCX controlled order.
in the content.opf the spine section comes into play Code:
<spine toc="ncx"> <itemref idref="titlepage.xhtml"/> <itemref idref="books.html"/> <itemref idref="copy.xhtml"/> <itemref idref="map1.xhtml"/> <itemref idref="map2.html"/> <itemref idref="map3.html"/> <itemref idref="pro.html"/> <itemref idref="p01.html"/> <itemref idref="c01.html"/> </spine> |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
O'Reilly: 50% off Javascript eBooks till 14.06.22, also half price eBook every day | Cyberman tM | Deals and Resources (No Self-Promotion or Affiliate Links) | 0 | 06-07-2011 10:11 AM |
Problem with covers converting from ePub to MOBI using ebook-convert | Diego | Conversion | 6 | 06-01-2011 02:18 PM |
Your choice ebook for $9.99 today (5/21) at O'Reilly | bgalbrecht | Deals and Resources (No Self-Promotion or Affiliate Links) | 24 | 05-24-2010 05:26 PM |
Problem converting an Ebook | thafrogggg | Calibre | 4 | 10-09-2009 01:06 PM |
O'Reilly Ebook Survey with a chance to win $200 worth of their ebooks | daffy4u | News | 3 | 09-12-2009 04:55 PM |