https://acdh-oeaw.gitlab.io/margins/matc-data/
install TEI-Facsimile-Plugin
https://github.com/oxygenxml/TEI-Facsimile-Plugin/raw/master/addon/image-markup-plugin.xml
in "show add-ons from" fieldImage Markup Sample
install Git add-on
set up directory structure (like e.g. in this repo)
configure transformation scenarios
tei:pb
with @xml:id
, n
, and @facs
pointing to the matching tei:surface/@xml:id
tei:facsimile
with a tei:surface
element with similar attributes as tei:pb
tei:text/tei:body
) using all the power of the TEItei:zone
elements in the tei:facsimile
section for margins, copy the @xml:id
generated by the plug-in and use this in the @facs
attribute of the according transcription of the margin. <p>here is the <pb n="16r" xml:id="page__00041" facs="#facs__00041"/>
transcription of the main text
<note place="margin-left" facs="#zone.1.2.4">transcription of the margin</note>
and here continues the transcription until the next margin
<note place="margin-right" facs="#zone.3.2.4">transcription of the margin</note>
and the transcription continues further</p>