![]() |
#16 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
@theducks -- Link id's-- Yes, I do use a letter prefix. Thank you so much for the tip to use unique letters.
I will probably expand my AutoHotkey script-- right now, it does a "find next", waits for a number input from me, and then auto-types the entire string for the anchor tag, including the footnote number. I will just input some more characters to identify the chapter as well as the tag *number*. For me, scripting with AHK feels simpler than trying to design REGEX patterns. I think my genetic inheritance is at fault. (I always blame everything I'm not good at on great-great-grampaw. ![]() |
![]() |
![]() |
![]() |
#17 |
Color me gone
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,089
Karma: 1445295
Join Date: Apr 2008
Location: Central Oregon Coast
Device: PRS-300
|
An advantage of the combination chapter/footnote number in debugging is that you know just at a glance where the problem is. I have spent hours untangling footnotes in some books!
|
![]() |
![]() |
![]() |
#18 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
If you want to renumber endnotes for each chapter, it's always going to be manual. We've encountered this, long ago, and changed our process. We essentially do exactly what My One Twoo Wuv Ducky does: we regex the original file, insert the hr's before each chapter header class, and split it. If you try to keep endnotes with a particular CHAPTER/section, and restart numbering, you are, as you have observed, screwed. If you do that, be prepared to reset the links by hand. Or, just rock-n-roll with 1-->infinity, and you'll be a much, much happier person. ;-) Hitch |
|
![]() |
![]() |
![]() |
#19 |
Obsessively Dedicated...
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,202
Karma: 34984330
Join Date: May 2011
Location: JAPAN (US expatriate)
Device: Sony PRS-T2, ADE on PC
|
@Hitch --- thanks for confirming that the "infinity" route will work with Sigil file-splitting.
My projects have VERY few footnotes, so at present, my bone-simple regex combined with my AHK script gives me very fast and easy output. If I ever have one that goes over 100 notes, I will definitely follow your advice. ![]() |
![]() |
![]() |
![]() |
#20 | |
Bookmaker & Cat Slave
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,503
Karma: 158448243
Join Date: Apr 2010
Location: Phoenix, AZ
Device: K2, iPad, KFire, PPW, Voyage, NookColor. 2 Droid, Oasis, Boox Note2
|
Quote:
Hitch |
|
![]() |
![]() |
![]() |
Tags |
link filenames broken, sigil file splitting |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
rename files | richreads | Sigil | 2 | 01-01-2013 04:53 PM |
How to mass rename ebook file | vivid80 | Calibre | 2 | 06-29-2012 07:22 PM |
rename file in calibre library | betavita | Library Management | 4 | 05-20-2012 05:09 AM |
rename files | kawayama | Sigil | 9 | 12-22-2011 12:30 AM |
filenames and file duplication | CheriePie | Calibre | 12 | 02-28-2009 12:35 PM |