08-11-2008, 02:27 AM | #16 |
Zealot
Posts: 131
Karma: 24870
Join Date: Oct 2006
Device: Sony PRS/505
|
And also as of 0.4.83, it has become very difficult for me to use calibre Is there a way to tell it to use ConvertLit if lit2oeb fails dismally on a number of your books in irritating to spot ways that you don't notice until you try read the book?
Examples of failure: Ticket #938 (Which makes my entirely automated book coversion process tricky at best) Ticket #939 (In which a book that I spent ages scanning maps and cleaning them up suddenly has no maps) And in general, it becomes _impossible_ to edit the resulting OPF and HTML files, which I tend to do a lot, when they're all in one line. ConvertLit appears to have no problems making an easy to read and edit file. (I had a hell of a time trying to add a <dc:Language> tag to a bunch of books because of this) If I find anything else, I'll create corresponding bugs, but for the moment, I'm essentially stuck since I did a directory clean up and deleted all my LRF files to do a clean reconvert, and now I'll have to wait until these bugs are fixed. |
08-11-2008, 11:24 AM | #17 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It's the price of progress. The new code will be much easier to maintain in the long run.
You can run the output of lit2oeb through a pretty printer like html tidy if you want to edit the files by hand. |
Advert | |
|
08-11-2008, 01:11 PM | #18 | ||
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
Quote:
I'm sorry you've run into some bugs, but please do submit any more issues you find and I'll get them fixed as quickly as I can. |
||
08-11-2008, 01:37 PM | #19 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I'll certainly merge the bug fixes before the next release. But it's going to be a little while until the next release as calibre is getting its job control system overhauled and is not in a usable state at the moment.
|
08-11-2008, 01:45 PM | #20 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@llasram it may be woth implementing a simple custom pretty printer that just inserts new lines at the end of a bunch of pre defined tags (like <p>, <br>, <div>, <tr>, the various OPF tags etc) If we dont care about indentation, this should be easy enough to do.
|
Advert | |
|
08-11-2008, 04:43 PM | #21 | |
Reticulator of Tharn
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
|
Quote:
|
|
08-11-2008, 04:56 PM | #22 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
OK having it as an option is acceptable as I dont want to break things for the majority of users that go the direct lit->lrf route
|
08-11-2008, 06:15 PM | #23 | |
Zealot
Posts: 131
Karma: 24870
Join Date: Oct 2006
Device: Sony PRS/505
|
Quote:
Luckily I have an older version on my work PC, I think I can get all my LRF files recreated. Thanks for all the work you guys do. I may sound ungrateful every so often, but calibre is a large part of the reason why I'm considering buying a PRS505 as my next device and not a Kindle. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Book Error In Sigil After Calibre Conversion (from lit to epub) | Guns4Hire | Sigil | 13 | 03-05-2010 05:02 PM |
.lit conversion | bubulac | Calibre | 0 | 01-07-2010 11:33 PM |
problem using convertlit & Calibre | Gravitas | Sony Reader | 5 | 09-25-2008 04:43 AM |
ConvertLit GUI: Secure LIT for Reader? | Michele | Sony Reader | 21 | 03-18-2008 03:52 PM |
LIT conversion (C#) developer | Jaapjan | Workshop | 35 | 09-26-2005 09:43 AM |