06-26-2008, 11:54 PM | #1 |
Guru
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Book changes formatting in the middle
I have a strange problem with my PRS-505: I scanned a book, then OCRed it and saved the text as HTML. Then I cleaned the HTML and checked it in the browser and validator to make sure no forgotten B or H# tags remain. Everything seemed fine at this point.
Then I converted the book to LRF using Calibre's any2lrf with the following params: Code:
@echo off setlocal set book=book.htm set title=Book set author=Book Author set authorsort=Author Book set chaptertags=h[23] set metadata=-t "%title%" -a "%author%" --author-sort="%authorsort%" --header --cover=small.jpg set chapters=--chapter-regex=^ --force-page-break-before-tag=%chaptertags% d:\progs\libprs500\any2lrf.exe %metadata% %chapters% "%book%" 1) The chapter title had a page break before AND after it, while all other chapters onle have a page-break-before. 2) The paragraph font became much larger than before. I can't understand what's up with it. The source HTML uses exactly the same structure with chapter 6 as it does with chapter 5, and after converting the LRF to LRS, I don't see anything different in that format either. Which is pretty much confirmed by lrfviewer which - in this one instance - shows different output than the real viewer. Does anyone have any idea what could be the problem? I am pretty sure it's not a layout thing, as I even deleted the cache.xml file and let the Reader rebuild it. |
06-27-2008, 12:46 AM | #2 |
Guru
Posts: 610
Karma: 4150
Join Date: Mar 2008
Device: Sony Reader PRS-T3, Kobo Libra H2O
|
Update: Just got to chapter 7 and it is in the same format as chapter 5 (and earlier).
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Retaining formatting in metadata (book description) | FizzyWater | Calibre | 5 | 05-13-2010 10:26 PM |
PRS-300 Random reset in middle of book | suecsi | Sony Reader | 5 | 05-06-2010 11:49 AM |
PRS-300 Disppointed with library book formatting. | ommoran | Sony Reader | 2 | 04-23-2010 05:10 PM |
Question about formatting in Book Designer | carmonli | Workshop | 5 | 01-01-2010 10:08 PM |
Sony reboots while re-formatting a Book | NigelS | Sony Reader | 5 | 01-22-2008 08:10 PM |