First stage in adding round-trip referencing
Posted by mholmes on 14 Jan 2010 in Activity log
To do our planned round-trip reference linking, we need to be able to jump to a specific instance of a reference link in a document. This means that all links need to have unique ids, which is achieved by using their key, supplemented by a counter which makes them unique, counting 1-based from the beginning of the document. This has now been achieved, so you can navigate to a unique instance of a reference link in a document.
In the process, I found some bugs caused by the fact that the main reference file structure was severely broken; failure to close div elements had led to many references being nested several levels deep inside preceding ones. This is now fixed. We have to watch for this!