View Single Post
Old 08-15-2010, 07:09 PM   #241
mwbiggs
Junior Member
mwbiggs began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Aug 2010
Device: ipad
Hi,

I'm new to Sigal and epub. I'm trying to convert my book to epub format for the apple store. They say Apple insists it must pass epubcheck before publishing. Although every program reads the epub file OK, epubcheck gives me hundreds of errors. I get similar problems with Calibre. I am using a Word file, and save as a filtered Wep page for inputs.

It seems that most of my errors involve my Table of Contents in Word 2007. I am using 1.1, 1.1.1, 1.1.1.1 type chapters in my doc.

For example, the TOC entry by Sigil is:
<p class="MsoToc2"><span class="sgc-1"><a href="#_Toc253319847">3.2<span class="sgc-14">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;</span> The Co-Creation of a Woman with Adam in Genesis 2:4-7<span class="sgc-16">. 27</span></a></span></p>

The actual chapter start within the book is marked:
<h2 id="heading_id_6"><a name="_Toc233343312"></a> <a name="_Toc253319847"></a> <a name="_Ref235848964"></a> <a name="_Toc233634996"></a> <a name="_Toc233465353"></a>3.2<span class="sgc-18">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span> The Co-Creation of a Woman with Adam in Genesis 2:4-7</h2>

To me the multiple names (5) looks wrong. Only one (2nd) matches the TOC. Calibre did similar. I suspect something buggy with Word. The epub check flagged all the names as errors. The chapter title was on line 2644.

ERROR: TCFL_1st_ed_v021_epub11_sigil.epub/OEBPS/Text/The Case for Lilith_1st_ed_v021_epub11.htm(2644): attribute "name" not allowed at this point; ignored
ERROR: TCFL_1st_ed_v021_epub11_sigil.epub/OEBPS/Text/The Case for Lilith_1st_ed_v021_epub11.htm(2644): attribute "name" not allowed at this point; ignored
ERROR: TCFL_1st_ed_v021_epub11_sigil.epub/OEBPS/Text/The Case for Lilith_1st_ed_v021_epub11.htm(2644): attribute "name" not allowed at this point; ignored
ERROR: TCFL_1st_ed_v021_epub11_sigil.epub/OEBPS/Text/The Case for Lilith_1st_ed_v021_epub11.htm(2644): attribute "name" not allowed at this point; ignored
ERROR: TCFL_1st_ed_v021_epub11_sigil.epub/OEBPS/Text/The Case for Lilith_1st_ed_v021_epub11.htm(2644): attribute "name" not allowed at this point; ignored

All the names were flagged as errors. But when I remove all the names, the TOC gets broken. Should I remove all the names but 1? Should I remove table of contents and start all over somehow. Again, every reads fine in Sigil and in the Sigil TOC editor.

Mark
mwbiggs is offline