Skip to content

Commit

Permalink
Merge pull request #1608 from PerseusDL/grc_conversion
Browse files Browse the repository at this point in the history
(grc_conversion) EpiDoc and CTS conversion
  • Loading branch information
lcerrato authored Apr 1, 2024
2 parents 067e584 + 83674df commit 2ba95c0
Show file tree
Hide file tree
Showing 15 changed files with 1,217 additions and 2,447 deletions.
1 change: 0 additions & 1 deletion data/tlg0086/tlg003/tlg0086.tlg003.perseus-grc2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@
<pubPlace>Oxford</pubPlace>
<date>1920</date>
</imprint>
<!--<biblScope/>-->
</monogr>
<series>
<title>Oxford Classical Texts</title>
Expand Down
12 changes: 2 additions & 10 deletions data/tlg0086/tlg009/tlg0086.tlg009.perseus-grc2.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,31 +42,23 @@
<pubPlace>Leipzig</pubPlace>
<date>1884</date>
</imprint>
<!--<bibScope/>-->
</monogr>
<!--<series/>-->

<ref target="https://archive.org/details/aristotelisethic00aris_1/page/n43/mode/2up">Internet Archive</ref>
</biblStruct>
</sourceDesc>
</fileDesc>

<encodingDesc>
<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="section" 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 book and section.</p>
</cRefPattern>
<cRefPattern n="book" matchPattern="(\w+)" replacementPattern="#xpath(/tei:TEI/tei:text/tei:body/tei:div/tei:div[@n='$1'])">
<p>This pointer pattern extracts book.</p>
</cRefPattern>
</refsDecl>

<!--<refsDecl doctype="TEI.2">
<state unit="book"/>
<state unit="section"/>
</refsDecl>-->
</encodingDesc>

<profileDesc>
Expand Down
37 changes: 8 additions & 29 deletions data/tlg0086/tlg010/__cts__.xml
Original file line number Diff line number Diff line change
@@ -1,30 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:work xmlns:ti="http://chs.harvard.edu/xmlns/cts" groupUrn="urn:cts:greekLit:tlg0086" projid="greekLit:tlg010" urn="urn:cts:greekLit:tlg0086.tlg010" xml:lang="grc">

<ti:title xml:lang="eng">Nicomachean Ethics</ti:title>

<ti:edition projid="greekLit:perseus-grc1" urn="urn:cts:greekLit:tlg0086.tlg010.perseus-grc1" workUrn="urn:cts:greekLit:tlg0086.tlg010">

<ti:label xml:lang="eng">Nicomachean Ethics (perseus-grc1)</ti:label>

<ti:description xml:lang="eng">Perseus:bib:oclc,6838264, ed. J. Bywater,
Aristotle&amp;apos;s Ethica Nicomachea. Oxford, Clarendon Press.
1894.</ti:description>

<ti:memberof collection="Perseus:collection:Greco-Roman"/>

</ti:edition>

<ti:translation projid="greekLit:perseus-eng1" urn="urn:cts:greekLit:tlg0086.tlg010.perseus-eng1" xml:lang="eng" workUrn="urn:cts:greekLit:tlg0086.tlg010">

<ti:label xml:lang="eng">Nicomachean Ethics (perseus-eng1)</ti:label>

<ti:description xml:lang="eng">Perseus:bib:oclc,39541390, Perseus:bib:isbn,0674990811,
Aristotle in 23 Volumes, Vol. 19, translated by H. Rackham. Cambridge, MA,
Harvard University Press; London, William Heinemann Ltd. 1934.</ti:description>

<ti:memberof collection="Perseus:collection:Greco-Roman-protected"/>

</ti:translation>

</ti:work>
<ti:work xmlns:ti="http://chs.harvard.edu/xmlns/cts" groupUrn="urn:cts:greekLit:tlg0086" xml:lang="grc" urn="urn:cts:greekLit:tlg0086.tlg010">
<ti:title xml:lang="eng">Nicomachean Ethics</ti:title>

<ti:edition urn="urn:cts:greekLit:tlg0086.tlg010.perseus-grc2" workUrn="urn:cts:greekLit:tlg0086.tlg010" xml:lang="grc">
<ti:label xml:lang="grc">Ἠθικὰ Νικομάχεια</ti:label>
<ti:description xml:lang="mul">Aristotle. Aristotelis Ethica Nicomachea. Bywater, Ingram, editor. Oxford: Clarendon Press, 1894.</ti:description>
</ti:edition>
</ti:work>
14 changes: 0 additions & 14 deletions data/tlg0086/tlg010/tlg0086.tlg010.perseus-grc1.tracking.json

