Skip to content

rubric of pc after split word #91

@catsmith

Description

@catsmith

If we add rubric in our transcriptions and that rubric section includes any tag after a word that is split over a line the tag ends up being included into the word that precedes it - the one split over the line. so you get the tag inside the tag.

I have uploaded a small XML file. To replicate the problem load this into the OTE and create a section of rubric using the menu which spans the punctuation after the split word.

The problem happens when the rubric is added to a text with punctuation and when punctuation is added after a split word when the rubric is already present.

<TEI xmlns="http://www.tei-c.org/ns/1.0"><teiHeader><fileDesc><titleStmt><title>A transcription of Galatians in test</title><title type="document" n="test">test</title></titleStmt><publicationStmt><p>Temporary PublicationStmt for validation</p></publicationStmt><sourceDesc><p>Temporary sourceDesc for validation</p></sourceDesc></fileDesc></teiHeader>
<text xml:lang="GRC"><body>
<div type="book" n="B09"><div type="incipit" n="B09incipit"><ab><w>παυλου</w><w>του</w><w>αποστολου</w><w>η</w><w>προς</w>
<lb n="PCL-test"/><w>γαλατας</w><w>επιστολη</w></ab></div><div type="chapter" n="B09K1"><ab n="B09K1V1"><w>παυλος</w><w>αποστολος</w><w>ου
<lb n="PCL-test" break="no"/>κ</w><pc>.</pc><w>απ</w><w><abbr type="nomSac"><hi rend="overline">ανων</hi></abbr></w><w>ουδε</w><w>δι</w><w><abbr type="nomSac"><hi rend="overline">ανου</hi></abbr></w><w>αλλα</w><w>δια</w><w><abbr type="nomSac"><hi rend="overline">ιυ</hi></abbr></w><w><abbr type="nomSac"><hi rend="overline">χυ</hi></abbr></w>
<lb n="PCL-test"/><w>και</w><w><abbr type="nomSac"><hi rend="overline">θυ</hi></abbr></w><w><abbr type="nomSac"><hi rend="overline">πρς</hi></abbr></w><w>του</w><w>εγειραντος</w><w>αυτον</w><w>εκ</w><w>νεκρων</w></ab></div></div></body></text></TEI>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions