<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="./slides-tei.css"?>
<!DOCTYPE TEI.2 SYSTEM "../../../Lite/DTD/teixlite.dtd" [
<!ATTLIST figure
  width CDATA #IMPLIED
  height CDATA #IMPLIED
  url CDATA #IMPLIED >
<!ATTLIST xref url CDATA #IMPLIED>
<!-- Many browsers do not read an external DTD, so these entities are -->
<!-- declared here (even though they are also declared in -->
<!-- teixlite.dtd) so that those browsers won't throw an error-->
<!ENTITY hellip	"&#x2026;"> <!-- HORIZONTAL ELLIPSIS -->
<!ENTITY mdash	"&#x2014;"> <!-- EM DASH -->
<!ENTITY ndash	"&#x2013;"> <!-- EN DASH -->
]>
<TEI.2>
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title>Basic TEI Tagging</title>
        <author>Julia Flanders</author>
      </titleStmt>
      <publicationStmt>
        <date value="2005-02-25"/>
        <distributor>TEI-Consortium (via website)</distributor>
        <address>
          <addrLine>info@tei-c.org</addrLine>
        </address>
        <availability>
          <p>Copyleft 2005 by Julia Flanders and the
            Brown University Women Writers Project.</p>
        </availability>
        <pubPlace>Given at the winter 2005 TEI Workshop 2005-02-26/27 at the
          University of Illinois at Urbana-Champaign</pubPlace>
      </publicationStmt>
      <sourceDesc>
        <p>None, this TEI Lite P4 XML file is the source.</p>
      </sourceDesc>
    </fileDesc>
    <revisionDesc>
<change><date value="2005-02-28">Mon, 28 Feb 05</date>
	<respStmt><name>Syd Bauman</name>
	<resp>workshop co-presenter</resp></respStmt>
	<item>Updates for use on TEI website</item>
	</change>
    </revisionDesc>
  </teiHeader>
  <text>
    <body>

      <div rend="slide" n="01">
        <head>Prose Basics</head>
        <p>Very similar to HTML: the basic building blocks of prose texts</p>
        <p>Intuitive tag names:</p>
        <list>
          <item><gi>text</gi></item>
          <item><gi>body</gi></item>
          <item><gi>div</gi></item>
          <item><gi>head</gi></item>
          <item><gi>p</gi></item>
          <item><gi>list</gi>, <gi>item</gi></item>
          <item><gi>quote</gi></item>
        </list>
      </div>

      <div rend="slide" n="02">
        <head>Basic phrase-level elements</head>
	<list>
        <item>Names: <code>&lt;name type="person"&gt;</code>, <code>&lt;name
          type="place"&gt;</code></item>
        <item>Dates: <code>&lt;date value="2004-06-25"&gt;</code></item>
        <item>Specialized elements: <gi>term</gi>, <gi>gloss</gi>, <gi>mentioned</gi>,
          <gi>distinct</gi></item>
        <item>Emphasis: <gi>emph</gi></item>
        <item>
          <soCalled>naïve</soCalled> highlighting: <gi>hi</gi></item></list>
      </div>

      <div rend="slide" n="03">
        <head>Useful entity references</head>
	<list>
        <item>&amp;mdash; —</item>
        <item>&amp;lt; and &amp;gt; &lt; and &gt;</item>
	  <item>        <list>
          <head>Accented characters</head>
          <item>&amp;aacute; á</item>
          <item>&amp;agrave; à</item>
          <item>&amp;auml; ä</item>
          <item>&amp;acirc; â</item>
          <item>&amp;atilde; ã</item>
          <item>&amp;ccedil; ç</item>
        </list></item>
