inscription declared as <change type="segment" xml:id="i_…">
in the transcript, each verse can be associated with one or more inscriptions:
preceding::milestone[@unit="stage"][1]/@change points to one or more inscription decls
descendant-or-self::*/@change as well, this will typically be an edit operation
So, for the bargraph, it should be enough to record the associated inscription(s) with each verse / subinterval and create separate bars for each inscription (for witnesses that have multiple inscriptions).
For the variant apparatus, it could be a first step to associate each line with an inscription and order it by the inscription’s order. We would have to look in how many cases a line may be associated with multiple inscriptions, though.
We should get a feeling about the quality of inscription metadata in the macrogenesis vs. the transcripts first, see faustedition/faust-macrogen#24
Basic support shouldn’t be too hard.
<change type="segment" xml:id="i_…">
preceding::milestone[@unit="stage"][1]/@change
points to one or more inscription declsdescendant-or-self::*/@change
as well, this will typically be an edit operationSo, for the bargraph, it should be enough to record the associated inscription(s) with each verse / subinterval and create separate bars for each inscription (for witnesses that have multiple inscriptions).
For the variant apparatus, it could be a first step to associate each line with an inscription and order it by the inscription’s order. We would have to look in how many cases a line may be associated with multiple inscriptions, though.
We should get a feeling about the quality of inscription metadata in the macrogenesis vs. the transcripts first, see faustedition/faust-macrogen#24