Skip to content

Commit

Permalink
src/util, metadata-nomenclature, improve superscripts
Browse files Browse the repository at this point in the history
related to #1
  • Loading branch information
pdaengeli committed Jun 13, 2024
1 parent 6cd2d55 commit 1295505
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
22 changes: 11 additions & 11 deletions src/util/extract-fragment-metadata.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -91,22 +91,22 @@
'fr36' : 'Fr. 36 (Gʷ)',
'fr37' : 'Fr. 37 (Gˣ)',
'fr38' : 'Fr. 38 (Gʸ)',
'fr39' : 'Fr. 39 (Gz und )',
'fr39' : 'Fr. 39 (Gᶻ und G<sup>π</sup>)',
'fr40' : 'Fr. 40 (Gα)',
'fr41' : 'Fr. 41 (Gᵝ)',
'fr42' : 'Fr. 42 (Gᵞ)',
'fr43' : 'Fr. 43 (Gᵋ)',
'fr44' : 'Fr. 44 (Gᵋᵋ)',
'fr45' : 'Fr. 45 ()',
'fr46' : 'Fr. 46 (Gζζ)',
'fr47' : 'Fr. 47 ()',
'fr48' : 'Fr. 48 ()',
'fr49' : 'Fr. 49 ()',
'fr50' : 'Fr. 50 ( und j)',
'fr51' : 'Fr. 51 ( und Gω)',
'fr52' : 'Fr. 52 ()',
'fr53' : 'Fr. 53 ()',
'fr54' : 'Fr. 54 ()',
'fr45' : 'Fr. 45 (G<sup>ζ</sup>)',
'fr46' : 'Fr. 46 (G<sup>ζζ</sup>)',
'fr47' : 'Fr. 47 (G<sup>η</sup>)',
'fr48' : 'Fr. 48 (G<sup>ϑ</sup>)',
'fr49' : 'Fr. 49 (G<sup>ι</sup>)',
'fr50' : 'Fr. 50 (G<sup>λ</sup> und j)',
'fr51' : 'Fr. 51 (G<sup>ν</sup> und Gω</sup>)',
'fr52' : 'Fr. 52 (G<sup>ξ</sup>)',
'fr53' : 'Fr. 53 (G<sup>ρ</sup>)',
'fr54' : 'Fr. 54 (G<sup>ψ</sup>)',
'fr55' : 'Fr. 55 (B)',
'fr56' : 'Fr. 56 (C)',
'fr57' : 'Fr. 57 (H)',
Expand Down
1 change: 0 additions & 1 deletion src/util/metadata-ms-page.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
<xsl:when test="matches(@n,'^fr\d')">
<xsl:variable name="fragment" select="(@n => tokenize('\d{3}[rv]'))[1]"/>
<xsl:variable name="fragment-nr" select="$fragment => substring-after('fr') => number()" as="xs:double"/>
<xsl:message> fragment-nr: {$fragment-nr}</xsl:message>
<xsl:text>https://iiif.ub.unibe.ch/image/v3/Parzival/{$fragment-nr => format-number('000')}_{substring-after(@n,$fragment)}.jpf/info.json</xsl:text>
</xsl:when>
<!-- case: not fragment -->
Expand Down

0 comments on commit 1295505

Please sign in to comment.