![]() |
#1 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Nov 2010
Device: as many as possible
|
newbie needs to make epub to pasa epubchecker
hi, i have 60 html files with lots of images (500). there are close to being valid xhtml1.1. i have been using mobi creator to make a prc. i was using sigil to make an epub but sigil is loosing most of my diagrams now.
so, i tried calibre. i imported the opf and tried to convert to epub. calibre complains about no suitable source format. i imported the prc made by mobi and converted it to an epub. running epubcheck on this get a bazillion errors (as epected). most of these are my problem, but some seem to come from calibre due to style being added and the files being split up. used the command line from prc to a directory. makes one big html file and gets lots of style errors from the conversion process (some may be mine). is there a way to stop the addition of style? is there a way to keep the original html files? would another program be easier to make an epub from xhtml 1.1 files? thanks Last edited by Ray Tayek; 11-19-2010 at 07:06 AM. Reason: discovered a few things. |
![]() |
![]() |
![]() |
#2 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Nov 2010
Device: as many as possible
|
newbie needs to make epub to pasa epubchecker
i managed to get rid of all of my problems (i think). i get warnings from the comversion and also from epubcheck (please see below).
the ul and li warnings (from epubcheck) are because i don't have a toc and calibre is trying to make one (i think). is there any way to keep calibre from adding style and splitting? thanks warnings from conversion: 1% Converting input to HTML... InputFormatPlugin: MOBI Input running on C:\Documents and Settings\bobt\workspace\rjtdata\books\book2\mobi2. prc Parsing all content... Forcing mobi2x.html into XHTML namespace 34% Running transforms on ebook... Merging user specified metadata... Detecting structure... Detected chapter: Contemporary Go Match Play, Part I Detected chapter: Contemporary Go Match Play, Part II Detected chapter: Contemporary Go Match Play, Part III Detected chapter: Contemporary Go Match Play, Part IV Detected chapter: Contemporary Go Match Play, Part V Detected chapter: Contemporary Go Match Play, Part VI Detected chapter: Tales of Famous Games of the Twentieth Century, Pa Detected chapter: Tales of Famous Games of the Twentieth Century, Pa Detected chapter: Tales of Famous Games of the Twentieth Century, Pa Detected chapter: Tales of Famous Games of the Twentieth Century, Pa Detected chapter: Go Helps in Combating Senior Dementia, Part I Detected chapter: Part II Flattening CSS and remapping font sizes... Property: Invalid value for "CSS Level 2.1" property: 230 [1:1: width] Property: Invalid value for "CSS Level 2.1" property: 179 [1:13: height] Property: Invalid value for "CSS Level 2.1" property: 309 [1:1: width] Property: Invalid value for "CSS Level 2.1" property: 506 [1:13: height] ... Creating EPUB Output... 67% Creating EPUB Output Looking for large trees in mobi2x.html... No large trees found Split into 164 parts EPUB output written to C:\Documents and Settings\bobt\workspace\rjtdata\books\book2\book2. epub Output saved to C:\Documents and Settings\bobt\workspace\rjtdata\books\book2\book2. epub Archive: book2.epub warnings from epubcheck: Epubcheck Version 1.0.5 ERROR: book2.epub/mobi2x_split_001.html(8): element "ul" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: book2.epub/mobi2x_split_001.html(8): element "ul" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERROR: book2.epub/mobi2x_split_001.html(8): element "ul" from namespace "http://www.w3.org/1999/xhtml" not allowed in this context ERR ... ERROR: book2.epub/mobi2x_split_158.html(10): attribute "times" not allowed at this point; ignored ERROR: book2.epub/mobi2x_split_158.html(10): attribute "new" not allowed at this point; ignored ERROR: book2.epub/mobi2x_split_158.html(10): attribute "roman" not allowed at this point; ignored ERROR: book2.epub/mobi2x_split_158.html(10): attribute "serif" not allowed at this point; ignored ... ERROR: book2.epub/titlepage.xhtml(13): bad value for attribute "preserveAspectRatio" Check finished with warnings or errors! |
![]() |
![]() |
![]() |
#3 |
Enthusiast
![]() Posts: 25
Karma: 10
Join Date: Nov 2010
Device: as many as possible
|
i managed to pass epubcheck and flight crew.
the following worked for me: use mobi, add html files make a toc using mobi, copy it, convert to utf-8 (be careful), make it valid html, remove old toc and add in new toc. make a prc stick prc into calibre, convert to epub, unzip run kindlegen on content.opf edit date in content.opf (remove time) zip it back up and run through epubcheck and flightcrew. thanks |
![]() |
![]() |
![]() |
Tags |
epub, epubcheck, prc, style, xhtml 1.1 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
PRS-505 Any way to make epub files look more like LRF? | rahulm | Sony Reader | 27 | 06-06-2011 06:50 PM |
An expensive (newbie) mistake to make | BooksOnBowser | Sony Reader | 6 | 06-21-2010 02:22 PM |
Newbie Question: Make library organize with author last name first | hawt | Calibre | 8 | 01-24-2010 01:25 PM |
How to make ePub encrypted? | bhuvana786 | ePub | 19 | 10-19-2009 11:18 AM |
Newbie can't make up my mind | Tommo43 | Which one should I buy? | 3 | 08-08-2008 09:58 AM |