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 06-29-2012, 09:47 PM   #1
Bigo2
Connoisseur
Bigo2 began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Oct 2010
Device: Kindle3
# sign in a book name causes the TOC non-functional

I have found that if a html (zip) book name contains the # sign, converting the book to mobi or epub causes the auto-generated TOC non-functional.
Bigo2 is offline   Reply With Quote
Old 06-29-2012, 11:12 PM   #2
theducks
Grand Sorcerer
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 14,846
Karma: 5654321
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: Galaxy Tab 2, Astak Pocket Pro, K4NT
Quote:
Originally Posted by Bigo2 View Post
I have found that if a html (zip) book name contains the # sign, converting the book to mobi or epub causes the auto-generated TOC non-functional.
# is the signal to use a named anchor:

Code:
MyBook.html#midchapter
A mobi expert will need to answer if book named 'door#1.mobi' would bomb the TOC generator
theducks is offline   Reply With Quote
Old 06-29-2012, 11:38 PM   #3
Bigo2
Connoisseur
Bigo2 began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Oct 2010
Device: Kindle3
Quote:
Originally Posted by theducks View Post
# is the signal to use a named anchor:

Code:
MyBook.html#midchapter
A mobi expert will need to answer if book named 'door#1.mobi' would bomb the TOC generator
It seems to be happening only during the conversion. If I rename a mobi file with working TOC and use the # sign in the new name, the TOC is unaffected.

I just want to add that I do not complain about Calibre, I do not need to add the # sign in the names. I just report this here to warn the people.

I used the # in some names and after some time I've realized that the TOC did not work. It took me a while to find that this was the reason.

BTW, Sigil is doing it too when converting from html to epub...

Last edited by Bigo2; 06-29-2012 at 11:51 PM.
Bigo2 is offline   Reply With Quote
Old 06-30-2012, 12:18 AM   #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: 26,121
Karma: 5101571
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
It has nothing to do with mobi. A # sign in an html filename will cause problems, as # is a reserved character in html. Do not use # signs in html files.
kovidgoyal is online now   Reply With Quote
Old 06-30-2012, 12:25 AM   #5
Bigo2
Connoisseur
Bigo2 began at the beginning.
 
Posts: 64
Karma: 10
Join Date: Oct 2010
Device: Kindle3
Quote:
Originally Posted by kovidgoyal View Post
It has nothing to do with mobi. A # sign in an html filename will cause problems, as # is a reserved character in html. Do not use # signs in html files.
Thanks
Bigo2 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Functional TOC doesn't work properly in iPAD touchelango Apple Devices 1 11-07-2012 02:25 PM
Generated TOC links back to TOC page in the book Caleb666 Sigil 7 08-17-2011 11:58 AM
Non-functional TOC kamanza Conversion 0 06-04-2011 01:04 PM
Functional enhancement requests drMerry Library Management 6 04-29-2011 01:06 PM
iPad non functional Mike_73 Apple Devices 5 08-22-2010 05:30 PM


All times are GMT -4. The time now is 08:26 AM.


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