Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 09-11-2008, 02:11 AM   #1
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,165
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
First chapter of table of contents not working

I have an html file I'm trying to convert to LRF and all the rest of the Table of Content links work except for the very first link. I'm not sure why it's not working I'm using these tags.

<B><P>Table of Contents</P></b>
<P>&nbsp;</P>
<P>&nbsp;</P>
<A HREF="#chapter1"><B>Chapter 1: Number Twelve Grimmauld Place</B></A><BR>
<A HREF="#_Toc207788806"><B>Chapter 2: Said and Unsaid</B></A><BR>
<A HREF="#_Toc207788807"><B>Chapter 3: The Sniffer Charm</B></A><BR>

<P>&nbsp;</P>
<B><FONT SIZE=4><P><A NAME="chapter1">Chapter 1: Number Twelve Grimmauld Place</A> </P>
</B></FONT>

When I click on chapter 1. nothing happens in the ebook library or the Calibre LRF viewer. The second link works like a charm and jumps directly to the second chapter.

I'm also having troubles with two other html files using the same coding.

I was hoping maybe I was doing something wrong and someone here could point it out??? because at this point I'm kind of lost.
Amalthia is offline   Reply With Quote
Old 09-11-2008, 02:49 AM   #2
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: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
change

<P>&nbsp;</P>

to

<P style="page-break-after:always">&nbsp;</P>
kovidgoyal is offline   Reply With Quote
Advert
Old 09-11-2008, 03:22 PM   #3
Amalthia
Wizard
Amalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beautyAmalthia does all things with Zen-like beauty
 
Amalthia's Avatar
 
Posts: 1,165
Karma: 32196
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650, PRS-T3, Pocketbook HD2
Quote:
Originally Posted by kovidgoyal View Post
change

<P>&nbsp;</P>

to

<P style="page-break-after:always">&nbsp;</P>
So this will add a page break??? so far I've been using <P>&nbsp;</P> to push the table of contents onto it's own page. I'm guessing this the paragraph style line I'll only need to use it sparingly.

Also, I don't have the css stuff that Word 2000 and up throws in, i've been using Word 97 to convert my RTF files to HTML because it gives the cleanest code I could find.
Amalthia is offline   Reply With Quote
Old 09-11-2008, 03:46 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: 44,542
Karma: 24495948
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yes that will insert a page break
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Table of Contents peterinnes Sigil 1 09-29-2010 04:03 AM
Repeated Chapter Headings in Kobo Table of Contents capsolo Sigil 5 06-20-2010 04:09 AM
Help with my Table of Contents Skylinefranc Calibre 0 03-19-2010 01:55 AM
only the table of contents wang960 Sony Reader 3 08-29-2008 01:45 PM
PRS-500 Is Working Table of Contents Possible with RTF? Falstaff Sony Reader Dev Corner 2 12-21-2006 12:42 AM


All times are GMT -4. The time now is 03:59 AM.


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