chchch / upama

A PHP library for comparing two or more Sanskrit TEI XML files and generating an apparatus with variants
GNU General Public License v2.0
10 stars 1 forks source link

Witness breaks off half way through a passage #83

Open wujastyk opened 5 months ago

wujastyk commented 5 months ago

An incomplete witness may stop in mid-sentence, whether it be at the end of a folio or just when a scribe stops writing. This will typically be in the middle of a passage identified with an xml:id tag. For the remainder of that passage, the apparatus will show the witness as omitting text. But that's not quite right. The witness is absent, not omitting stuff.

How can this be handled? Obviously we could start a new xml:ide at that place, but that would create wrong chunks of output text.

chchch commented 1 month ago

Maybe <space> or <gap reason="scribe ends here"/>?

wujastyk commented 1 month ago

The end of a witness is sometimes a gap or space, but not always. It's common just to have no more folios of a MS. I'd like to send a signal to the apparatus that from this point on this witness is absent, like image . Probably the best we can do is add a note to that effect to the apparatus.