Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 02-24-2009, 07:29 PM   #31
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Read the first post in this thread for the six anchors problem. As for the Table of contents, you can have a table of contents in an NCX file (this is the official way as per the OPS 2.0 spec) or you can have it in the HTML itself and tell calibre how to extract it via the --level*-toc options.
kovidgoyal is offline   Reply With Quote
Old 02-24-2009, 07:45 PM   #32
chorpler
Zealot
chorpler has a complete set of Star Wars action figures.chorpler has a complete set of Star Wars action figures.chorpler has a complete set of Star Wars action figures.
 
Posts: 128
Karma: 278
Join Date: Jun 2008
Device: Kindle; PRS-500; MobiPocket on Windows Mobile
Quote:
Originally Posted by kovidgoyal View Post
Read the first post in this thread for the six anchors problem. As for the Table of contents, you can have a table of contents in an NCX file (this is the official way as per the OPS 2.0 spec) or you can have it in the HTML itself and tell calibre how to extract it via the --level*-toc options.
Ah, somehow I missed that part of the first post. Thanks for pointing it out.

I hadn't noticed the --level*-toc options for the oeb2lit, so I guess I should switch to using any2lit.

Thanks for all the work you're doing. I just made a PayPal donation as a small token of my thanks. I wish it could be more, but things are tight for everybody right now...
chorpler is offline   Reply With Quote
Old 02-24-2009, 09:18 PM   #33
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by chorpler View Post
Ah, somehow I missed that part of the first post. Thanks for pointing it out.

I hadn't noticed the --level*-toc options for the oeb2lit, so I guess I should switch to using any2lit.

Thanks for all the work you're doing. I just made a PayPal donation as a small token of my thanks. I wish it could be more, but things are tight for everybody right now...
No worries, the whole point of asking for donations is that you can donate as much as you're comfortable with

And the thanks for LIT output should really go to llasram.
kovidgoyal is offline   Reply With Quote
Old 02-24-2009, 11:31 PM   #34
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
Quote:
Originally Posted by chorpler View Post
It does create a .lit file, but opening it crashes MS Reader, sadly.
Eee. Kovid's hit the other issues, but we shouldn't be producing output which crashes MSReader. Could you create an issue for this on the calibre trac and post the offending input file and command-line arguments you used?
llasram is offline   Reply With Quote
Old 02-25-2009, 01:36 AM   #35
chorpler
Zealot
chorpler has a complete set of Star Wars action figures.chorpler has a complete set of Star Wars action figures.chorpler has a complete set of Star Wars action figures.
 
Posts: 128
Karma: 278
Join Date: Jun 2008
Device: Kindle; PRS-500; MobiPocket on Windows Mobile
Quote:
Originally Posted by llasram View Post
Eee. Kovid's hit the other issues, but we shouldn't be producing output which crashes MSReader. Could you create an issue for this on the calibre trac and post the offending input file and command-line arguments you used?
Yes, certainly. Though I've never done that before, so it may take me a while to figure out how.
chorpler is offline   Reply With Quote
Old 03-09-2009, 06:34 PM   #36
mathuin
Junior Member
mathuin began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Mar 2009
Device: Sony PSP
Hello! I am very excited about calibre's .lit file generation feature but I'm running into some unexpected results so I thought I'd ask here.

First, some background: I use my Sony PSP as an ebook reader. I extract the .lit files from the freely downloadable Baen Free Library CDs. I have written a collection of shell and Python scripts which use ConvertLIT's clit tool to extract content from .lit files and transmogrify it into collections of HTML pages, and it works really well. I have another document I'd like to have as an ebook in this structure, so the easiest thing to do was convert it to .lit so it could be deconverted along with the hundreds of other .lit files.

I created an OPF using the examples from the BFL CDs, then translated my document into HTML. When I built the .lit file using oeb2lit.exe (my other code runs on FreeBSD and it was easy to get calibre installed on a Windows box), I got the following (hand-transcribed) output:

WARNING: Parsing file 'mybook.htm' as HTML
INFO: Generating in-line TOC...
INFO: Applying case-transforming CSS...
INFO: Flattening CSS and remapping font sizes...
INFO: Source base font size is 12.00000pt
INFO: Rasterizing SVG images...
INFO: Trimming unused files from manifest...
WARNING: More than six anchors in file 'mybook.htm'. Some links may not work properly.
INFO: Output written to C:\mybook.lit

I then used clit to extract the content and compare it to the input content, and noticed a number of differences, primarily additional files and some CSS. The additional files don't bother me as I throw them away in my scripts, but the additional CSS is causing problems. How can I disable the CSS-generation feature of oeb2lit.exe?

Thanks!
mathuin is offline   Reply With Quote
Old 03-16-2009, 09:00 AM   #37
llasram
Reticulator of Tharn
llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.llasram ought to be getting tired of karma fortunes by now.
 
llasram's Avatar
 
Posts: 618
Karma: 400000
Join Date: Jan 2007
Location: EST
Device: Sony PRS-505
@mathuin Can you be more specific about what unwanted CSS calibre is producing?
llasram is offline   Reply With Quote
Old 03-27-2009, 12:04 PM   #38
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Any ideas when LIT make it to the GUI? So far from my experiences the any2LIT is quite stable?

=X=
=X= is offline   Reply With Quote
Old 03-27-2009, 01:46 PM   #39
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
After the ongoing conversion pipeline refactoring. So in a few weeks
kovidgoyal is offline   Reply With Quote
Old 03-29-2009, 12:52 AM   #40
=X=
Wizard
=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.=X= ought to be getting tired of karma fortunes by now.
 
=X='s Avatar
 
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
Quote:
Originally Posted by kovidgoyal View Post
After the ongoing conversion pipeline refactoring. So in a few weeks
Cool thanks
=X= is offline   Reply With Quote
Old 01-09-2010, 07:27 PM   #41
Grimace
Junior Member
Grimace began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2010
Device: pocket pc
I apologize if this is the wrong section for this, but I'm not sure where else to post my problem.
I'm trying to convert PDF files to LIT, as I prefer MS Reader on my pocket pc, to Adobe Reader. When Calibre converts a PDF file, I get a single LIT file. When I try to open the LIT file in MS Reader, both on my PC and my pocket pc, I get an error stating that a file is missing. I have noticed that all of my other LIT ebooks have an accompanying file with the extension of .EBO
Is it possible for Calibre to generate this .EBO file? Or am I missing something?
I've searched and searched and haven't found anything addressing this issue, so I apologize if I've missed something.
Grimace is offline   Reply With Quote
Old 01-09-2010, 09:42 PM   #42
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
There's probably something wrong with the LIT, unfortunately, lalram, the guy who wrote the LIT output support is no longer active, so it's unlikely this bug will get fixed.
kovidgoyal is offline   Reply With Quote
Old 01-20-2010, 03:45 PM   #43
johnc
Member
johnc began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2007
Location: tampa fl
Device: sony ereader prs-505
I have noticed that all of my other LIT ebooks have an accompanying file with the extension of .EBO

the EBO file is created by msreader when you open the file. Its where msreader stores your current page, notes etc. So it's probably something else unless you do not have write permission on the directory where the lit files are at. I have attempted to read the calibre generated LIT files into bookdesigner and it fails apparently something in the file info is messed up. but my msreader is not having problems opening the new LIT files so I suspect your problem lies elsewhere. Most of my LIT files were conversions from LRF though not PDF and I have not tried them on a pocket pc yet. let me dig up one of my old pocket pcs and try it.
johnc is offline   Reply With Quote
Old 01-22-2010, 11:13 AM   #44
Grimace
Junior Member
Grimace began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2010
Device: pocket pc
Thanks for your help, johnc!
Grimace is offline   Reply With Quote
Old 01-22-2010, 11:13 PM   #45
johnc
Member
johnc began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Jul 2007
Location: tampa fl
Device: sony ereader prs-505
I loaded several of them on my sd card when I try to open by clicking on the lit file in the file browser
I do get a error but when I open the msreader and open via the library they work.
I remember running into that issue previously and it did not matter what the lit file source was the problem
was something in microsofts changes to the msreadersoftware something is wrong with the registry key on the pocket pc
the msreader setup took me a while to relocate the fix (did not help the hp rom update I tried failed and left me
unbootable for a while and hp helpdesk was useless claimed I had to send it in to get it fixed but I finally found a
rom loader and got rom reloaded). I then reinstalled msreader and applyed this fix using a registry key editor for the pocket pc.
finding that fix even though I knew it existed was the hard part microsoft does not seem to have it in any technote on their site
but I finally found a reference to via google

http://blogs.technet.com/vik/archive...t-opening.aspx

• Registry Key: HKEY_CLASSES_ROOT\eBook\Shell\Open\Command
• Old Value: \Program Files\Microsoft Reader\MSReader.exe %1
• Corrected Value: "\Program Files\Microsoft Reader\MSReader.exe" %1
• Registry Key: HKEY_CLASSES_ROOT\eBookEBO\Shell\Open\Command]
• Old Value: \Program Files\Microsoft Reader\MSReader.exe %1
• Corrected Value: "\Program Files\Microsoft Reader\MSReader.exe" %1


basically microsoft forgot the double quotes and never fixed or even put up a technote on the problem at least their own search engine could not find it.
no idea if the windows mobile version has same issue or not.
johnc is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LRF output kovidgoyal Calibre 873 04-06-2010 02:32 PM
FB2 output KarateMonkey Calibre 0 03-14-2010 07:47 PM
Trying to get consistent look to all output daveps Calibre 0 03-08-2010 02:18 PM
Converting LIT to LRF Woes (or: Trouble with Images in LIT Files) JEMelby Sony Reader 0 07-27-2007 09:18 PM
converting lit html output into one big file for BD Dave Berk Sony Reader 15 03-29-2007 10:02 PM


All times are GMT -4. The time now is 12:03 PM.


MobileRead.com is a privately owned, operated and funded community.