</list>      </div>

      <div rend="slide" n="04">
        <head>Simple prose example&hellip;</head>
        <eg><![CDATA[<div>
  <head>The Gettysburg Address</head>
  <p>Fourscore and seven years ago,&hellip;</p>
</div>]]></eg>
      </div>

      <div rend="slide" n="05">
        <head>Simple prose example with a list and names</head>
        <eg><![CDATA[<div type="essay">
  <head>My trip out west</head>
  <p>There are really five good reasons, at least,
    to like <name type="place">Urbana</name>:
  <list>
    <item>The people</item>
    <item>The food</item>
    <item>The scenery</item>
    <item>The weather</item>
    <item><name type="organization">GSLIS</name>!</item>
   </list></p>
</div>]]></eg>
      </div>

      <div rend="slide" n="06">
        <head>TEI Document Structures</head>
        <p/>
      </div>

      <div rend="slide" n="07">
        <head>The big picture&hellip;</head>
        <eg><![CDATA[<TEI.2>
  <teiHeader> <!-- ... --> </teiHeader>
  <text>
    <body>
      <div> <!-- ... --> </div>
      <div> <!-- ... --> </div>
    </body>
  </text>
</TEI.2>]]></eg>
      </div>

      <div rend="slide" n="08">
        <head>
          <gi>front</gi>, <gi>body</gi>, and <gi>back</gi>
        </head>
        <eg><![CDATA[<TEI.2>
  <teiHeader> <!-- ... --> </teiHeader>
  <text>
    <front> <!-- front matter -->              </front>
    <body>  <!-- the main body of the text --> </body>
    <back>  <!-- back matter -->               </back>
  </text>
</TEI.2>]]></eg>
      </div>

      <div rend="slide" n="09">
        <head>Basic structure of <gi>div</gi>
        </head>
        <p>Start with <soCalled>divtop</soCalled> stuff: <list>
            <item>
              <gi>opener</gi> (salutation, dateline )</item>
            <item>
              <gi>head</gi>
            </item>
            <item>
              <gi>argument</gi>
            </item>
            <item>
              <gi>epigraph</gi>
            </item>
          </list></p>
        <p>&hellip;that is, things that belong at the top of a division</p>
      </div>

      <div rend="slide" n="10">
        <head>More <gi>div</gi></head>
        <p>Then the main part of the <gi>div</gi>
          <list>
            <item>Paragraphs</item>
            <item>Line groups</item>
            <item>Dramatic speeches</item>
            <item>Other chunky things</item>
          </list></p>
        <p>&hellip;that is, the stuff that goes in the middles of things</p>
      </div>

      <div rend="slide" n="11">
        <head>More <gi>div</gi></head>
        <p>Then end with <soCalled>divbot</soCalled> stuff: <list>
            <item>
              <gi>closer</gi>
            </item>
            <item>
              <gi>trailer</gi>
            </item>
            <item>
              <gi>byline</gi>
            </item>
            <item>
              <gi>salute</gi>
            </item>
            <item>
              <gi>dateline</gi>
            </item>
          </list></p>
        <p>&hellip;that is, the things that tend to come at the ends of divisions.</p>
      </div>

      <div rend="slide" n="12">
        <head>The catch&hellip;</head>
        <p>Once you've had <q>divbot</q>, you can't go back to the things that go in the middle.</p>
      </div>

      <div rend="slide" n="13">
        <head>More complex encoding</head>
        <p/>
      </div>

      <div rend="slide" n="14">
        <head>Phrase-level markup</head>
        <p>
          <list>
            <item>Names of various sorts: <gi>persName</gi>,
              <gi>placeName</gi>, <gi>orgName</gi>
            </item>
            <item>
              <gi>date</gi> and <ident type="attrName">value</ident>
            </item>
            <item>Foreign words: <gi>foreign</gi> and the <ident type="attrName">lang</ident>
              attribute</item>
            <item>Quotations: <gi>q</gi> and <gi>quote</gi>
            </item>
            <item>Bibliographic citations: <gi>bibl</gi>
            </item>
          </list></p>
      </div>

      <div rend="slide" n="15">
        <head>Simple verse</head>
        <list>
          <item>
            <gi>l</gi> as the fundamental unit: the verse line</item>
          <item>
            <gi>lg</gi> to encode groups of metrical lines with <ident type="attrName">type</ident>
            to classify them</item>
        </list>
      </div>

      <div rend="slide" n="16">
        <head>Poetry consists of lines of verse: <gi>l</gi></head>
        <eg><![CDATA[<l>A bird came down the walk,</l>
<l>He did not know I saw</l>
<l>He bit an angleworm in half</l>
<l>And ate the fellow raw.</l>]]></eg>
      </div>

      <div rend="slide" n="17">
        <head>Verse lines form line groups: <gi>lg</gi>
        </head>
        <eg><![CDATA[<lg>
  <l>A bird came down the walk,</l>
  <l>He did not know I saw</l>
  <l>He bit an angleworm in half</l>
  <l>And ate the fellow raw.</l>
</lg>]]></eg>
      </div>

      <div rend="slide" n="18">
        <head>The type= attribute gives detail</head>
        <eg><![CDATA[<lg type="quatrain">
  <l>A bird came down the walk,</l>
  <l>He did not know I saw</l>
  <l>He bit an angleworm in half</l>
  <l>And ate the fellow raw.</l>
</lg>]]></eg>
      </div>

      <div>
        <head>Drama</head>
        <p>
          <list>
            <item>
              <gi>div type="act"</gi> and <gi>div type="scene"</gi>
            </item>
            <item>
              <gi>sp</gi> for dramatic speeches</item>
            <item>
              <gi>speaker</gi> for speaker labels</item>
            <item>
              <gi>stage</gi> for stage directions</item>
            <item>Inside <gi>sp</gi>, can use <gi>p</gi> or <gi>lg</gi> (for prose or verse)</item>
          </list></p>
      </div>

      <div rend="slide" n="19">
        <head>Drama consists of speeches&hellip;</head>
        <eg><![CDATA[<sp>
  <p>If you have that Art, it is an Art that only you, 
  and no other man, hath as yet found  out; but the 
  best way is to woo her, and then  wed her if you can.</p>
</sp>]]></eg>
      </div>

      <div rend="slide" n="20">
        <head>&hellip;and speakers&hellip;</head>
        <eg><![CDATA[<sp>
  <speaker>Worm-man</speaker>
  <p>If you have that Art, it is an Art that only you, 
  and no other man, hath as yet found  out; but the 
  best way is to woo her, and then  wed her if you can.</p>
</sp>]]></eg>
      </div>

      <div rend="slide" n="21">
        <head>&hellip;and stage directions&hellip;</head>
        <eg><![CDATA[<sp>
  <speaker>Worm-man</speaker>
  <stage>Insinuatingly</stage>
  <p>If you have that Art, it is an Art that only you, 
  and no other man, hath as yet found  out; but the 
  best way is to woo her, and then  wed her if you can.</p>
</sp>]]></eg>
      </div>

      <div rend="slide" n="22">
        <head>&hellip;more detail&hellip;</head>
        <eg><![CDATA[<sp who="worm">
  <speaker>Worm-man</speaker>
  <stage type="novelistic">Insinuatingly</stage>
  <p>If you have that Art, it is an Art that only you, 
  and no other man, hath as yet found  out; but the 
  best way is to woo her, and then  wed her if you can.</p>
  </sp>]]></eg>
      </div>

      <div rend="slide" n="23">
        <head>Drama can also be poetical</head>
        <eg><![CDATA[<sp who="Ob">
  <speaker>Oberon</speaker>
  <lg>
    <l>I know a bank where the wild thyme blows</l>
    <l>Where oxlips and the nodding violet grows,</l>
    <l>Quite o'er-canopied with luscious woodbine,</l>    
    <l>With sweet musk-roses and with eglantine.</l>
  </lg>
</sp>]]></eg>
      </div>

      <div rend="slide" n="24">
        <head>Letters</head>
        <p>
          <gi>opener</gi> serves to group together the things that happen at the top of letters: <list>
            <item><gi>dateline</gi></item>
            <item><gi>salute</gi></item>
            <item><gi>byline</gi></item>
          </list></p>
        <p>
          <gi>closer</gi> groups together the things that happen at the bottom of letters: <list>
            <item><gi>dateline</gi></item>
            <item><gi>salute</gi></item>
            <item><gi>signed</gi></item>
          </list></p>
      </div>

      <div rend="slide" n="25">
        <head>Sample letter</head>
        <eg><![CDATA[<div type="letter">
  <opener>
    <dateline>
      <date value="2005-02-21">February 21, 2005</date>, 
      <name type="place">Cheltenham Lodge</name>
    </dateline>
    <salute>My dear Smitty,</salute>
  </opener>
  <p>What delightful piglets were born today!</p>
  <closer>
    <salute>Yours ever,</salute>
    <signed>Digbert</signed></closer>
  </div>]]></eg>
      </div>

    </body>
  </text>
</TEI.2>
