Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/acdh-oeaw/ExpPs
Browse files Browse the repository at this point in the history
  • Loading branch information
palamedes9 committed Sep 5, 2024
2 parents 336f58e + f56615a commit 499000d
Show file tree
Hide file tree
Showing 10 changed files with 52,383 additions and 15,691 deletions.
2,309 changes: 1,538 additions & 771 deletions html/manuscripts/bodl_auct_d_4_1.html

Large diffs are not rendered by default.

24,873 changes: 19,382 additions & 5,491 deletions html/manuscripts/vat_gr_1422.html

Large diffs are not rendered by default.

28,381 changes: 21,887 additions & 6,494 deletions html/manuscripts/vat_gr_754.html

Large diffs are not rendered by default.

10,957 changes: 8,052 additions & 2,905 deletions html/manuscripts/vat_gr_754_diplomatic.html

Large diffs are not rendered by default.

1,442 changes: 1,418 additions & 24 deletions html/manuscripts/vat_gr_754_simplified.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,7 @@
<xsl:value-of select="concat('ambr_m_47_sup.html#',substring-after(@target,'#ambr-m-47-sup:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#ambr-b-106-sup:')">
<xsl:value-of select="concat('ambr_B_106_sup.html#',substring-after(@target,'#ambr-b-106-sup:'))"/>
<xsl:value-of select="concat('ambros_B_106_sup.html#',substring-after(@target,'#ambr-b-106-sup:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#bodl-auct-d-4-1:')">
<xsl:value-of select="concat('bodl_auct_d_4_1.html#',substring-after(@target,'#bodl-auct-d-4-1:'))"/>
Expand All @@ -921,6 +921,9 @@
<xsl:if test="starts-with(@target,'#mosq-synod-194:')">
<xsl:value-of select="concat('mosq_synod_194.html#',substring-after(@target,'#mosq-synod-194:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#mosq-syn-194:')">
<xsl:value-of select="concat('mosq_synod_194.html#',substring-after(@target,'#mosq-syn-194:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#oxon-s-trin-78:')">
<xsl:value-of select="concat('oxon_s_trin_78.html#',substring-after(@target,'#oxon-s-trin-78:'))"/>
</xsl:if>
Expand Down Expand Up @@ -1909,9 +1912,9 @@
<xsl:text>\</xsl:text>
</xsl:if>
<xsl:if test="@place = 'overstrike'">
<xsl:text>«</xsl:text>
<xsl:text></xsl:text>
<xsl:apply-templates/>
<xsl:text>»</xsl:text>
<xsl:text></xsl:text>
</xsl:if>
<xsl:if test="@place = 'left margin'">
<xsl:apply-templates/>
Expand All @@ -1930,9 +1933,9 @@
<xsl:text>\</xsl:text>
</xsl:if>
<xsl:if test="@place = 'overstrike'">
<xsl:text>«</xsl:text>
<xsl:text></xsl:text>
<xsl:apply-templates/>
<xsl:text>»</xsl:text>
<xsl:text></xsl:text>
</xsl:if>
<xsl:if test="@place = 'left margin'">
<xsl:apply-templates/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -756,6 +756,15 @@
</p>
<p class="commentaryfragment-in-transcription-simplified">
<xsl:apply-templates select="tei:ref" mode="commentaryfragments-only"/>
<xsl:if test="exists(@copyOf)">
<xsl:text> (</xsl:text>
<xsl:element name="a">
<xsl:attribute name="href" select="concat('../edition.html#',substring-after(@copyOf,'#edition:'))"/>
<xsl:attribute name="target" select="'_blank'"/>
<xsl:text>→ Edition</xsl:text>
</xsl:element>
<xsl:text>)</xsl:text>
</xsl:if>
</p>
<xsl:apply-templates select="tei:note[@type = 'textual-commentary']"/>
</div>
Expand Down Expand Up @@ -1356,6 +1365,15 @@
<xsl:if test="exists(@prev)">
<xsl:text> (continued)</xsl:text>
</xsl:if>
<xsl:if test="exists(parent::tei:seg/@copyOf)">
<xsl:text> (</xsl:text>
<xsl:element name="a">
<xsl:attribute name="href" select="concat('../edition.html#',substring-after(parent::tei:seg/@copyOf,'#edition:'))"/>
<xsl:attribute name="target" select="'_blank'"/>
<xsl:text>→ Edition</xsl:text>
</xsl:element>
<xsl:text>)</xsl:text>
</xsl:if>
<xsl:text>]</xsl:text>
</xsl:template>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -991,6 +991,11 @@
</a>
<xsl:element name="p">
<xsl:attribute name="class" select="'paragraph-in-commentaryfragment'"/>
<a>
<xsl:attribute name="id">
<xsl:value-of select="child::tei:quote[@type = 'patristic']/@xml:id"/>
</xsl:attribute>
</a>
<xsl:if test="@type = 'commentaryfragment'">
<xsl:text>Commentary fragment: </xsl:text>
</xsl:if>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -884,6 +884,11 @@
</a>
<xsl:element name="p">
<xsl:attribute name="class" select="'paragraph-in-commentaryfragment'"/>
<a>
<xsl:attribute name="id">
<xsl:value-of select="child::tei:quote[@type = 'patristic']/@xml:id"/>
</xsl:attribute>
</a>
<xsl:if test="@type = 'commentaryfragment'">
<xsl:text>Commentary fragment: </xsl:text>
</xsl:if>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -261,11 +261,16 @@
<xsl:if test="exists(@prev)">
<xsl:text>...</xsl:text>
</xsl:if>
<xsl:apply-templates select="child::node()[not(self::tei:note[@type = 'textual-commentary'])]"/>
<xsl:apply-templates select="child::node()[not(self::tei:note[@type = 'textual-commentary']) and not(self::tei:ref)]"/>
<xsl:if test="exists(@next)">
<xsl:text>...</xsl:text>
</xsl:if>
</p>
<xsl:if test="exists(child::tei:ref)">
<p class="paragraph-in-commentaryfragment">
<xsl:apply-templates select="child::tei:ref"/>
</p>
</xsl:if>
<xsl:apply-templates select="child::tei:note[@type = 'textual-commentary']"/>
</div>
</xsl:template>
Expand All @@ -289,6 +294,11 @@
<xsl:text>...</xsl:text>
</xsl:if>
</p>
<xsl:if test="exists(child::tei:ref)">
<p class="paragraph-in-commentaryfragment">
<xsl:apply-templates select="child::tei:ref"/>
</p>
</xsl:if>
<xsl:apply-templates select="child::tei:note[@type = 'textual-commentary']"/>
</div>
</xsl:template>
Expand Down Expand Up @@ -366,6 +376,65 @@
</xsl:element>
</xsl:template>

