Quote:
Originally Posted by Tex2002ans
Sigil 1.0+ got rid of the strict enforcement of the "Text", "Images", "Styles", "Fonts" folders.
(You could sort files back to Sigil's old way by going under Tools and clicking the new menu item.)
|
Yes, I always set my files to the "historic" structure, I even have set a shortcut for it (CTRL + *). Keeping to a standardised structure across all my files makes things easier for things like clips or to add various links (css, images, internal links...) so I prefer it.
Quote:
Originally Posted by pdurrant
Both those are relative paths. I don't think there is a way to have an absolute path from the root of the ePub.
|
Ok. I was trying to think of a clear way to differentiate between the two paths, that seemed like the most understandable to me, sorry if that was incorrect.
Quote:
Originally Posted by KevinH
If the source xhtml is in Text/ and uses a relative href "../Text/notes.xhtml", that url is simplified to notes.xhtml since that is the correct destination. The "../Text" is unneeded and does in no way clarify the link destination.
So when Sigil went 1.0, it allowed for users to have any organization they want for their epub and the need and use for prefacing a destination with its folder went away since those links can now be relative to other folders and need not be correct anymore.
|
Yes, I do understand all that, thank you. What I am asking about is why the file paths that I defined are being modified silently, and what is the event that triggers it (it is not saving since they are the same immediately after a save, but they eventually get changed, without any alert).
One of the things I like about Sigil is that in general it does not modify my code unless explicitly allowed (in preferences or with a dialog box), which doesn't seem to be the case here. If "../Text" is unneeded, but not actually incorrect, since I am explicitly deliberately setting my internal file structure to that, does it matter if I write the filenames that way? If it matches the real file structure and won't cause problems, why change it? As I said, it's down to a question of habit for me and I don't mind changing if there is a reason to but either way, I'd prefer it if my code wasn't changed in the background (if only so I don't start to wonder if I'm going crazy when I do search / replace all for 50 footnote links to add "../Text" to the front of them and then 5 minutes later that bit of code has disappeared. I did that S/RA 3 times on the same file the other day thinking maybe I'd not selected "all html files" or something, I thought I was going mad

).