Chartes-TNAH / tite-live

0 stars 3 forks source link

Le TEI Header #18

Closed aimelle closed 6 years ago

aimelle commented 6 years ago

J'ai décidé de faire une seule issue pour les questions et problèmes divers qui se posent quant au TEI Header, mais quand même ça se rattache un peu à l'issue #6 puisqu'on retrouve la questions des entités.

Juste pour aide à la visualisation je copie le code que j'ai du coup actuellement dans mon fichier cobaye (j'ai ce que je supprimerais / remplacerais en commentaires <!-- -->) :

<teiHeader type="text">

    <fileDesc>
        <titleStmt>
            <title>Ab urbe condita, books 1-10</title>
            <author n="Liv.">Titus Livius (Livy)</author>

            <!-- &responsibility; -->
            <respStmt>
                <name/>
                <resp/>
            </respStmt>

            <!-- &fund.NEH; -->
            <funder>The National Endowment for the Humanities</funder>
        </titleStmt>

        <extent/>

        <!-- &Perseus.publish; -->
        <publicationStmt>
            <publisher>Trustees of Tufts University</publisher>
            <pubPlace>Medford, MA</pubPlace>
            <authority>Perseus Project</authority>
        </publicationStmt>

        <sourceDesc>
            <listBibl>
                <biblStruct>
                    <monogr>
                        <title>Titi Livi ab urbe condita libri editionem priman curavit Guilelmus
                            Weissenborn editio altera auam curavit Mauritius Mueller Pars I. Libri
                            I-X. Editio Stereotypica</title>
                        <author>Titus Livius</author>
                        <editor>W. Weissenborn</editor>
                        <editor>H. J. M<!-- &uuml; -->ller</editor>
                        <imprint>
                            <pubPlace>Leipzig</pubPlace>
                            <publisher>Teubner</publisher>
                            <date>1898</date>
                        </imprint>
                        <biblScope type="volume">1</biblScope>
                    </monogr>
                </biblStruct>
            </listBibl>
        </sourceDesc>
    </fileDesc>

    <encodingDesc>
        <refsDecl>
            <p/>
            <!-- <state delim="." unit="book"/>
        <state delim="." type="textpart" subtype="chapter"/>
        <state type="textpart" subtype="section"/> -->
        </refsDecl>
    </encodingDesc>

    <profileDesc>
        <langUsage>
            <language ident="la">Latin</language>
            <language ident="en">English</language>
            <language ident="de">German</language>
            <language ident="grc">Greek</language>
            <!-- <language id="la">Latin
        </language><language id="en">English
        </language><language id="de">German
        </language><language id="greek">Greek</language> -->
        </langUsage>
    </profileDesc>

    <revisionDesc>
        <!-- <change>
        <date>2006/7/19</date>
        <respStmt><name>Gregory Crane</name><resp>ed.</resp></respStmt>
        <item></item></change> -->
        <change when="2006-07-19" who="Gregory Crane">ed.</change>
        <change when="2018-02-07" who="Marie-Laurence Bonhomme">(1) Mise en place du lien avec le
            schema tei-epidoc.rng. <lb/>(2) Transformation de la balise racine TEI.2 en TEI.
            <lb/>(3) Transformation des balises div1 en div. <lb/>(4) Transformation des balises :
            type="book" ==> type="textpart" subtype="book" ; milestone ==> div ; unit="chapter" ==>
            type="textpart" subtype="chapter" ; unit="section" ==> type="textpart"
            subtype="section". <lb/>(5) Transformation des paragraphes en balises vides (sauf dans
            l'INDEX.) <lb/>(6) Transformation des balises vides CHAPTER et SECTION en balises
            ouvrantes et fermantes. </change>
    </revisionDesc>
</teiHeader>
aimelle commented 6 years ago

Coucou @lafrering @AlyxTaj, me voilà pour vous proposer un TEI Header :

<teiHeader type="text">
    <fileDesc>
        <titleStmt>
            <title>Ab urbe condita, books 1-10</title>
            <author n="Liv.">Titus Livius (Livy)</author>
            <respStmt>
                <name xml:id="GregoryCrane">Gregory Crane</name>
                <resp>Edition</resp>
            </respStmt>
            <respStmt>
                <name xml:id="MLBonhomme">Marie-Laurence Bonhomme</name>
                <resp>Passage de TEI P4 à Epidoc</resp>
            </respStmt>
            <respStmt>
                <name xml:id="LeaFrering">Léa Frering</name>
                <resp>Passage de TEI P4 à Epidoc</resp>
            </respStmt>
            <respStmt>
                <name xml:id="AlyxTJ">Alyx Taounza-Jeminet</name>
                <resp>Passage de TEI P4 à Epidoc</resp>
            </respStmt>
            <funder>The National Endowment for the Humanities</funder>
        </titleStmt>
        <extent/>

        <publicationStmt>
            <publisher>Trustees of Tufts University</publisher>
            <pubPlace>Medford, MA</pubPlace>
            <authority>Perseus Project</authority>
        </publicationStmt>

        <sourceDesc>
            <listBibl>
                <biblStruct>
                    <monogr>
                        <title>Titi Livi ab urbe condita libri editionem priman curavit
                            Guilelmus Weissenborn editio altera auam curavit Mauritius Mueller
                            Pars I-IV. Libri I-XL. Editio Stereotypica</title>
                        <author>Titus Livius</author>
                        <editor>W. Weissenborn</editor>
                        <editor>H. J. Müller</editor>
                        <imprint>
                            <pubPlace>Leipzig</pubPlace>
                            <publisher>Teubner</publisher>
                            <date>1898</date>
                        </imprint>
                        <biblScope type="volume">1-4</biblScope>
                    </monogr>
                </biblStruct>
            </listBibl>
        </sourceDesc>
    </fileDesc>
    <encodingDesc>
        <refsDecl>
            <!-- la capitainisation -->
            <cRefPattern matchPattern="" replacementPattern=""/>
        </refsDecl>
    </encodingDesc>
    <profileDesc>
        <langUsage>
            <language ident="la">Latin</language>
            <language ident="en">English</language>
            <language ident="de">German</language>
            <language ident="grc">Greek</language>
        </langUsage>
    </profileDesc>
    <revisionDesc>
        <change when="2006-07-19" who="Gregory Crane">ed.</change>
        <change when="2018-02-07" who="Marie-Laurence Bonhomme">(1) Linking the tei-epidoc.rng
            schema to this document.<lb/>(2) Replacing the TEI.2 tag with the TEI tag.<lb/>(3)
            Replacing the div1 tags with div tags.<lb/>(4) Replacing tags : type="book" ==>
            type="textpart" subtype="book" ; milestone ==> div ; unit="chapter" ==>
            type="textpart" subtype="chapter" ; unit="section" ==> type="textpart"
            subtype="section".<lb/>(5) Replacing p tags with empty p tags (except in the INDEX
            chapters.)<lb/>(6) Replacing empty CHAPTER and SECTION tags with opening and closing
            tags.</change>
        <change when="2018-02-09" who="Marie-Laurence Bonhomme">(1) Translating my first
            changelog in English + updating the Gregory Crane changelog to fit the Epidoc
            schema.<lb/>(2) Replacing the "corr sic" tags with choice, corr and sic
            tags.<lb/>(3) Replacing the "id" attributes in pb tags with n attributes, and the
            "p.x" content of those attributes with only the page number, without "p.".<lb/>(4)
            Adding p tags inside sections and "periocha" books so that no div tag directly
            contains text.<lb/>(5) Removing overlapping and empty "hi" tags.<lb/>(6) Removing
            unnecessary empty spaces.</change>
        <change when="2018-02-19" who="Marie-Laurence Bonhomme">(1) Replacing entities with the
            corresponding characters.<lb/>(2) Encoding the TEI Header.</change>
    </revisionDesc>
</teiHeader>

Les issues auxquelles se référer : issue #6 pour les entités, issue #45 pour la perspective d'unification en un seul fichier (il faudra du coup modifier les changelogs pour qu'on puisse les unifier), issue #44 pour l'encodage UTF-8, et cette issue-ci évidemment.