Thread: Duplicate IDs
View Single Post
Old 11-06-2012, 09:39 PM   #1
gregf
Junior Member
gregf began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Mar 2011
Device: ipad
Duplicate IDs

Hi,

I just upgraded from 0.8.0 to 0.9.5 and now I get duplicated id from epubcheck and flight crew using the exact same ebook-convert command and input files. If I reinstall 0.8.0 it passes epubcheck.

Here is a example of a duplicate id of what 0.9.5 produces:

<a name="z01001008" id="z01001008"><span class="bcv">8</span>God called the dome “sky.” Evening came, and morning followed—the second day.
</a></p><a name="z01001008" id="z01001008">
</a><p class="calibre4"><a name="z01001008" id="z01001008">

Same content from 0.8.0:
<a name="z01001008" class="calibre15" id="z01001008"></a><span class="bcv">8</span>God called the dome “sky.” Evening came, and morning followed—the second day.
</p>
<p class="calibre5">

HTML Source:
<a name="z01001008" /><span class="bcv">8</span>God called the dome “sky.” Evening came, and morning followed—the second day.
</p>
<p>

Here is the ebook-convert command that I use for 0.8.0 and 0.9.5

ebook-convert index.html zzz.epub --flow-size 99999999 --page-breaks-before "//h:h1" --preserve-cover-aspect-ratio --chapter "/" --chapter-mark none --output-profile ipad --breadth-first --no-chapters-in-toc --max-toc-links 84 --cover zzz.jpg --author-sort "xxx" --authors "yyy" --publisher zzz --title "xyz" --isbn 111-1-1111-1111-1

thanks for the help,
Greg
gregf is offline   Reply With Quote