View Single Post
Old 11-16-2019, 11:05 AM   #158
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,985
Karma: 6361444
Join Date: Nov 2009
Device: many
EditTOC and InsertHyperLinks code are really at odds with each other. In MainWindow, The Hyperlinks code is used to create a link from one htmlresource to another resource and it works just fine. It is designed to return links relative to the starting location.

The TOC entries no longer uses relative hrefs and instead use bookpaths that are independent of starting location to indicate a target.

I am going to have to make some changes to both pieces to get this to work.

This is going to be a bit of a pain!


Kevin
KevinH is offline   Reply With Quote