Skip to content

Commit

Permalink
Merge pull request #1668 from PerseusDL/grc_conversion
Browse files Browse the repository at this point in the history
(grc_conversion) EpiDoc and CTS file conversion
  • Loading branch information
lcerrato authored Sep 21, 2024
2 parents 8e9ee9d + 856bdfc commit 788dd60
Show file tree
Hide file tree
Showing 16 changed files with 1,164 additions and 6,173 deletions.
4 changes: 2 additions & 2 deletions data/tlg0086/tlg034/__cts__.xml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@


<ti:translation projid="greekLit:digicorpus-ara1" urn="urn:cts:greekLit:tlg0086.tlg034.digicorpus-ara1" xml:lang="ara" workUrn="urn:cts:greekLit:tlg0086.tlg034">
<ti:label xml:lang="mul">Ars Poetica (Arabic)</ti:label>
<ti:description xml:lang="mul">Arisṭūṭālīs: Fann al-šiʿr, maʿa l-tarǧamah al-ʿarabīyah al-qadīmah wa-šurūḥ al-Fārābī wa-Ibn Sīnā wa-Ibn Rušd. ed. ʿAbd al-Raḥmān Badawī. Cairo, Maktabat al-nahḍah al-miṣrīyah, 1953. </ti:description>
<ti:label xml:lang="mul">Ars Poetica</ti:label>
<ti:description xml:lang="mul">Arisṭūṭālīs: Fann al-šiʿr, maʿa l-tarǧamah al-ʿarabīyah al-qadīmah wa-šurūḥ al-Fārābī wa-Ibn Sīnā wa-Ibn Rušd. ed. ʿAbd al-Raḥmān Badawī. Cairo, Maktabat al-nahḍah al-miṣrīyah, 1953.</ti:description>

</ti:translation>

Expand Down
11 changes: 0 additions & 11 deletions data/tlg0086/tlg034/tlg0086.tlg034.digicorpus-ara1.tracking.json

This file was deleted.

59 changes: 39 additions & 20 deletions data/tlg0086/tlg034/tlg0086.tlg034.digicorpus-ara1.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="http://www.stoa.org/epidoc/schema/latest/tei-epidoc.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0">
<teiHeader>
<teiHeader xml:lang="eng">
<fileDesc>
<titleStmt>
<title>Poetica</title>
<title xml:lang="lat">Ars Poetica</title>
<author>Aristotle</author>
<editor>ʿAbd al-Raḥmān Badawī</editor>
<editor role="translator">ʿAbd al-Raḥmān Badawī</editor>
<funder>Andrew W. Mellon Foundation</funder>
</titleStmt>
<publicationStmt>
<publisher>Tufts University/Harvard University</publisher>
<pubPlace>Boston</pubPlace>
<authority>Digicorpus</authority>
</publicationStmt>

<publicationStmt>
<publisher>Trustees of Tufts University</publisher>
<pubPlace>Medford, MA</pubPlace>
<authority>Perseus Digital Library Project</authority>
<publisher>Harvard University</publisher>
<pubPlace>Cambridge, MA</pubPlace>
<authority>Digital Corpus for Graeco-Arabic Studies</authority>
<date type="release" when="2015" cert="low">Digital Corpus for Graeco-Arabic Studies</date>
<idno type="filename">tlg0086.tlg034.digicorpus-ara1.xml</idno>
<availability>
<licence target="https://creativecommons.org/licenses/by-sa/4.0/">Available under a Creative Commons Attribution-ShareAlike 4.0 International License</licence>
</availability>
</publicationStmt>

<sourceDesc>
<biblStruct>
<monogr>
Expand All @@ -30,14 +41,21 @@
</biblStruct>
</sourceDesc>
</fileDesc>

<encodingDesc>
<refsDecl n="CTS">
<cRefPattern n="chapter"
matchPattern="(\\w+)"
replacementPattern="#xpath(/tei:TEI/tei:text/tei:body/tei:div[@n=\'$1\'])">
<p>This pointer pattern extracts chapter</p>
</cRefPattern>

<refsDecl n="CTS">
<!--<cRefPattern n="section" matchPattern="(\w+).(\w+).(\w+)" replacementPattern="#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1']/tei:div[@n='$2']/tei:div[@n='$3'])">
<p>This pointer pattern extracts book and chapter and section.</p>
</cRefPattern>
<cRefPattern n="subchapter" matchPattern="(\w+).(\w+)" replacementPattern="#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1']/tei:div[@n='$2'])">
<p>This pointer pattern extracts chapter and subchapter.</p>
</cRefPattern>-->
<cRefPattern n="chapter" matchPattern="(\w+)" replacementPattern="#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1'])">
<p>This pointer pattern extracts chapter.</p>
</cRefPattern>
</refsDecl>

<editorialDecl default="true">
<correction status="high" default="true" method="silent">
<p>Data Entry</p>
Expand All @@ -50,16 +68,17 @@
</encodingDesc>
<profileDesc>
<langUsage default="true">
<language ident="arabic">Arabic</language>
<language ident="ara">Arabic</language>
</langUsage>
</profileDesc>
<revisionDesc>
<change when="2024-09-18" who="Lisa Cerrato">Minor revisions to header.</change></revisionDesc>
</teiHeader>

<text xml:lang="arabic"
xml:id="tlg0086.tlg034.alpheios-text-ara2"
n="urn:cts:greekLit:tlg0086.tlg034.digicorpus-ara1">
<text>

<body>

<div type="translation" xml:lang="ara" n="urn:cts:greekLit:tlg0086.tlg034.digicorpus-ara1">
<pb n="85"/>
<div type="textpart" subtype="chapter" n="1">
<p> بسم الله الرحمن الرحيم </p>
Expand Down Expand Up @@ -1027,7 +1046,7 @@
أوديفوس الذى وضعه سوفاقلس فى الأفى التى له فى هذه التى إيلياذا هى فيها، فى التشبيه
والمحاكاة التى للذين يصنعون الأفى. والعلامة هى هذه: وهى أن الواحدة من صنعة أفى أنها كانت
قد تحدث مديحات كثيرة... </p>
</div>
</div></div>
</body>
</text>
</TEI>
9 changes: 9 additions & 0 deletions data/tlg0094/tlg001/__cts__.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<ti:work xmlns:ti="http://chs.harvard.edu/xmlns/cts" groupUrn="urn:cts:greekLit:tlg0094" xml:lang="grc" urn="urn:cts:greekLit:tlg0094.tlg001">
<ti:title xml:lang="lat">De Fluviis</ti:title>

<ti:translation urn="urn:cts:greekLit:tlg0094.tlg001.perseus-eng2" workUrn="urn:cts:greekLit:tlg0094.tlg001" xml:lang="eng">
<ti:label xml:lang="eng">Of the Names of Rivers and Mountains, and of Such Things as are to be Found Therein</ti:label>
<ti:description xml:lang="eng">[Pseudo-]Plutarch. Plutarch's Morals, Vol. 5. Goodwin, William W., editor. White, R., translator. Boston: Little, Brown, and Company; Cambridge, Press of John Wilson and Son, 1874.</ti:description>
</ti:translation>

</ti:work>
14 changes: 0 additions & 14 deletions data/tlg0094/tlg001/tlg0094.tlg001.perseus-eng1.tracking.json

This file was deleted.

Loading

0 comments on commit 788dd60

Please sign in to comment.