Closed opoudjis closed 1 year ago
Sectionsplit rewraps svgs in svgmap, in order to update their anchors. Which is fine, except svgmaps are eliminated in Presentation XML, and sectionsplit already converts the Semantic XML to Presentation XML before svgmaps are processed; so svgmaps end up left in the Presentation XML generated by sectionsplit.
The solution is to do the svg preprocessing in Semantic XML, not Presentation XML.
In turn, this solution means that section split must be run on Semantic not Presentation XML in general --- so that the svg wrapping can get to the file in time.
We are now recognising SVGs. Unfortunately the highlight areas are now misaligned with the image.
That is the svg out of the box, so it has been reported to stepmod2mn.
This is also occurring in annotated-express, so it is not a stepmod issue: the svgmap element is not currently recognised by isodoc at all.