View Single Post
Old 07-09-2009, 04:30 PM   #441
Garfunkel
Member
Garfunkel began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Jun 2009
Device: iTouch
Quote:
Originally Posted by kovidgoyal View Post
@Garfunkel: calibre does not insert a generated TOC into EPUB. If you're seeing a TOC there, it was there in the source files. And in the MOBI format, the TOC is inserted at the end of the file, not at the beginning.
No, you're mistaken. There's no ToC in my FB2 source files. Here's the beginning of it...
Code:
<?xml version="1.0" encoding="UTF-8"?>
<FictionBook xmlns="http://www.gribuser.ru/xml/fictionbook/2.0" xmlns:l="http://www.w3.org/1999/xlink">
 <description>
  <title-info>
   <genre>prose_classic</genre>
   <author>
    <first-name>John</first-name>
    <middle-name>Robert</middle-name>
    <last-name>Fowles</last-name>
   </author>
   <book-title>The Magus</book-title>
   <annotation>
    <p>Nicholas Urfe, an evasive young Englishman, accepts a teaching position on a remote Greek island, where his friendship with a reclusive, demonic millionaire lures him into “the godgame”: an elaborate series of staged hallucinations, riddles, and psychological traps meant to test his concept of being and reality.</p>
   </annotation>
   <date>1965</date>
   <coverpage>
    <image l:href="#cover.jpg"/></coverpage>
   <lang>en</lang>
  </title-info>
  <document-info>
   <author>
    <nickname>Stranger</nickname>
    <email>[4pi@bk.ru]</email>
   </author>
   <program-used>doc2fb, FB Tools</program-used>
   <date>18.11.2005</date>
   <id>the_magus_475E116A-C286-4C78-BA34-3EFDA575FA98</id>
   <version>1.0</version>
  </document-info>
  <publish-info>
   <book-name>The Magus</book-name>
   <publisher>Laurel Press</publisher>
   <city>New York</city>
   <year>1985</year>
   <isbn>0440351626</isbn>
  </publish-info>
 </description>
 <body>
  <title>
   <p>John Fowles</p>
   <p>The Magus</p>
  </title>
  <epigraph>
   <p>To Astarte</p>
  </epigraph>
  <section>
   <title>
    <p>Part One</p>
   </title>
   <epigraph>
    <p>Un dГ©bauchГ© de profession est rarement un homme pitoyable.</p>
    <text-author>De Sade, Les Infortunes de la Vertu</text-author>
   </epigraph>
   <section>
    <title>
     <p>1</p>
    </title>
    <p>I was born in 1927, the only child of middle-class parents, both English, and themselves born in the grotesquely elongated shadow, which they never rose sufficiently above history to leave, of that monstrous dwarf Queen Victoria. I was sent to a public school,
As you can see no ToC but after converting it to epub with calibre I get this (after the cover) -
The same thing is when I read the book on my iPod touch - first cover then I have to scroll several pages to go to the text. I have a FB2 reader and it does not create the ToC.
Garfunkel is offline