<xsl:template match="tei:ref">
<xsl:text>→ </xsl:text>
<xsl:element name="a">
<xsl:attribute name="href">
<xsl:if test="starts-with(@target,'#vat-gr-754:')">
<xsl:value-of select="concat('vat_gr_754.html#',substring-after(@target,'#vat-gr-754:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#vat-gr-1422:')">
<xsl:value-of select="concat('vat_gr_1422.html#',substring-after(@target,'#vat-gr-1422:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#ambr-m-47-sup')">
<xsl:value-of select="concat('ambr_m_47_sup.html#',substring-after(@target,'#ambr-m-47-sup:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#ambr-b-106-sup:')">
<xsl:value-of select="concat('ambros_B_106_sup.html#',substring-after(@target,'#ambr-b-106-sup:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#bodl-auct-d-4-1:')">
<xsl:value-of select="concat('bodl_auct_d_4_1.html#',substring-after(@target,'#bodl-auct-d-4-1:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#coislin-10:')">
<xsl:value-of select="concat('coislin_10.html#',substring-after(@target,'#coislin-10:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#coislin-12:')">
<xsl:value-of select="concat('coislin_12.html#',substring-after(@target,'#coislin-12:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#franzon-3:')">
<xsl:value-of select="concat('franzon_3.html#',substring-after(@target,'#franzon-3:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#mosq-synod-194:')">
<xsl:value-of select="concat('mosq_synod_194.html#',substring-after(@target,'#mosq-synod-194:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#mosq-syn-194:')">
<xsl:value-of select="concat('mosq_synod_194.html#',substring-after(@target,'#mosq-syn-194:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#oxon-s-trin-78:')">
<xsl:value-of select="concat('oxon_s_trin_78.html#',substring-after(@target,'#oxon-s-trin-78:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#par-gr-139:')">
<xsl:value-of select="concat('par_gr_139.html#',substring-after(@target,'#par-gr-139:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#par-gr-164:')">
<xsl:value-of select="concat('par_gr_164.html#',substring-after(@target,'#par-gr-164:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#par-gr-166:')">
<xsl:value-of select="concat('par_gr_166.html#',substring-after(@target,'#par-gr-166:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#plut-5-30:')">
<xsl:value-of select="concat('plut_5_30.html#',substring-after(@target,'#plut-5-30:'))"/>
</xsl:if>
<xsl:if test="starts-with(@target,'#plut-6-3:')">
<xsl:value-of select="concat('plut_6_3.html#',substring-after(@target,'#plut-6-3:'))"/>
</xsl:if>
</xsl:attribute>
<xsl:attribute name="target"><xsl:text>_blank</xsl:text></xsl:attribute>
<xsl:value-of select="text()"/>
</xsl:element>
<xsl:text> </xsl:text>
</xsl:template>

<xsl:template match="text()">
<xsl:choose>
<xsl:when test="contains(.,' ')">
Expand Down

0 comments on commit 499000d

Please sign in to comment.