This MR introduces an in-memory intermediate format for simple motifs(*) which is produces by the
It detects motifs (encoded as oXygen comment/processing instruction) and converts them to
A simply motif spanning several lines is transformed to several
tei:span elements which are connected via an ID and the
This intermediate format is then used to create an
xhtml:span when creating the HTML pages in
tei2html.xqm module, making the motifs findable by the annotation panel.
(*) simple motifs are text passages in which only one motif is present, i.e. a piece of text doesn't have more than one motif. For the complex case cf. #165 (closed).
Compliance to “Definition of Done”
Unit tests passed
Product Owner accepts the User Story
I updated the README (if applicable)
I provided my functions with appropriate documentation
I updated existing documentation
Are we able to test this new feature?
Yes, everything can be done via unit tests.
I added a statement to the CHANGELOG.
I bumped the version number in
Closes #164 (closed)