Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2008, 04:18 PM   #1
Falbe Publishing
Gadget Slave
Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.
 
Falbe Publishing's Avatar
 
Posts: 265
Karma: 600001
Join Date: Jun 2008
Location: Battle Creek, Michigan
Device: Sony PRS505SC
Losing TOC function when I convert LIT to LRF

Suddenly with Calibre I am not able to produce a functioning table of contents on the resulting LRF ebook when I start with a LIT ebook. The TOC in the LIT ebook is functioning, but the TOC in the LRF conversion does not work. When I test it on my Sony, the TOC items are listed on the TOC screen but clicking them does not take me to the chapter. It just goes to the first page of the TOC.

A couple weeks ago, I did successfully make LRF ebooks with functioning TOCs from LIT files.

Yes, I am checking the box "Add chapters to TOC."

Any ideas on why it does not work anymore?

Falbe Publishing is offline   Reply With Quote
Old 08-29-2008, 04:20 PM   #2
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,126
Karma: 18149000
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
When you convert LIT to LRF, try using the --use-spine option and see if it works. Also try using --add-chapters-to-toc and see what happens.
JSWolf is offline   Reply With Quote
 
Enthusiast
Old 08-29-2008, 04:42 PM   #3
Falbe Publishing
Gadget Slave
Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.
 
Falbe Publishing's Avatar
 
Posts: 265
Karma: 600001
Join Date: Jun 2008
Location: Battle Creek, Michigan
Device: Sony PRS505SC
Where's the use-spine option? I can't find it.
Falbe Publishing is offline   Reply With Quote
Old 08-29-2008, 04:43 PM   #4
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: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
--use-spine wont help (its automatically set for LIT file anyway). THere's probably something in the way the TOC is setup in that lit file that's causing the problem. Open a ticket about it and I'll take a look.
kovidgoyal is online now   Reply With Quote
Old 08-29-2008, 04:44 PM   #5
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,126
Karma: 18149000
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
And attach the LIT file.
JSWolf is offline   Reply With Quote
Old 08-29-2008, 04:55 PM   #6
Falbe Publishing
Gadget Slave
Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.
 
Falbe Publishing's Avatar
 
Posts: 265
Karma: 600001
Join Date: Jun 2008
Location: Battle Creek, Michigan
Device: Sony PRS505SC
Quote:
Originally Posted by kovidgoyal View Post
--use-spine wont help (its automatically set for LIT file anyway). THere's probably something in the way the TOC is setup in that lit file that's causing the problem. Open a ticket about it and I'll take a look.
Thanks for helping. You're so nice. Not sure how to open a ticket, and I can't attack a LIT file here. Where should I go?

Should I try downloading and installing calibre again. I had a notice about some update the other day, but I ignored it. Sorry. Maybe I needed it.
Falbe Publishing is offline   Reply With Quote
Old 08-29-2008, 05:08 PM   #7
Falbe Publishing
Gadget Slave
Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.Falbe Publishing ought to be getting tired of karma fortunes by now.
 
Falbe Publishing's Avatar
 
Posts: 265
Karma: 600001
Join Date: Jun 2008
Location: Battle Creek, Michigan
Device: Sony PRS505SC
UPDATE: I think I know what the problem is...

I haven't tested it yet, but my intuition is crackling.

Anyway, I'm not getting a functioning TOC in the LRF because in the original Word doc where I built the TOC that was in the LIT file I did not use page numbers. So, even though the LIT file works, Calibre did not have what it needed to create a functioning TOC.

I'm sure this is the problem because this is the difference between the ebooks that came out of Calibre with functioning TOCs and those that didn't.

MY bad.
Falbe Publishing is offline   Reply With Quote
Old 08-29-2008, 05:32 PM   #8
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,126
Karma: 18149000
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Please let us know if this really is the issue once you have it working.
JSWolf is offline   Reply With Quote
Old 08-29-2008, 06:43 PM   #9
=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,672
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
When using the WordRMR(a word plugin) to create the LIT file and I also have noticed the same problem. When I expanded the LIT created by WordRMR file I saw there was only one html file and no TOC HTML in the lit file, typically LIT files have 2 or more html files. One is the main eBook text the second is the TOC.. I'm not sure if Calibre uses the additional file to create an external TOC, but I suspect it does.


What would be nice is if CALIBRE could create a TOC from a LIT by searching through the main HTML file.

=X=
=X= is offline   Reply With Quote
Old 08-29-2008, 07:34 PM   #10
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: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You can opena ticket at

http://calibre.kovidgoyal.net/newticket

@ ==X==

calibre gets the TOC from the OPF file (part of the lit file). If the lit file doesn't have an OPF file, or the OPF file is missing a TOC section, then it wont automatically create a TOC. You have to use one of the chapter detection options to tell calibre how to figure out what should go into the TOC from the HTML
kovidgoyal is online now   Reply With Quote
Old 08-29-2008, 11:06 PM   #11
=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,672
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
@ kovidgoyal
Thanks that did the trick.

Setting "a,name,_Toc*"

In the "Detect chapter at tag TAG:" text box worked.

=X=
=X= is offline   Reply With Quote
Old 08-30-2008, 12:21 AM   #12
=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,672
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
kovidgoyal, Is there any way to disable page breaks getting auto inserted before the chapter detect? I've already have my page breaks in my document. So using the Chapter detect causes two page two page breaks in the eBook

Thanks in advance,
=X=

Last edited by =X=; 08-30-2008 at 12:24 AM.
=X= is offline   Reply With Quote
Old 08-30-2008, 12:41 AM   #13
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: 25,952
Karma: 5036099
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
No there isn't
kovidgoyal is online now   Reply With Quote
Reply

Tags
calibre, toc

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Making a TOC for LRFs? Issues with Calibre + LRF TOC editor not working Magitek LRF 0 05-06-2009 01:25 PM
[Old Thread] unable to convert ebooks(rtf, txt,lit,html,pdf) to lrf in calibre .4.131 jackdeth191 Calibre 9 05-02-2009 02:55 AM
? convert .pdb to .lit or .lrf Maggiet Workshop 3 05-18-2008 04:44 PM
Any way to batch convert LIT to LRF that saves to hard drive? erikk Sony Reader 2 01-03-2008 03:51 AM
Using Book Designer to convert Lit to Lrf? Gibbo Sony Reader 11 07-22-2007 10:33 AM


All times are GMT -4. The time now is 12:45 AM.


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