View Single Post
Old 06-08-2020, 12:42 PM   #7
Mister L
Groupie
Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Mister L is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Posts: 179
Karma: 91148
Join Date: Jun 2010
Device: Sony 350
Sorry, somehow I completely missed out seeing this until now.
Quote:
Originally Posted by KevinH View Post
Any move or rename or splitting or merging of anything will invoke the update all links code.
Ah, thank you, one "mystery" solved.

Quote:
Originally Posted by KevinH View Post
This code was always run from the beginning. In the old Sigil the added the folder to the path was a workaround instead of resolving the simplest relative path.

So your version of the link from epub root we be would be the following:

OEBPS/Text/../Text/notes.xhtml

which would then need to be simplified.

whereas in current Sigil the link destination will be built as

OEBPS/Text/notes.xhtml

with no further simplification needed.

So if you stop making any changes to the epub or mending of code, no changes will be made to links. But once a file name is changed or a mend is done, a split is done, etc, the links will be corrected and properly updated, just as Sigil always has done.
Okay, thanks very much for those details. It's making my brain melt a little bit because I thought same internal structure = same paths, regardless of which version of Sigil. I did not realise there could be a difference to the paths for an epub with the same (standard) internal structure when managed by old Sigil vs. new Sigil or that old Sigil was displaying paths that were not the actual paths.

Anyway thanks for taking the time to explain it.
Mister L is offline   Reply With Quote