Cleaning up old link markup
Today I got the chance to do something I've been meaning to finish for a while. We had a lot of old-style linking code still remaining in the gravure and text markup -- mainly the former -- and it was no longer working, nor is it as effective as a tool for linking as the newer system is. I've now gone through all the image markup files and fixed all existing links -- 15 files were affected -- as well as the text documents, which also had a handful of the old link styles. For linking between documents, we're now using the much better system that looks like this:
<ref xml:id="wifes_lover" target="../../anthology/images/il_cherche.xml#wifes_lover">Il cherche ce qu'il ne voudroit pas trouver</ref>
In other words, each <ref> tag has an @xml:id (so you can link into it from another document or from the same document), a @target (it's best to keep targets singular for the moment), and some text that forms the link. This enables us to write normal expressive prose in notes with links in them, and link the appropriate text to the right target location. The old system was not so simple or flexible.
I haven't done anything with the modernized versions of the texts, because they have already diverged from their originals in both markup and content. We need to devise a proper strategy for embedding modernizations into the original files, I think.