View Single Post
Old 01-17-2014, 01:06 PM   #15
theducks
Well trained by Cats
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: 31,134
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by GrannyGrump View Post
Well, I tried a few rough tests converting epub --> epub with Calibre. First attempt was different, but just as mangled as the Sigil output. But now I see the problem.

In both Sigil and Calibre, I see that I cannot start renumbering footnotes with #01 on each chapter. I will have to start with 1 and number straight through to 45. Then, it keeps the anchors attached to the correct splits/chapters.

I think I was expecting a miracle from the software. (hey, a person can dream, can't they?)

Thanks to all for your help. eschwartz, your Calibre tip helped lift the curtain of confusion.
The link id needs to start with a letter or FC flags errors
id='42' error
id='f42' good

Some Crafty REGEX run on a per file from the Calibre editor can rename those 'duplicate' ids

Find: \.html\#(\d+) <change the file type to match, both places
Replace: .html:#a\1 <- Change to a unique letter(s) for each file processed

REGEX can't to math, so you might come up with an Idea to use in the actual FN label [C2-1) (chapter2: note 1)
theducks is offline   Reply With Quote