This file was deleted.

1,354 changes: 0 additions & 1,354 deletions data/tlg0086/tlg010/tlg0086.tlg010.perseus-grc1.xml

This file was deleted.

384 changes: 384 additions & 0 deletions data/tlg0086/tlg010/tlg0086.tlg010.perseus-grc2.xml

Large diffs are not rendered by default.

9 changes: 9 additions & 0 deletions data/tlg0086/tlg025/__cts__.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<ti:work xmlns:ti="http://chs.harvard.edu/xmlns/cts" groupUrn="urn:cts:greekLit:tlg0086" xml:lang="grc" urn="urn:cts:greekLit:tlg0086.tlg025">
<ti:title xml:lang="eng">Metaphysics</ti:title>

<ti:edition urn="urn:cts:greekLit:tlg0086.tlg025.perseus-grc2" workUrn="urn:cts:greekLit:tlg0086.tlg025" xml:lang="grc">
<ti:label xml:lang="grc">τὰ Μετὰ τὰ Φυσικά</ti:label>
<ti:description xml:lang="mul">Aristotle. Aristotle's Metaphysics, Vol. 1-2. Ross, William David, editor. Oxford: Clarendon Press, 1924.</ti:description>
</ti:edition>
</ti:work>
14 changes: 0 additions & 14 deletions data/tlg0086/tlg025/tlg0086.tlg025.perseus-grc1.tracking.json

This file was deleted.

731 changes: 0 additions & 731 deletions data/tlg0086/tlg025/tlg0086.tlg025.perseus-grc1.xml

This file was deleted.

551 changes: 551 additions & 0 deletions data/tlg0086/tlg025/tlg0086.tlg025.perseus-grc2.xml

Large diffs are not rendered by default.

29 changes: 4 additions & 25 deletions data/tlg0086/tlg029/__cts__.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,29 +3,8 @@

<ti:title xml:lang="eng">Economics</ti:title>

<ti:edition projid="greekLit:perseus-grc1" urn="urn:cts:greekLit:tlg0086.tlg029.perseus-grc1" workUrn="urn:cts:greekLit:tlg0086.tlg029">

<ti:label xml:lang="eng">Economics (perseus-grc1)</ti:label>

<ti:description xml:lang="eng">Perseus:bib:oclc,37210208, Perseus:bib:isbn,0674993179,
Aristotle. Aristotle in 23 Volumes, Vol. 18. Harvard University Press,
Cambridge, Mass., London. 1935.</ti:description>

<ti:memberof collection="Perseus:collection:Greco-Roman"/>

</ti:edition>

<ti:translation projid="greekLit:perseus-eng1" urn="urn:cts:greekLit:tlg0086.tlg029.perseus-eng1" xml:lang="eng" workUrn="urn:cts:greekLit:tlg0086.tlg029">

<ti:label xml:lang="eng">Economics (perseus-eng1)</ti:label>

<ti:description xml:lang="eng">Perseus:bib:oclc,37210208, Perseus:bib:isbn,0674993179,
Aristotle. Aristotle in 23 Volumes, Vol. 18, translated by G.C. Armstrong.
Cambridge, MA, Harvard University Press; London, William Heinemann Ltd.
1935.</ti:description>

<ti:memberof collection="Perseus:collection:Greco-Roman"/>

</ti:translation>

<ti:edition urn="urn:cts:greekLit:tlg0086.tlg029.perseus-grc2" workUrn="urn:cts:greekLit:tlg0086.tlg029" xml:lang="grc">
<ti:label xml:lang="grc">Οἰκονομικά</ti:label>
<ti:description xml:lang="mul">Aristotle. Metaphysics; Oeconomica and Magna Moralia. Armstrong, George Cyril, editor. London: William Heinemann Ltd.; Cambridge, MA: Harvard University Press, 1935.</ti:description>
</ti:edition>
</ti:work>
14 changes: 0 additions & 14 deletions data/tlg0086/tlg029/tlg0086.tlg029.perseus-grc1.tracking.json

This file was deleted.

Loading

0 comments on commit 2ba95c0

Please sign in to comment.