Quote:
Originally Posted by KevinH
Hi theDucks,
Are there really epubs out there that use the exact same filename (including extension) more than once in the same ebook? Or are you talking about importing raw html when just starting to create the book?
if the latter, then eventually you want to have all of the text filenames be unique correct? If so, there may be a way to change Sigil to add a numeric unique identifier at the end of the filename (just before the extension) for files the exact same name being imported. Similar to how Mac OS X handles things when you drag a file of the same name ot the same folder.
Would that be of any value, or would you really like to have duplicate file names just placed in multiple folders?
If the latter, I am not sure that is a good idea in the long run. Just like some ebook editors who repeat identical target id attributes in every file ... it is just asking for trouble. Given how Kindlegen and other packages jam all of the source into one file, then extract the skeletons and the fragments repeating ids and repeating filenames would not be a good mix, imho.
KevinH
|
Kevin
Yes, I have seen this structure

:
chapter1/body.html
chapter1/Images/image001.jpg
chapter1/Images/image002.jpg
chapter1/Images/image003.jpg
chapter2/body.html
chapter2/Images/image001.jpg
chapter2/Images/image002.jpg
chapter3/body.html
chapter3/Images/image001.jpg
chapter3/Images/image002.jpg
chapter3/Images/image003.jpg
SEEN, not agree with the practice

and there is no guaranteed parity between images of the same names