<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title type="main">TEI by Example</title>
        <title type="sub">Module 6: Primary Sources</title>
        <author xml:id="RvdB">Ron Van den Branden</author>
        <editor xml:id="EV">Edward Vanhoutte</editor>
        <editor xml:id="MT">Melissa Terras</editor>
        <sponsor>Association for Literary and Linguistic Computing (ALLC)</sponsor>
        <sponsor>Centre for Data, Culture and Society, University of Edinburgh, UK</sponsor> 
        <sponsor>Centre for Digital Humanities (CDH), University College London, UK</sponsor>
        <sponsor>Centre for Computing in the Humanities (CCH), King’s College London, UK</sponsor>
        <sponsor>Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium</sponsor>
        <funder>
          <address>
            <addrLine>Centre for Scholarly Editing and Document Studies (CTB)</addrLine>
            <addrLine>Royal Academy of Dutch Language and Literature</addrLine>
            <addrLine>Koningstraat 18</addrLine>
            <addrLine>9000 Gent</addrLine>
            <addrLine>Belgium</addrLine>
          </address>
          <email>ctb@kantl.be</email>
        </funder>
        <principal>Edward Vanhoutte</principal>
        <principal>Melissa Terras</principal>
      </titleStmt>
      <publicationStmt>
        <publisher>Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium</publisher>
        <distributor>Centre for Scholarly Editing and Document Studies (CTB) , Royal Academy of Dutch Language and Literature, Belgium</distributor>
        <pubPlace>Gent</pubPlace>
        <address>
          <addrLine>Centre for Scholarly Editing and Document Studies (CTB)</addrLine>
          <addrLine>Royal Academy of Dutch Language and Literature</addrLine>
          <addrLine>Koningstraat 18</addrLine>
          <addrLine>9000 Gent</addrLine>
          <addrLine>Belgium</addrLine>
        </address>
        <availability status="free">
          <p>Licensed under a <ref target="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution ShareAlike 3.0 License</ref>
                    </p>
        </availability>
        <date when="2010-07-09">9 July 2010</date>
      </publicationStmt>
      <seriesStmt>
        <title>TEI by Example.</title>
        <respStmt>
          <name>Edward Vanhoutte</name>
          <resp>editor</resp>
        </respStmt>
        <respStmt>
          <name>Ron Van den Branden</name>
          <resp>editor</resp>
        </respStmt>
        <respStmt>
          <name>Melissa Terras</name>
          <resp>editor</resp>
        </respStmt>
      </seriesStmt>
      <sourceDesc>
        <p>Digitally born</p>
      </sourceDesc>
    </fileDesc>
    <encodingDesc>
      <projectDesc>
        <p>TEI by Example offers a series of freely available online tutorials walking individuals through the different stages in marking up a document in TEI (Text Encoding Initiative). Besides a general introduction to text encoding, step-by-step tutorial modules provide example-based introductions to eight different aspects of electronic text markup for the humanities. Each tutorial module is accompanied with a dedicated examples section, illustrating actual TEI encoding practise with real-life examples. The theory of the tutorial modules can be tested in interactive tests and exercises.</p>
      </projectDesc>
    </encodingDesc>
    <profileDesc>
      <langUsage>
        <language ident="en-GB">en-GB</language>
      </langUsage>
    </profileDesc>
    <revisionDesc>
      <change when="2020-06-28" who="#RvdB">integrated examples in a single file</change>
    </revisionDesc>
  </teiHeader>
  <text xml:id="TBED06v00" type="examples">
    <body>
            <div xml:id="bentham" type="example">
        <head>Jeremy Bentham: manuscript <idno>JB/116/010/001</idno>
                </head>
        <p>This manuscript page was written by the philosopher and jurist Jeremy Bentham (1748–1832).
          <figure xml:id="bentham-fac">
            <graphic url="../../../images/examples/TBED06v00/JB_116_010_001.png"/>
            <head type="legend">The manuscript page <idno>JB/116/010/001</idno>
                        </head>
          </figure>
        </p>
        <p>Since this is a prose text, the basic structural units are encoded as paragraphs (<gi>p</gi>), with line breaks encoded as <gi>lb</gi> where they occur. Marginal notes are encoded with the <gi>note</gi> element; the note occurring on the sixth line in this example contains a simple deletion (the final word <q>disorder</q>), which is marked with the <gi>del</gi> element. This manuscript contains many deletions and additions. Some are simple, such as the addition of the word <q>still</q> in the phrase <q>the same barbarity is still shown</q> on line 6. This is indicated in the encoding by wrapping the added content in a <gi>add</gi> element. More often, deletions and additions occur in combination, in which case the transcriber tries to reflect their order in the nesting of <gi>del</gi> and <gi>add</gi> elements. For example: 
          <egXML xmlns="http://www.tei-c.org/ns/Examples" rend="omit-ns">
            <add>forth, <add>
                                <del>turned adrift</del>
                            </add> and thought no more of <add>
                                <del>
                                    <gap/> out of</del>
                            </add>
                        </add>
          </egXML>
          This fragment is marked as an addition. Yet, Bentham had emended this addition by adding the phrase <q>turned adrift</q> (as a second-level addition). Later, he canceled this addition by deleting it again: that’s why this phrase is encoded inside <gi>add</gi>, with a nesting <gi>del</gi>, indicating that this added text had been deleted entirely. Further, at the end of this fragment, another addition is indicated with an <gi>add</gi> element. Again, this entire second-level addition had been deleted. Yet, since the encoder could not decipher the deleted text anymore, this is indicated by the empty <gi>gap</gi> element, which signals that text was present on the manuscript, but left out from the transcription. In order to record why the transcriber had decided to omit this text, a <att>reason</att> attribute could have been provided on <gi>gap</gi> (with a value such as <val>illegible</val>).</p>
        <p>Where text could still be transcribed, but the encoder is not certain of the reading, this reading is recorded in an <gi>unclear</gi> element, as is the case with the word <q>that</q>, occurring in a deletion on the last but one line.</p>
        <p>Finally, when the encoder spotted obvious mistakes, these have been identified with the <gi>sic</gi> element, as is the case with the word <q>compleat</q>. The encoder could equally have provided a correction by wrapping both the incorrect form (<gi>sic</gi>) and correction (<gi>corr</gi>) inside a <gi>choice</gi> element:
          <egXML xmlns="http://www.tei-c.org/ns/Examples" rend="omit-ns">
            <choice>
              <sic>compleat</sic>
              <corr>complete</corr>
            </choice>
          </egXML>
        </p>
        <figure xml:id="bentham-example">
          <egXML xmlns="http://www.tei-c.org/ns/Examples">
            <text>
              <body>
                <div>
                  <p>home system neglect is as impossible, as attention is in<lb/>
                    the <del>other foreign</del> one.</p>
                  
                  <p>Among savages, when to a certain degree a man<lb/>
                    is sick in body, he is cast <del>out of society, and then</del> <add>forth, <add>
                                                <del>turned adrift</del>
                                            </add> and thought no more of <add>
                                                <del>
                                                    <gap/> out of</del>
                                            </add>
                                        </add>
                                        <lb/>
                    <del>no more thought of.</del> <add>
                                            <del>sight or from thenceforth out of mind.</del>
                                        </add> <del>Among nations</del> <add>In a nation,</add> civilized in other<lb/>
                    respects, the same barbarity is <add>still</add> shown to this <note>at least equally unable class of patients, in whose case the <del>disorder</del>
                                        </note>  <del>patient,</del>
                                        <lb/>
                    <del>
                                            <gap/>
                                        </del> <add>the seat of</add> disorder <del>has</del> <add>is</add> in the mind. Not indeed to every<lb/>
                    <del>order</del> <add>division</add> in this last class <del>of patients</del>. For <add>
                                            <unclear>upon</unclear>
                                        </add> patients labouring<lb/>
                    under <add>
                                            <gap/>
                                        </add> insanity, known <add>
                                            <del>
                                                <unclear>or</unclear> called</del>
                                        </add> and characterized by that name,<lb/>
                    no man has yet <del>thought</del> <add>
                                            <del>proposed</del> prescribed</add> a voyage to New South<lb/>
                    Wales. The inefficacy of such a prescription however<lb/>
                    could not be more <sic>compleat</sic>, in the case of that <del>class</del> description of <lb/>
                    patients, than in has hitherto been, and from the nature of<lb/>
                    the case ever must be, in the instance of <del>
                                            <unclear>that</unclear> <gap/> class</del> <add>the other description</add>
                                        <lb/>
                    to which it continues to be applied.</p>
                  
                </div>
              </body>
            </text>
          </egXML>
          <head type="legend">Encoding of manuscript <idno>JB/116/010/001</idno> by Jeremy Bentham (<ref type="bibl" target="#bentham1802">1802</ref>). TEI XML source available from <ptr target="http://transcribe-bentham.ucl.ac.uk/td/JB/116/010/001?action=edit"/>.</head>
        </figure>
      </div>
        </body>
    <back>
      <div type="bibliography">
        <listBibl>
          <bibl xml:id="bentham1802">
                        <author>Bentham, Jeremy</author>. <date>1802</date>. <title level="u">Manuscript JB/116/010/001</title>. Manuscript encoded and made available by the Transcribe Bentham project at <ptr target="http://transcribe-bentham.ucl.ac.uk/td/JB/116/010/001"/>.</bibl>
          <bibl xml:id="whitman1890">
                        <author>Whitman, Walt</author> <date>1890</date>. <title level="u">After the Argument</title>. Manuscript encoded and made available by the Walt Whitman Archive at <ptr target="http://www.whitmanarchive.org/manuscripts/transcriptions/loc.00001.html"/>.</bibl>
        </listBibl>
      </div>
    </back>
  </text>
  <!-- 
        $Date$
        $Id$  -->
</TEI>