Published

January 13, 2025

Find content for a manuscript page

using HmtArchive.Analysis
current_release = hmt_cex()
"// CEX representation of HMT archive.\n// - data release: 2024c \n// Automatically assembled by the `HmtArchive` module.\n// - module version: 0.14.2\n\n#!cexversion\n3.0.2\n\n#!citelibrary\n// Definition of the current release as a CITE library\nname|Homer Multitext project, r" ⋯ 24438763 bytes ⋯ "greekLit:tlg0012.tlg001.msB:24.801|urn:cite2:hmt:msB.v1:338v\nurn:cts:greekLit:tlg0012.tlg001.msB:24.802|urn:cite2:hmt:msB.v1:338v\nurn:cts:greekLit:tlg0012.tlg001.msB:24.803|urn:cite2:hmt:msB.v1:338v\nurn:cts:greekLit:tlg0012.tlg001.msB:24.804|urn:cite2:hmt:msB.v1:338v\n"

Manuscripts are modeled as ordered collections of pages.

DSE records are organized in collections. All HMT DSE records are grouped in a single collection, so we can confidently just take the first collection from this array.

using HmtArchive, HmtArchive.Analysis
dse = hmt_dse(current_release)[1]
urn:cite2:hmt:hmtdse.v1:all Homer Multitext project indexing of digital scholarly editions
using CitableObject
page = Cite2Urn("urn:cite2:hmt:msA.v1:12r")
urn:cite2:hmt:msA.v1:12r
using CitableText
line1 = CtsUrn("urn:cts:greekLit:tlg0012.tlg001.msA:1.1")
urn:cts:greekLit:tlg0012.tlg001.msA:1.1
using CitablePhysicalText
imagesfortext(line1, dse)
[ Info: Txt urn:cts:greekLit:tlg0012.tlg001.msA:1.1
[ Info: Look for txturn urn:cts:greekLit:tlg0012.tlg001.msA:1.1
1-element Vector{Cite2Urn}:
 urn:cite2:hmt:vaimg.2017a:VA012RN_0013@0.0611,0.2252,0.4675,0.0901
textsforsurface(page, dse)
48-element Vector{CtsUrn}:
 urn:cts:greekLit:tlg0012.tlg001.msA:1.title
 urn:cts:greekLit:tlg0012.tlg001.msA:1.1
 urn:cts:greekLit:tlg0012.tlg001.msA:1.2
 urn:cts:greekLit:tlg0012.tlg001.msA:1.3
 urn:cts:greekLit:tlg0012.tlg001.msA:1.4
 urn:cts:greekLit:tlg0012.tlg001.msA:1.5
 urn:cts:greekLit:tlg0012.tlg001.msA:1.6
 urn:cts:greekLit:tlg0012.tlg001.msA:1.7
 urn:cts:greekLit:tlg0012.tlg001.msA:1.8
 urn:cts:greekLit:tlg0012.tlg001.msA:1.9
 ⋮
 urn:cts:greekLit:tlg5026.msA.hmt:1.16
 urn:cts:greekLit:tlg5026.msAim.hmt:1.17
 urn:cts:greekLit:tlg5026.msAim.hmt:1.18
 urn:cts:greekLit:tlg5026.msAim.hmt:1.19
 urn:cts:greekLit:tlg5026.msAint.hmt:1.30
 urn:cts:greekLit:tlg5026.msAint.hmt:1.31
 urn:cts:greekLit:tlg5026.msAint.hmt:1.32
 urn:cts:greekLit:tlg5026.msAil.hmt:1.330
 urn:cts:greekLit:tlg5026.msAil.hmt:1.331