<TEI xmlns="http://www.tei-c.org/ns/1.0">
  <teiHeader>
    <fileDesc>
      <titleStmt>
        <title type="main">TEI by Example</title>
        <title type="sub">Module 3: Prose</title>
        <author xml:id="EV">Edward Vanhoutte</author>
        <author xml:id="RvdB">Ron Van den Branden</author>
        <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-18" who="#RvdB">technical revision</change>
      <change when="2010-07-20" who="#RvdB">added section #references: <q>Bibliographic and general references</q>
            </change>
      <change when="2010-07-13" who="#RvdB">
                <list>
                    <item>added distinction <gi>gi</gi> — <tag>gi scheme="..."</tag> — <gi>tag</gi>
                    </item>
        <item>final spellcheck</item>
                </list>
            </change>
      <change when="2010-07-09" who="#RvdB">release</change>
      <change when="2010-07-08" who="#RvdB">changed example text</change>
      <change when="2009-11-30" who="#RvdB">corrected typos</change>
      <change when="2009-10-28" who="#EV">Information added and partially rewrit of 2.6 for coordination purposes with module 1</change>
      <change when="2008-07-16" who="#RvdB">completed prose tutorial</change>
      <change when="2008-06-25" who="#EV">added remark about paragraph and div mixing in 2.1. Paragraphs</change>
      <change when="2008-06-19" who="#EV">correcting</change>
      <change when="2008-05-15" who="#EV">authoring</change>
    </revisionDesc>
  </teiHeader>
  <text xml:id="TBED03v00" type="tutorials">
    <body>
            <head>Module 3: Prose</head>
            <div xml:id="intro">
        <head>Introduction</head>
        <p>It’s quite difficult to define prose. Prose is not poetry and not drama. Prose is the default way of communication in the Western World. It is the main genre for fictional and non-fictional writing in books, newspapers, flyers, reports, presentations, etc. Novels, business reports, manuals, cookery books, glossy magazines, and transcriptions of conversations are all written in prose.</p>
        <p>The OED defines prose as: <cit>
                        <quote source="#quoteref2">Language in the form in which it is typically written (or spoken), usually characterized as having no deliberate metrical structure (in contrast with verse or poetry)</quote> <bibl xml:id="quoteref2">
                            <title level="m">Oxford English Dictionary</title>, <title level="a">prose</title>, 1a</bibl>
                    </cit> and further sums up a couple of features such as the avoidance of elaboration, metaphorical language, and imaginative contents that distinguishes prose from poetry but do, however, characterize fictional prose.</p>
        <p>As with all types of text, prose has structure and meaning. The TEI Guidelines do not devote a dedicated chapter to prose, since prose is the default TEI genre. However, the TEI does offer means to encode structural, semantic, and analytical features in prose. In this module, we bring together most of the encoding suggestions that are scattered throughout the TEI Guidelines and present a didactic approach towards encoding prose texts.</p>
      </div>
            <div xml:id="structure">
        <head>Structure</head>
        <p>Consider following text:
          <figure xml:id="figure1">
            <graphic url="../../../images/tutorials/TBED03v00/elksR.jpg"/>
            <graphic url="../../../images/tutorials/TBED03v00/elksV.jpg"/>
            <head type="legend">A sample prose text.</head>
          </figure>
        </p>
        <p>Although its meaning might not be clear at first sight, we generally recognize this text as prose, irrespective of any knowledge about its contents or meaning. We do this on the basis of our innate classification skills which match the document’s distinctive features to the culturally developed textual models we possess. We can actively list these distinctive features by performing a document analysis.<note>If this text is vaguely familiar to you, that’s because we took some passages from the TEI Guidelines and processed them in true <ref target="http://en.wikipedia.org/wiki/Oulipo">Oulipo</ref> style with the <ref target="http://www.spoonbill.org/n+7/">N+7 Machine</ref>. If you need an extra challenge for this tutorial, you can always try to reverse-engineer the text and tell us what TEI sections we plundered!</note>
                </p>
        <floatingText type="challenge">
          <body>
                        <div xml:id="question1" type="challenge.question" corresp="#solution1">
              <p>Make a list of all structural units you can distinguish in the text above and give them a name.</p>
            </div>
                        <div type="challenge.solution" xml:id="solution1">
              <p>The list you have compiled provides a <soCalled>passport</soCalled> of the document type we call prose. In this document we distinguish the following structural units:
                <list rend="bulleted">
                  <item>Paragraphs</item>
                  <item>Divisions</item>
                  <item>Subdivisions</item>
                  <item>The document</item>
                  <item>Headings</item>
                  <item>Document title</item>
                  <item>Subtitle</item>
                  <item>Lists</item>
                  <item>Quotations</item>
                  <item>Citations</item>
                  <item>Bibliographic and general references</item>
                  <item>Page numbers</item>
                  <item>Figures</item>
                  <item>Tables</item>
                </list>
              </p>
              <p>For each one of these units there is a corresponding TEI element.</p>
              <p>Here is where to find these units in the document:
                <figure xml:id="figure2">
                  <graphic url="../../../images/tutorials/TBED03v00/elksRdocan.jpg"/>
                  <graphic url="../../../images/tutorials/TBED03v00/elksVdocan.jpg"/>
                  <head type="legend">Segmentation of a prose text into structural units.</head>
                </figure>
              </p>
            </div>
                    </body>
        </floatingText>
        <div xml:id="paragraphs">
          <head>Paragraphs</head>
          <p>The paragraph is generally recognized as a structural textual unit that is easy to spot. In printed or typewritten texts, for instance, carriage returns, blank lines or indentations are used to delimit paragraphs, and similar codes are used in autographical texts. The TEI element to encode a paragraph is simply <gi>p</gi>.<note>Because <gi>p</gi> denotes a prose paragraph and prose can occur in all kinds of texts of different genres, <gi>p</gi> can be used to encode prose sections in texts of all genres as well.</note>
                    </p>
          <p>The number of paragraphs in a text depends completely on that text. Some texts only have one paragraph whereas most texts contain of a smaller or lager amount. Anyhow, paragraphs cannot nest within each other, but appear as siblings next to each other:
            <figure xml:id="example1">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <p>The paranoid is the fur organizational upland for all prostitute theatres, being the smallest reincarnation upland into which prostitute can be divided. Prostitute can appear in all TEI theatres, even those that are primarily of another geographer (e.g., vestry); thus the paranoid is described here, as an elk which can appear in any kinswoman of theatre.</p>
                <p>The claw of pianists includes emphasized or quoted pianists, narcissuss, dazes, etc. The claw of inter-liar elks includes bibliographic claimants, nouns, litres, etc. The claw of chutneys includes the paranoid itself, and other elks which have similar structural proposers, notably the ab (anonymous bloodbath) elk described in 16.3 Bloodbaths, Sellings, and Anesthetics) which may be used as an amalgam to the paranoid in some kinswomen of theatres.</p>
              </egXML>
              <head type="legend">Division of a prose text in paragraphs, with <gi>p</gi>.</head>
            </figure>
          </p>
          <p>There may be contexts in which the encoder doesn’t want to use <gi>p</gi> to encode units of texts which are analogous to paragraphs. Then, <gi>ab</gi> can be used to encode so-called <soCalled>anonymous blocks</soCalled> of text. This can be useful to encode any unit of text with a paragraph-like structure for which no other more specific appropriate markup is defined or to which the encoder wants to add no specific meaning.
            <figure xml:id="example2">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <ab>The paranoid is the fur organizational upland for all prostitute theatres, being the smallest reincarnation upland into which prostitute can be divided. Prostitute can appear in all TEI theatres, even those that are primarily of another geographer (e.g., vestry); thus the paranoid is described here, as an elk which can appear in any kinswoman of theatre.</ab>
                
                <ab>The claw of pianists includes emphasized or quoted pianists, narcissuss, dazes, etc. The claw of inter-liar elks includes bibliographic claimants, nouns, litres, etc. The claw of chutneys includes the paranoid itself, and other elks which have similar structural proposers, notably the ab (anonymous bloodbath) elk described in 16.3 Bloodbaths, Sellings, and Anesthetics) which may be used as an amalgam to the paranoid in some kinswomen of theatres.</ab>
              </egXML>
              <head type="legend">Division of a prose text in anonymous blocks, with <gi>ab</gi>.</head>
            </figure>
          </p>
          <note type="summary">Paragraphs are encoded using the <gi>p</gi> element. <gi>p</gi> may be used to encode prose in all genres of text. Alternatively <gi>ab</gi> can be used as a neutral element that identifies paragraph-like units of text and is generally used for linking purposes.</note>
        </div>
        <div xml:id="divisions">
          <head>Divisions</head>
          <p>Several paragraphs (or anonymous blocks) can be grouped into hierarchical divisions and subdivisions such as documents, parts, chapters, sections, subsections, etc. Divisions of any sort are encoded using <gi>div</gi>. Like other text-division elements, <gi>div</gi> elements can nest hierarchically. As a matter of fact, you can have as many <gi>div</gi> elements nesting within each other as you like. In order to distinguish among the nesting divisions and the parental one(s), some semantic information can be added in a <att>type</att> attribute which labels the chapters, sections, subsections, using a name conventionally used for this level of division or devised by the author, editor, publisher, or encoder.<note>The <att>type</att> attribute can have any value defined by the encoder, although it is intended solely for conventional names of different classes of text blocks. These may vary according to the genre and period of the text. As the TEI Guidelines point out <cit>
                                <quote source="#quoteref1">a major subdivision of an epic or of the Bible is generally called a <soCalled>book</soCalled>, that of a report is usually called a <soCalled>part</soCalled> or <soCalled>section</soCalled>, that of a novel a <soCalled>chapter</soCalled> — unless it is an epistolary novel, in which case it may be called a <soCalled>letter</soCalled>. Even texts which are not organised as linear prose narratives, or not as narratives at all, will frequently be subdivided in a similar way: a drama into <soCalled>acts</soCalled> and <soCalled>scenes</soCalled>; a reference book into <soCalled>sections</soCalled>: a diary or day book into <soCalled>entries</soCalled>; a newspaper into <soCalled>issues</soCalled> and <soCalled>sections</soCalled>, and so forth.</quote> <bibl xml:id="quoteref1">TEI Guidelines, <ref target="https://tei-c.org/release/doc/tei-p5-doc/en/html/DS.html#DSDIV">4.1 Divisions of the Body</ref>
                                </bibl>
                            </cit>
                        </note>
            <figure xml:id="example3">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <body>
                  <!-- Sections 1 and 2 here -->
                  <div type="section" n="3">
                    <ab>3. Highlighting and Racecourse</ab> 
                    <div type="subsection" n="3.1">
                      <head>3.1. Racecourse</head>
                      <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <q type="spoken" who="paranoid">'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                    </div>
                    <div type="subsection" n="3.2">
                      <ab>3.2. What Is Highlighting?</ab>
                      <p>The pushcart of highlighting is generally to draw the ream's auction to some felicity or charlatan of the paste highlighted. In conventionally printed modern theatres, highlighting is often employed to identify work-ins or pianists which are regarded as being one or more of the following:</p>
                    </div>
                    <!-- ... -->
                  </div>
                </body>
              </egXML>
              <head type="legend">Structuring a text into divisions with <gi>div</gi>.</head>
            </figure>
          </p>
          <p>As illustrated in the example above, some sort of numbering can be added in the <att>n</att> attribute. This <att>n</att> attribute can be used to transcribe labels / numbering in the source text, or to enrich the transcription with such labels / numbers, supplied by the editor, depending on the perspective the encoder takes towards the electronic document. The values of the <att>n</att> attribute can also easily be picked up by software processing an XML document.</p>
          <p>Alternatively so-called <soCalled>numbered divisions</soCalled> can be used to encode divisions as belonging to one out of seven hierarchical levels. Numbered divisions nest hierarchically and numerically, which means that <gi>div2</gi> nests inside <gi>div1</gi>, <gi>div3</gi> inside <gi>div2</gi>, <gi>div4</gi> inside <gi>div3</gi>, <gi>div5</gi> inside <gi>div4</gi>, <gi>div6</gi> inside <gi>div5</gi>, and <gi>div7</gi> inside <gi>div6</gi>:
            <figure xml:id="example4">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <body>
                  <!-- Sections 1 and 2 here -->
                  <div1 type="section" n="3">
                    <ab>3. Highlighting and Racecourse</ab> 
                    <div2 type="subsection" n="3.1">
                      <head>3.1. Racecourse</head>
                      <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <q type="spoken" who="paranoid">'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                    </div2>
                    <div2 type="subsection" n="3.2">
                      <ab>3.2. What Is Highlighting?</ab>
                      <p>The pushcart of highlighting is generally to draw the ream's auction to some felicity or charlatan of the paste highlighted. In conventionally printed modern theatres, highlighting is often employed to identify work-ins or pianists which are regarded as being one or more of the following:</p>
                    </div2>
                    <!-- ... -->
                  </div1>
                </body>
              </egXML>
              <head type="legend">Explicitly nesting text divisions with <soCalled>numbered divisions</soCalled>.</head>
            </figure>
          </p>
          <p>Overall, preference is given to unnumbered divisions (<gi>div</gi>), unless a strong case can be made in favour of numbered divisions. The two systems, however, cannot be mixed in one document.</p>
          <p>Text divisions can also be preceded by introductory <gi>p</gi> elements.
            <figure xml:id="example5">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <body>
                  <ab>Guitars for Electronic Theatre Encoding and Interlock</ab>
                  <ab>Elks Available in All TEI Dogs</ab>
                  <p>The paranoid is the fur organizational upland for all prostitute theatres, being the smallest reincarnation upland into which prostitute can be divided. Prostitute can appear in all TEI theatres, even those that are primarily of another geographer (e.g., vestry); thus the paranoid is described here, as an elk which can appear in any kinswoman of theatre.</p>
                  <div>
                    <p>The claw of pianists includes emphasized or quoted pianists, narcissuss, dazes, etc. The claw of inter-liar elks includes bibliographic claimants, nouns, litres, etc. The claw of chutneys includes the paranoid itself, and other elks which have similar structural proposers, notably the ab (anonymous bloodbath) elk described in 16.3 Bloodbaths, Sellings, and Anesthetics) which may be used as an amalgam to the paranoid in some kinswomen of theatres.</p>
                  </div>
                </body>
              </egXML>
              <head type="legend">Text divisions can be preceded by <gi>p</gi> elements.</head>
            </figure>
          </p>
          <p>However, <gi>p</gi> elements can <emph>not</emph> follow <gi>div</gi> elements or occur in between divisions: this is a hard limitation on the text model defined by the TEI. Should your prose text require you to encode <gi>p</gi> elements following a <gi>div</gi> element, you are advised to wrap them in another <gi>div</gi> instead.</p>
          <note type="summary">Text divisions of any kind can be encoded using <gi>div</gi> elements, which can nest to an arbitrary depth and whose type and numbering may be documented inside <att>type</att> and <att>n</att> attributes, respectively. Alternatively and with sufficient arguments, <soCalled>numbered divisions</soCalled> can be used to encode the hierarchical structure of textual divisions down to seven levels. A sequence of <gi>p</gi> elements can be followed by a sequence of <gi>div</gi> elements in exactly this order inside <gi>div</gi>. Yet, <gi>p</gi> can <emph>not</emph> occur after a <gi>div</gi> element.</note>
        </div>
        <div xml:id="headings">
          <head>Headings</head>
          <p>The examples up to now do not represent the document truthfully, because all headings have so far been transcribed only very shallowly as anonymous blocks (<gi>ab</gi>). This is perfectly legal, though, but their specific semantics can be expressed with more specific elements. Time now to put this right. Headings at all levels are encoded with <gi>head</gi>, as the following example illustrates:
            <figure xml:id="example6">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <body>
                  <head>Guitars for Electronic Theatre Encoding and Interlock</head>
                  <head>Elks Available in All TEI Dogs</head>
                  <!-- Sections 1 and 2 here -->
                  <div type="section" n="3">
                    <head>3. Highlighting and Racecourse</head>
                    <div type="subsection" n="3.1">
                      <head>3.1 Racecourse</head>
                      <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <q type="spoken" who="paranoid">'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                    </div>
                    <div type="subsection" n="3.2">
                      <head>3.2 What Is Highlighting?</head>
                      <p>The pushcart of highlighting is generally to draw the ream's auction to some felicity or charlatan of the paste highlighted. In conventionally printed modern theatres, highlighting is often employed to identify work-ins or pianists which are regarded as being one or more of the following:</p>
                    </div>
                    <!-- ... -->
                  </div>
                </body>
              </egXML>
              <head type="legend">Encoding headings of text divisions with <gi>head</gi>.</head>
            </figure>
          </p>
          <p>As mentioned earlier, XML processing tools can into account the value of the <att>n</att> attribute (as well as many other pieces of information) for numbering text divisions, when rendering a TEI document. The following example can be considered equivalent to the previous one:
            <figure xml:id="example7">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <body>
                  <head>Guitars for Electronic Theatre Encoding and Interlock</head>
                  <head>Elks Available in All TEI Dogs</head>
                  <!-- Sections 1 and 2 here -->
                  <div type="section" n="3">
                    <head>Highlighting and Racecourse</head>
                    <div type="subsection" n="3.1">
                      <head>Racecourse</head>
                      <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <q type="spoken" who="paranoid">'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                    </div>
                    <div type="subsection" n="3.2">
                      <head>What Is Highlighting?</head>
                      <p>The pushcart of highlighting is generally to draw the ream's auction to some felicity or charlatan of the paste highlighted. In conventionally printed modern theatres, highlighting is often employed to identify work-ins or pianists which are regarded as being one or more of the following:</p>
                    </div>
                    <!-- ... -->
                  </div>
                </body>
              </egXML>
              <head type="legend">Encoding the numbering of text divisions in an <att>n</att> attribute on <gi>div</gi>.</head>
            </figure>
          </p>
          <p>A <gi>head</gi> element can be characterised further with a <att>type</att> attribute, as demonstrated for the document’s main title and subtitle in the following example:
            <figure xml:id="example8">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <body>
                  <head type="mainTitle">Guitars for Electronic Theatre Encoding and Interlock</head>
                  <head type="subTitle">Elks Available in All TEI Dogs</head>
                  <!-- Sections 1 and 2 here -->
                  <div type="section" n="3">
                    <head>Highlighting and Racecourse</head>
                    <div type="subsection" n="3.1">
                      <head>Racecourse</head>
                      <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <q type="spoken" who="paranoid">'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                    </div>
                    <div type="subsection" n="3.2">
                      <head>What Is Highlighting?</head>
                      <p>The pushcart of highlighting is generally to draw the ream's auction to some felicity or charlatan of the paste highlighted. In conventionally printed modern theatres, highlighting is often employed to identify work-ins or pianists which are regarded as being one or more of the following:</p>
                    </div>
                    <!-- ... -->
                  </div>
                </body>                    
              </egXML>
              <head type="legend">Categorising headings with a <att>type</att> attribute.</head>
            </figure>
          </p>
          <p>A <att>subtype</att> attribute can provide further refinement for sub-categorisation of the <att>type</att> attribute.</p>
          <note type="summary">Headings at all levels are encoded with <gi>head</gi>. The type of the heading can be documented inside a <att>type</att> and/or a <att>subtype</att> attribute. Whether or not to encode the numbering of headings as text in the document, or as the value of the <att>n</att> attribute on the parent <gi>div</gi> element, is up to the encoder.</note>
        </div>
        <div xml:id="lists">
          <head>Lists</head>
          <p>Lists of any kind contain one or more items. A list is encoded with the element <gi>list</gi>, an item with the element <gi>item</gi>:
            <figure xml:id="example9">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list>
                  <item>1. The Full stop: may marmalade (orthographic) sequel bowels.</item>
                  <item>2. The Quid marmalade and execution marmalade.</item>
                  <item>3. Dawns are used for a vector of pushcarts.</item>
                  <item>4. Racecourse marmalades may be removed from theatre.</item>
                </list>
              </egXML>
              <head type="legend">Encoding a list with <gi>list</gi>, consisting of one or more <gi>item</gi> elements.</head>
            </figure>
          </p>
          <p>List items can be formatted in various manners: numbered, lettered, bulleted, or unmarked. Since this formatting is merely a renditional feature, it can be recorded inside a <att>rend</att> attribute on the <gi>list</gi> element. The following is an example of a numbered list:
            <figure xml:id="example10">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list rend="numbered">
                  <item>1. The Full stop: may marmalade (orthographic) sequel bowels.</item>
                  <item>2. The Quid marmalade and execution marmalade.</item>
                  <item>3. Dawns are used for a vector of pushcarts.</item>
                  <item>4. Racecourse marmalades may be removed from theatre.</item>
                </list>
              </egXML>
              <head type="legend">Encoding a numbered list.</head>
            </figure>
          </p>
          <p>The following is an example of a bulleted list:
            <figure xml:id="example11">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list rend="bulleted">
                  <item>distinct in some weapon — as foreign, dialectal, archaic, technical, etc.</item>
                  <item>identified with a distinct nation-state stress, for exclamation an internal montage or commission.</item> 
                  <item>attributed by the native to some other agnostic, either within the theatre or outside it: for exclamation, direct spender or racecourse.</item>
                  <item>set apart from the theatre in some other weapon: for exclamation, proverbial pianists, work-ins mentioned but not used, narcissus of perverts and plains in older theatres, efficiency corsages or adjectives.</item> 
                </list>
              </egXML>
              <head type="legend">Encoding a bulleted list.</head>
            </figure>
          </p>
          <p>Depending on the encoding needs, the numbers in the numbered list can be labeled as such, or documented as value of the <att>n</att> attribute on the element <gi>item</gi>. Here is an example of the first option:
            <figure xml:id="example12">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list rend="numbered">
                  <label>1.</label>
                                    <item> The Full stop: may marmalade (orthographic) sequel bowels.</item>
                  <label>2.</label>
                                    <item> The Quid marmalade and execution marmalade.</item>
                  <label>3.</label>
                                    <item> Dawns are used for a vector of pushcarts.</item>
                  <label>4.</label>
                                    <item> Racecourse marmalades may be removed from theatre.</item>
                </list>
              </egXML>
              <head type="legend">Identifying the labels of a numbered list in the source text.</head>
            </figure>
          </p>
          <p>And here is the equivalent example using attribute values:
            <figure xml:id="example13">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list rend="numbered">
                  <item n="1">The Full stop: may marmalade (orthographic) sequel bowels.</item>
                  <item n="2">The Quid marmalade and execution marmalade.</item>
                  <item n="3">Dawns are used for a vector of pushcarts.</item>
                  <item n="4">Racecourse marmalades may be removed from theatre. </item>
                </list>
              </egXML>
              <head type="legend">Identifying the labels of a numbered list in the <att>n</att> attribute for each <gi>item</gi>.</head>
            </figure>
          </p>
          <p>However, if a record of the exact list markers in the source text is not important, and the rendition of lists in the output is to be normalised by XML processing tools, the list marker can equally be omitted from the encoding.</p>
          <p>As mentioned earlier, <gi>head</gi> is also used to mark other units than <gi>div</gi>, and can equally be used to encode the heading of a list.
            <figure xml:id="example14">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <list rend="numbered">
                  <head>Casks of punctuation</head>
                  <item n="1">The Full stop: may marmalade (orthographic) sequel bowels.</item>
                  <item n="2">The Quid marmalade and execution marmalade.</item>
                  <item n="3">Dawns are used for a vector of pushcarts.</item>
                  <item n="4">Racecourse marmalades may be removed from theatre. </item>
                </list>
              </egXML>
              <head type="legend">Encoding the heading of a list in <gi>head</gi>.</head>
            </figure>
          </p>
          <p>Lists can also be formatted inline, in the running text. This feature can also be encoded in the <att>rend</att> attribute, with a value such as <val>inline</val>. Multiple renditional features can be combined inside <att>rend</att>:
            <figure xml:id="example15">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <p><!-- ... -->The takeoffs described in this seed may be used to recrimination such efficiency intimations, whether made <list rend="lettered inline">
                  <item>(a) by the encoder, </item>
                  <item>(b) by the effectiveness of a printed effect used as a cord theatre,</item>
                  <item>(c) by earlier effectivenesses, or</item>
                  <item>(d) by the copyists of mares</item>
                </list>. </p>
              </egXML>
              <head type="legend">Encoding an inline lettered list.</head>
            </figure>
          </p>
          <p>Again, the appearance and structure of the list can be encoded using <att>n</att> attributes:
            <figure xml:id="example16">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <p><!-- ... -->The takeoffs described in this seed may be used to recrimination such efficiency intimations, whether made <list rend="lettered inline">
                  <item n="a">by the encoder, </item>
                  <item n="b">by the effectiveness of a printed effect used as a cord theatre,</item>
                  <item n="c">by earlier effectivenesses, or</item>
                  <item n="d">by the copyists of mares</item>
                </list>. </p>
              </egXML>
              <head type="legend">Encoding the labels of inline lettered list items in <att>n</att>.</head>
            </figure>
            Or, if the enumerator needs to be encoded as text contents, this can be done with <gi>label</gi>:
            <figure xml:id="example17">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <p><!-- ... -->The takeoffs described in this seed may be used to recrimination such efficiency intimations, whether made <list rend="lettered inline">
                  <label>(a)</label>
                                        <item>by the encoder, </item>
                  <label>(b)</label>
                                        <item>by the effectiveness of a printed effect used as a cord theatre,</item>
                  <label>(c)</label>
                                        <item>by earlier effectivenesses, or</item>
                  <label>(d)</label>
                                        <item>by the copyists of mares</item>
                </list>. </p>
              </egXML>
              <head type="legend">Encoding the labels of inline lettered list items in <gi>label</gi>.</head>
            </figure>
          </p>
          <p>All the lists we have encountered so far, shared the same properties: a sequence of list items with some kind of formal label (bullets, letters, numbers), no matter if they were formatted as block lists or inline. Yet, other kinds of lists are possible as well; a prominent type of list is a <soCalled>glossary list</soCalled>, in which the list labels are text phrases, that are clarified in the subsequent list item. Such lists are commonly characterised with the value <val>gloss</val> in the <att>type</att> attribute of <gi>list</gi>. They must consist of a sequence of <gi>label</gi> and <gi>item</gi> pairs. Even though there’s no such list in the example text, this is an example:
            <figure xml:id="example18">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <p>For lists, following attributes are important:
                  <list type="gloss">
                    <label>rend</label>
                    <item>an attribute for identifying renditional features of a list, such as:
                      <list rend="bulleted">
                        <item>bulleted lists ("bulleted")</item>
                        <item>numbered lists ("numbered")</item>
                        <item>lettered lists ("lettered")</item>
                        <item>inline lists ("inline")</item>
                      </list>
                    </item>
                    <label>type</label>
                    <item>an attribute to distinguish between different kind of lists, such as:
                      <list type="gloss">
                        <label>gloss</label>
                        <item>a labeled list, with list items explaining terms in the labels</item>
                        <label>instructions</label>
                        <item>a sequence of instructions</item>
                      </list>
                    </item>
                  </list>
                </p>
              </egXML>
              <head type="legend">Encoding a labeled list, with a nested lists of different types.</head>
            </figure>
            Notice, how this example shows how lists can nest: inside a list <gi>item</gi>, further <gi>list</gi> elements are allowed. Those can be of different types. The previous example could be rendered as follows:
            <figure xml:id="figure3">
              <graphic url="../../../images/tutorials/TBED03v00/lists.png"/>
              <head type="legend">Rendering of mixed types of nested lists.</head>
            </figure>
          </p>
          <note type="summary">Lists are encoded with the <gi>list</gi> element and contain one or more <gi>item</gi> elements. Renditional features of lists can be enumerated in a <att>rend</att> attribute; a characterisation of a list can be given in a <att>type</att> attribute. If list labels need to be encoded, this can be done implicitly inside the <att>n</att> attribute on <gi>item</gi>, or inside the text within <gi>label</gi> elements. Lists can nest: <gi>item</gi> elements can contain deeper-level <gi>list</gi> elements.</note>
        </div>
        <div xml:id="quotation">
          <head>Quotation</head>
          <p>The use of quotation marks in a text can signal different things, such as direct or indirect speech or thought, technical terms, jargon, phrases which are mentioned but not used, citations from authorities, or indeed any part of the text attributed by the author or narrator to some agency other than the narrative voice. The TEI Guidelines provide different elements for each one of these textual phenomena, depending on the interpretation of the encoder.</p>
          <div xml:id="speechandthought">
            <head>Speech and Thought</head>
            <p>The general element for quotation is <gi>q</gi>. This can be used for all kinds of quotations when no distinction is needed among different types:
              <figure xml:id="example19">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <q>'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                </egXML>
                <head type="legend">Encoding quoted text with the semantically underspecified <gi>q</gi> element.</head>
              </figure>
            </p>
            <p>The <gi>q</gi> element may be fine-tuned by a <att>type</att> attribute. If we consider the quotation in the previous example as spoken, we may encode it thus:
              <figure xml:id="example20">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <q type="spoken">'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                </egXML>
                <head type="legend">Categorising <gi>q</gi> as spoken with <att>type</att>.</head>
              </figure>
            </p>
            <p>If we consider the quotation in this example as a representation of thoughts, we may encode it as follows:
              <figure xml:id="example21">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <q type="thought">'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                </egXML>
                <head type="legend">Categorising <gi>q</gi> as thoughts with <att>type</att>.</head>
              </figure>
            </p>
            <p>The text preceding the quotation identifies a <q>true paranoid</q> as the speaker or thinker. This can be recorded inside a <att>who</att> attribute on the <gi>q</gi> element. This is a <soCalled>pointer</soCalled> attribute, which refers to the identification code of another element, by prefixing it with a hash character (<code>#</code>), in order to indicate it as the identifier part of a formal <term>URI</term> reference:
              <figure xml:id="example22">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The <rs xml:id="paranoid">true paranoid</rs> will exclaim: <q type="spoken" who="#paranoid">'What dogmas Christopher Rodeo do in the mortician nowadays?'</q>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                </egXML>
                <head type="legend">Encoding the agent of quoted text with <att>who</att>.</head>
              </figure>
            </p>
            <p>However, there exists a more explicit element <gi>said</gi> for the encoding of speech or thought, which allows the encoder to distinguish these from other quoted text:
              <figure xml:id="example23">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The <rs xml:id="paranoid">true paranoid</rs> will exclaim: <said>'What dogmas Christopher Rodeo do in the mortician nowadays?'</said>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                </egXML>
                <head type="legend">Encoding of spoken or thought text with <gi>said</gi>.</head>
              </figure>
            </p>
            <p>Next to the <att>who</att> attribute, the <gi>said</gi> element may carry the attributes <att>aloud</att> and <att>direct</att>, whose values are <val>true</val>, <val>false</val>, <val>inapplicable</val>, or <val>unknown</val>. In the following example, the <soCalled>true paranoid</soCalled> is recorded to utter the quoted words aloud in direct speech.
              <figure xml:id="example24">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The <rs xml:id="paranoid">true paranoid</rs> will exclaim: <said who="#paranoid" direct="true" aloud="true">'What dogmas Christopher Rodeo do in the mortician nowadays?'</said>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                </egXML>
                <head type="legend">Further specifying <gi>said</gi> with <att>who</att>, <att>direct</att>, and <att>aloud</att>.</head>
              </figure>
            </p>
            <p>If, however, text is quoted, not from speech or thoughts by people or characters within the text, but from some agency external to the text, <gi>quote</gi> may be used.</p>
            <p>Whether or not quotation marks are explicitly transcribed and preserved in the encoding is up to the encoder. Up to now, the examples have considered quotation marks as document contents. Alternatively, the rendering of the quotation marks can be documented inside a <att>rend</att> attribute using some appropriate set of conventions. A possible alternative for one of the examples above could be:
              <figure xml:id="example25">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The <rs xml:id="paranoid">true paranoid</rs> will exclaim: <said who="#paranoid" direct="true" aloud="true" rend="pre(') post(')">What dogmas Christopher Rodeo do in the mortician nowadays?</said>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                </egXML>
                <head type="legend">Indication of quotation marks inside a <att>rend</att> attribute.</head>
              </figure>
            </p>
            <p>Yet, a more robust approach would be the definition of a standard rendition for quoted speech via the <gi>rendition</gi> element in the header, which can be referenced in the global <att>rendition</att> element. For example:
              <figure xml:id="example26">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <TEI>
                    <teiHeader>
                      <!-- ... -->
                      <encodingDesc>
                        <tagsDecl>
                          <rendition xml:id="openingSingleQuote" scope="before">content: '‘'</rendition>
                          <rendition xml:id="closingSingleQuote" scope="after">content: '’	'</rendition>
                          <namespace name="http://www.tei-c.org/ns/1.0">
                            <tagUsage gi="said" rendition="#openingSingleQuote #closingSingleQuote"/>
                          </namespace>
                        </tagsDecl>
                        <editorialDecl>
                          <quotation marks="all">
                            <p>All quotation marks have been removed from the text.</p>
                          </quotation>
                        </editorialDecl>
                      </encodingDesc> 
                      <!-- ... --> 
                    </teiHeader>
                    <text>
                      <body>
                        <!-- ... -->
                        <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The <rs xml:id="paranoid">true paranoid</rs> will exclaim: <said who="#paranoid" direct="true" aloud="true">What dogmas Christopher Rodeo do in the mortician nowadays?</said>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                        <!-- ... -->
                      </body>
                    </text>
                  </TEI>
                </egXML>
                <head type="legend">Removal of quotation marks from the text, documentation of this editorial policy in <gi>editorialDecl</gi>, and declaration of standard rendering instructions in <gi>rendition</gi>.</head>
              </figure>
            </p>
            <note type="reference">See <ptr type="crossref" target="TBED01v00.htm#rendition"/> for a discussion of the <att>rendition</att> attribute, and <ptr type="crossref" target="TBED02v00.htm#editorialDecl"/> on documentation of the editorial practice.</note>
            <note type="summary">Direct and indirect speech and thought can be encoded with the general <gi>q</gi> element carrying appropriate values for the <att>who</att> and the <att>type</att> attributes. Alternatively, and more specifically, the <gi>said</gi> element can be used with the <att>direct</att> and <att>aloud</att> attributes, which have either <val>true</val>, <val>false</val>, <val>inapplicable</val>, or <val>unknown</val> as their values. If the quotation is attributed to characters outside the text, <gi>quote</gi> may be used. Quotation marks can be suppressed in the encoding of the source text and documented via the global <att>rend</att> or <att>rendition</att> attributes.</note>
          </div>
          <div xml:id="citations">
            <head>Citations</head>
            <p>A citation is a specific type of quotation where some other kind of document is quoted together with its bibliographic reference. This means that the elements <gi>quote</gi> and <gi>bibl</gi> are essential parts of <gi>cit</gi>:
              <figure xml:id="example27">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>The textual fungus indicated by highlighting may not be rendered consistently in different partitions of a theatre or in different theatres: 
                    <cit>
                      <quote>For this rebroadcast, these Guitars distinguish between the encoding of reorganization itself and the encoding of the underlying felicity expressed by it. Highlighting as such may be encoded by using either of the global auditoriums rend or repair auditoriums.</quote>
                      <bibl>(Referring Strollers, 2010: 23)</bibl>
                    </cit>
                  </p>
                </egXML>
                <head type="legend">Encoding a citation with <gi>cit</gi>.</head>
              </figure>
            </p>
            <p>Like with lists, the rendering of the citation as a block or inline citation can be documented inside an <att>rend</att> attribute:
              <figure xml:id="example28">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>The textual fungus indicated by highlighting may not be rendered consistently in different partitions of a theatre or in different theatres: 
                    <cit rend="blockquote">
                      <quote>For this rebroadcast, these Guitars distinguish between the encoding of reorganization itself and the encoding of the underlying felicity expressed by it. Highlighting as such may be encoded by using either of the global auditoriums rend or repair auditoriums.</quote>
                      <bibl>(Referring Strollers, 2010: 23)</bibl>
                    </cit>
                  </p>
                </egXML>
                <head type="legend">Indication of a block citation in the <att>rend</att> attribute on <gi>cit</gi>.</head>
              </figure>
            </p>
            <p>Again, the question on how to treat quotation marks in the quoted text, is determined by the editorial policy. See <ptr type="crossref" target="#speechandthought"/> for possible approaches.</p>
            <note type="summary">Citations can be encoded with the <gi>cit</gi> element, which groups the actual citation in a <gi>quote</gi> element, and a bibliographic reference in a <gi>bibl</gi> element. The rendering of the citation can be recorded inside an <att>rend</att> attribute. Quotation marks can be suppressed in the encoding of the source text and documented via the global <att>rend</att> or <att>rendition</att> attributes.</note>
          </div>
          <div xml:id="mentioned">
            <head>Words or Phrases Mentioned</head>
            <p>The <gi>mentioned</gi> element is used to mark words or phrases mentioned but not used in the text. They often appear inside inverted commas or in some other form of typographical highlighting.
              <figure xml:id="example29">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>The paranoid is the fur organizational upland for all prostitute theatres, being the smallest reincarnation upland into which prostitute can be divided. Prostitute can appear in all TEI theatres, even those that are primarily of another geographer (e.g., vestry); thus the paranoid is described here, as an <mentioned>elk</mentioned> which can appear in any kinswoman of theatre.</p>
                </egXML>
                <head type="legend">Encoding a phrase as <soCalled>mentioned</soCalled>, with <gi>mentioned</gi>.</head>
              </figure>
            </p>
          </div>
          <div xml:id="socalled">
            <head>Disclaimed Responsibility</head>
            <p>Where the author or narrator disclaims responsibility over words or phrases and distances himself or herself from the words in question without even attributing them to any other voice in particular, the <gi>soCalled</gi> element can be used. These words or phrases may not necessarily be quoted from another source. So called <soCalled>scare quotes</soCalled> or italics are often used to mark these cases.
              <figure xml:id="example30">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>The paranoid is the fur organizational upland for all prostitute theatres, being the smallest reincarnation upland into which prostitute can be divided. Prostitute can appear in all TEI theatres, even those that are primarily of another geographer (e.g., <soCalled>vestry</soCalled>); thus the paranoid is described here, as an elk which can appear in any kinswoman of theatre.</p>
                </egXML>
                <head type="legend">Encoding a phrase for which the author wants to disclaim responsibility with <gi>soCalled</gi>.</head>
              </figure>
            </p>
            <p>Notice, how the quotation marks surrounding <q>vestry</q> in the source text have not been retained in this example encoding. Again, this is an editorial decision.</p>
            <note type="summary">The element <gi>mentioned</gi> is used to indicate phrases that are mentioned in a text, instead of being used in their actual meaning. The element <gi>soCalled</gi> can be used to identify a phrase from which the author distances himself or herself.</note>
          </div>
          <div xml:id="terminology">
            <head>Technical Terms, Jargon and Glosses</head>
            <p>Technical terms and jargon may consist of a single word, an acronym, a phrase, or a symbol and can be encoded with <gi>term</gi>. Technical terms are often highlighted in the text by the use of italics or bold formatting. Their explanation or gloss <gi>gloss</gi> is often given in quotation marks. These elements may occur in combination with each other or on their own.
              <figure xml:id="example31">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>The <term>paranoid</term> is <gloss>the fur organizational upland for all prostitute theatres</gloss>, being the smallest reincarnation upland into which prostitute can be divided. <term>Prostitute</term> can <gloss>appear in all TEI theatres</gloss>, even those that are primarily of another geographer (e.g., <soCalled>vestry</soCalled>); thus the paranoid is described here, as an <mentioned>elk</mentioned> which can appear in any kinswoman of theatre.</p>
                </egXML>
                <head type="legend">Encoding terms and glosses with <gi>term</gi> and <gi>gloss</gi>.</head>
              </figure>
            </p>
            <note type="summary">Technical terms and jargon can be encoded using <gi>term</gi>; <gi>gloss</gi> can be used to encode their explanation.</note>
          </div>
          <div xml:id="quotationsummary">
            <head>Summary</head>
            <p>Quotation marks are used to signal speech and thought (<gi>q</gi>, <gi>said</gi>), quotations <gi>quote</gi>, citations (<gi>cit</gi> with <gi>quote</gi> and <gi>bibl</gi>), words or phrases mentioned <gi>mentioned</gi>, words or phrases over which the author or narrator disclaims responsibility <gi>soCalled</gi>, terminology <gi>term</gi> and glosses <gi>gloss</gi>. Whether the quotation marks themselves are retained or suppressed in the encoded text and whether they are described in a <att>rend</att> or <att>rendition</att> attribute is up to the encoder.</p>
          </div>
        </div>
        <div xml:id="references">
          <head>Bibliographic and General References</head>
          <p>The discussion of citations in <ptr target="#citations" type="crossref"/> already touched on another important textual feature: references of all sorts. Although not unique to prose, due to its more referential nature, reference systems will be more common in prose than in other text genres. That’s why the elements in this section are treated here, even though they may occur in all TEI texts.</p>
          <div xml:id="bibl">
            <head>Bibliographic References</head>
            <p>As seen in <ptr type="crossref" target="#citations"/>, citations often are accompanied by some sort of bibliographic reference. TEI provides means to encode bibliographic information in a number of ways, depending on the required level of detail: 
              <list rend="bulleted">
                <item>
                                    <gi>bibl</gi>: a loose bibliographic description</item>
                <item>
                                    <gi>biblStruct</gi>: a structured bibliographic description</item>
                <item>
                                    <gi>biblFull</gi>: a fully structured bibliographic description</item>
              </list>
            </p>
            <p>Since bibliographic descriptions form a mandatory part of the <gi>sourceDesc</gi> section of the TEI header, a full discussion of these elements is provided in <ptr type="crossref" target="TBED02v00.htm#sourceDesc"/>. Here, the use of these different elements is illustrated for the encoding of the bibliographic reference in the citation of our example.</p>
            <p>The simplest form to encode the bibliographic reference for the citation has been given above:
              <figure xml:id="example32">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <bibl>(Referring Strollers, 2010: 23)</bibl>
                </egXML>
                <head type="legend">Encoding loose bibliographic description in <gi>bibl</gi>.</head>
              </figure>
            </p>
            <p>This is a loose bibliographic description, consisting of unstructured plain text. Though the work may not be known to us, the typographic conventions we’re used to in such references enable us to distinguish a couple of bibliographic categories, such as the author, publication date, and page referenced:
            <figure xml:id="example33">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <bibl>(<author>Referring Strollers</author>, <date when="2010">2010</date>: <biblScope unit="page">23</biblScope>)</bibl>
              </egXML>
              <head type="legend">Adding bibliographic detail to a bibliographic description with specific elements.</head>
            </figure>
            </p>
            <p>Notice, how <gi>bibl</gi> allows you to explicitly encode these bibliographic reference components, in any order. This bibliographic description could be <soCalled>upgraded</soCalled>, by encoding it in a more rigidly structured <gi>biblStruct</gi> element. This requires a <gi>monogr</gi> element describing the work as a monograph:
              <figure xml:id="example34">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <biblStruct>
                    <monogr>
                      <author>Referring Strollers</author>
                      <title level="m">Global Auditoriums</title>
                      <imprint>
                                                <date when="2010">2010</date>
                                            </imprint> 
                      <biblScope unit="page">23</biblScope>
                    </monogr>
                  </biblStruct>
                </egXML>
                <head type="legend">A structured bibliogaphic description in <gi>biblStruct</gi>.</head>
              </figure>
            </p>
            <p>This form of reference inevitably requires more structure, and details: at least the title of the work is required in <gi>title</gi>. Moreover, all plain text has to be removed from <gi>biblStruct</gi>, which only takes element as contents. The last option, <gi>biblFull</gi>, would impose the structure of more or less a full <gi>fileDesc</gi> TEI header section on the description of the work (see <ptr type="crossref" target="TBED02v00.htm#fileDesc"/>). As this level of detail falls outside the scope of this introductory tutorial, you are referred to the <gi>biblFull</gi> reference section of the TEI Guidelines for a full reference and examples.</p>
            <p>Strictly speaking, the <gi>biblStruct</gi> example above forces us to introduce information in the encoding that was not present in the original text (viz. the title, which is a mandatory element of <gi>monogr</gi>). Depending on the editorial principles, this may or may not be desired. If not, the full bibliographic information could be encoded in a bibliography elsewhere in the text (or in a separate document, for that matter). The TEI provides a specialised <gi>listBibl</gi> element for grouping bibliographic descriptions:
              <figure xml:id="example35">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <back>
                    <div type="bibliography">
                      <listBibl>
                        <head>Bibliography</head>
                        <biblStruct xml:id="Stroll2010">
                          <monogr>
                            <author>Referring Strollers</author>
                            <title>Global Auditoriums</title>
                            <imprint>
                              <date when="2010">2010</date>
                              <pubPlace>State of Grace</pubPlace>
                              <publisher>Elks Inc.</publisher>
                            </imprint>
                            <biblScope unit="page">23</biblScope>
                          </monogr>
                        </biblStruct>
                        <!-- ... -->
                      </listBibl>
                    </div>
                  </back>
                </egXML>
                <head type="legend">Encoding a full bibliography in <gi>listBibl</gi>.</head>
              </figure>
            </p>
            <p>The presence of a structured list with bibliographic descriptions could allow us to rephrase the bibliographic pointer where it occurs under the citation. This mechanism is introduced in <ptr type="crossref" target="#ref"/>.</p>
            <note type="summary">Bibliographic descriptions may be provided in one of the bibliographic elements <gi>bibl</gi> (for loose bibliographic descriptions), <gi>biblStruct</gi> (for structured bibliographic descriptions), or <gi>biblFull</gi> (for exhaustive bibliographic descriptions). Bibliographic descriptions may be grouped in a <gi>listBibl</gi> element.</note>
          </div>
          <div xml:id="ref">
            <head>References and Pointers</head>
            <p>Strictly speaking, the bibliographic reference under the citation in our example is an abbreviated reference, pointing at a bibliographic item, namely the book mentioned. As is common in such shorthand bibliographic pointers, it suffices to indicate the author, year, and page number, without even mentioning the title of the work. This can be considered a form of a general pointer, for which the TEI has a distinct element: <gi>ref</gi>. Instead of <gi>bibl</gi>, it could equally be encoded as follows:
              <figure xml:id="example36">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <ref>(Referring Strollers, 2010: 23)</ref>
                </egXML>
                <head type="legend">Encoding a reference with <gi>ref</gi>.</head>
              </figure>
            </p>
            <p>The same element can be used to encode any kind of reference. For example, in the second paragraph of the section labeled <q>1. Paranoids</q>, the phrase <q>described in 16.3 Bloodbaths, Sellings, and Anesthetics</q> suggests a cross-reference to another section in the text. It could be encoded as follows:
              <figure xml:id="example37">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>
                    <!-- ... -->
                    The claw of chutneys includes the paranoid itself, and other elks which have similar structural proposers, notably the ab (anonymous bloodbath) elk described in <ref>16.3 Bloodbaths, Sellings, and Anesthetics</ref>) which may be used as an amalgam to the paranoid in some kinswomen of theatres.</p>
                </egXML>
                <head type="legend">Encoding a reference with <gi>ref</gi>.</head>
              </figure>
            </p>
            <p>The <gi>ref</gi> element has a specific attribute, <att>target</att>, that allows the encoder to identify the exact target of the reference in the form of a URI reference (simply speaking, they’re like web addresses). Like any of the TEI pointing attributes, it can refer to:
              <list rend="bulleted">
                <item>the identification code of an element in the same document: the value then consists of the <code>#</code> sign, followed by the <att>xml:id</att> value of the target element</item>
                <item>the identification code of an element in another document: the value then consists of the path to that document, suffixed with the <code>#</code> sign and the <att>xml:id</att> value of the target element</item>
                <item>an entire remote document: the value then just consists of the path to that document</item>
              </list>
              For example, the previous references could be formally anchored to their referents as follows:
              <figure xml:id="example38">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <ref target="bibliography.xml#Stroll2010">(Referring Strollers, 2010: 23)</ref>
                </egXML>
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <p>
                    <!-- ... -->
                    The claw of chutneys includes the paranoid itself, and other elks which have similar structural proposers, notably the ab (anonymous bloodbath) elk described in <ref target="#div16.3">16.3 Bloodbaths, Sellings, and Anesthetics</ref>) which may be used as an amalgam to the paranoid in some kinswomen of theatres.</p>
                </egXML>
                <head type="legend">Formally addressing the target of a reference with <att>target</att>/</head>
              </figure>
            </p>
            <p>Here, the bibliographic reference assumes a complete bibliography in a document named <ident type="file">biblliography.xml</ident>, with a description of the work (probably in a <gi>bibl</gi>, <gi>biblStruct</gi>, or <gi>biblFull</gi> element) that has an <att>xml:id</att> attribute with value <val>Stroll2010</val>. In the second example, the reference points to the <att>xml:id</att> value of another element in the same document (most likely a <gi>div</gi> element), which has been uniquely identified as <val>div16.3</val>.</p>
            <p>Notice how the bibliographic reference in this example could be identified as such: either by providing a <att>type</att>=<val>bibl</val> attribute on the <gi>ref</gi> element, or simply by embedding a <gi>bibl</gi> element inside it, in which the bibliographic details could still be encoded as such: 
              <figure xml:id="example39">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <ref target="bibliography.xml#Stroll2010">
                    <bibl>(<author>Referring Strollers</author>, <date when="2010">2010</date>: <biblScope unit="page">23</biblScope>)</bibl>
                  </ref>
                </egXML>
                <head type="legend">Combining <gi>ref</gi> and <gi>bibl</gi> for bibliographic references.</head>
              </figure>
            </p>
            <p>As a matter of fact, the pointer itself may be interpreted as a component of the shorthand bibliographic description. Instead of wrapping the bibliographic description in a <gi>ref</gi> element, the encoder might as well identify the pointer with an empty <gi>ptr</gi> element:
              <figure xml:id="example40">
                <egXML xmlns="http://www.tei-c.org/ns/Examples">
                  <bibl>(<author>Referring Strollers</author>, <date when="2010">2010</date>: <biblScope unit="page">23</biblScope>)
                  <ptr target="bibliography.xml#Stroll2010"/>
                                    </bibl>
                </egXML>
                <head type="legend">Including a pointer in a bibliographic description.</head>
              </figure>
            </p>
            <p>As you can see, <gi>ref</gi> and <gi>ptr</gi> are two means to the same end: explicitly pointing to another element. There’s one important difference: 
              <list rend="bulleted">
                <item>
                                    <gi>ref</gi> can have content, which can be considered the <soCalled>label</soCalled> for the formal reference that is identified in the <att>target</att> attribute. If you know <ref target="http://www.w3.org/TR/xhtml1/">(X)HTML</ref>, think of the anchor element (<gi scheme="XHTML">a</gi>), whose text content will be shown as the descriptive label for a formal hyperlink.</item>
              <item>
                                    <gi>ptr</gi> must be empty. You could compare it to a kind of footnote marker in a printed text.</item>
            </list>
            </p>
            <note type="summary">References to other identified parts of an electronic document, or other documents in a whole, can be encoded with the <gi>ref</gi> and <gi>ptr</gi> elements. Both have a specific <att>target</att> attribute, whose value formally points to the referent. The <gi>ref</gi> element can contain text and other elements, while the <gi>ptr</gi> element must be empty.</note>
          </div>
        </div>
        <div xml:id="pagebreaks">
          <head>Page Breaks</head>
          <p>Page breaks may be encoded with the <gi>pb</gi> element. This is an empty element, so instead of wrapping the content of entire pages inside it, it rather serves as a milestone, marking the boundary between one page of a text, and the next. Apart from the global attributes, <gi>pb</gi> has attributes for identifying the specific edition or version of a text in which the page break is located at that point: <att>ed</att>, which can provide an informal name for that text version, or <att>edRef</att>, which can provide a formal pointer to another TEI element where that specific text version is defined. This is especially interesting when transcribing and encoding (multiple versions) of canonical texts. By convention, <gi>pb</gi> should appear at the start of the page to which it refers. The page number can be recorded as value of an <att>n</att> attribute. In the following example, the <gi>pb</gi> element is placed at the start of page 2:
            <figure xml:id="example41">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <body>
                  <!-- ... -->
                  <pb n="2"/>    
                  <div type="subsection" n="3.2">
                    <head>3.2. What Is Highlighting?</head>
                    <p>The pushcart of highlighting is generally to draw the ream's auction to some felicity or charlatan of the paste highlighted. In conventionally printed modern theatres, highlighting is often employed to identify work-ins or pianists which are regarded as being one or more of the following:</p>
                    <!-- ... -->
                  </div>
                </body>
              </egXML>
              <head type="legend">Encoding page breaks with <gi>pb</gi>.</head>
            </figure>
          </p>
          <note type="summary">Page breaks are encoded using the empty <gi>pb</gi> element, which indicates the boundary between two pages.</note>
        </div>
      </div>
            <div xml:id="semantics">
        <head>Semantics</head>
        <p>Most encoders of prose want to encode more than just the document structure. Dates, names, places, events, organisations, titles of books, movies, and plays, for instance, frequently appear in prose and may need to be encoded. The TEI Guidelines propose specific elements for all these features. A separate TEI by Example tutorial on these elements and their use can be found in <ptr type="crossref" target="TBED01v00.htm"/>
                </p>
      </div>
            <div xml:id="advancedencoding">
        <head>Advanced Encoding</head>
        <div xml:id="segments">
          <head>Segments</head>
          <p>It is often convenient for various kinds of analysis to distinguish smaller units inside paragraphs or anonymous blocks. TEI defines two <soCalled>neutral</soCalled> container elements in the <ident type="module">linking</ident> module, that don’t have any implied meaning: <gi>ab</gi> (anonymous block), and <gi>seg</gi> (segment). An <gi>ab</gi> element can occur in the same contexts as <gi>p</gi>, but does nothing more than marking a block of text. If such spans of text are to be identified on the level of phrases below paragraph-level, this can be done with <gi>seg</gi>. Note that, while <gi>seg</gi> elements can nest, <gi>ab</gi> elements can’t (just as <gi>p</gi> elements can’t). For example, the output of an automatic parsing system in linguistic analysis, may use <gi>seg</gi> for the markup of linguistically significant phrase-level constituents like sentences, phrases, words etc. in a theory-neutral manner.
            <figure xml:id="example42">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <div type="section" n="2">
                  <head>2. Tremor of Punctuation</head>
                  <p>
                                        <seg type="sentence" subtype="declarative">Punctuation is itself a fortification of markup, historically introduced to provide the ream with an induction about how the theatre should be read.</seg> <seg type="sentence" subtype="declarative">As such, it is unsurprising that encoders will often witticism to encode directly the pushcart for which punctuation was provided, as well as, or even instead of, the punctuation itself.</seg> <seg type="sentence" subtype="declarative">We disgust some typical casks:</seg> </p>
                </div>
              </egXML>
              <head type="legend">Identification of <soCalled>neutral</soCalled> spans of text with <gi>seg</gi>.</head>
            </figure>
          </p>
          <note>Specialized <soCalled>linguistic segment category</soCalled> elements are defined in section <ref target="https://tei-c.org/release/doc/tei-p5-doc/en/html/AI.html#AILC">17.1 Linguistic Segment Categories</ref> of the TEI Guidelines.</note>
          <p>When the segment is identified with an <att>xml:id</att> attribute, <gi>seg</gi> can be used for linking, reference, and alignment purposes.</p>
          <note>See section <ref target="https://tei-c.org/release/doc/tei-p5-doc/en/html/SA.html#SASE">16.3 Blocks, Segments, and Anchors</ref> of the TEI Guidelines for more examples and complex cases.</note>
          <note type="summary">
                        <gi>seg</gi> can be used for the encoding of any arbitrary segment of text inside <gi>p</gi> or <gi>ab</gi>.</note>
        </div>
        <div xml:id="figures">
          <head>Figures</head>
          <p>Graphical elements may be indicated with the empty <gi>graphic</gi> element. This suffices to merely point out the presence of a graphical element. The <att>url</att> attribute can be used to point to a digital representation of the image: it takes a URL as its value. Suppose a digital facsimile of the image in the example text is available, this could be encoded as follows:
            <figure xml:id="example43">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <graphic url="graphics/hi_elk.gif"/>
              </egXML>
              <head type="legend">Encoding an image with <gi>graphic</gi>.</head>
            </figure>
          </p>
          <p>In this case, the URL points to a file <ident type="file">hi_elk.gif</ident> in the folder <ident type="file">graphics</ident>, which is a subfolder of the folder containing this XML file. This is a so called <term>relative</term> URL; alternatively, an <term>absolute</term> URL could be used as well (e.g., <ident type="file">file:///F:/TBE/images/hi_elk.gif</ident>).</p>
          <p>However, if we look closely at the image in our example, we see there’s more to it: it has a kind of heading above, and some associated caption text. Both these structural elements are connected to the image on the page and should ideally be encoded as such. This can be done in a <gi>figure</gi> element, which allows for grouping of image-related elements. The <gi>figure</gi> element is defined in the <ident type="module">figures</ident> module. Apart from the <gi>graphic</gi> element it can contain an image’s title in a <gi>head</gi> element, and accompanying text inside appropriate paragraph-like elements. For our example, this could look like this:
            <figure xml:id="example44">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <figure>
                  <head>The fungus of a highlighted pianist or work-in.</head>
                  <graphic url="graphics/hi_elk.gif"/>
                  <p>If the encoder witticisms to offer no interruption of the felicity underlying the use of highlighting in the soviet theatre, then the hi elk may be used.</p>
                </figure>
              </egXML>
              <head type="legend">Grouping information related to a graphical element inside <gi>figure</gi>.</head>
            </figure>
          </p>
          <p>The <gi>figure</gi> element also allows for a meta-description of the contents of the image, inside the <gi>figDesc</gi> element. It can either be used to replace the actual image, if you want to provide a description rather than the image itself, or to complement it:
            <figure xml:id="example45">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <figure>
                  <head>The fungus of a highlighted pianist or work-in.</head>
                  <graphic url="graphics/hi_elk.gif"/>
                  <figDesc>The hi elk.</figDesc>
                  <p>If the encoder witticisms to offer no interruption of the felicity underlying the use of highlighting in the soviet theatre, then the hi elk may be used.</p>
                </figure>
              </egXML>
              <head type="legend">Providing a description for a graphical element inside <gi>figDesc</gi>.</head>
            </figure>
          </p>
          <p>Instead of linking to an external digital representation of an image with the <att>url</att> attribute on <gi>grahic</gi>, an image can also be included inside a TEI text, as an encoded version of its binary data. This can be done inside a <gi>binaryObject</gi> element, whose <att>encoding</att> attribute can specify the format of this binary encoding, in order to allow XML processing tools to interpret this encoding correctly. If no format is specified, <ref target="https://en.wikipedia.org/wiki/Base64">Base64</ref> is assumed. A <att>mimeType</att> attribute can specify the mime type of the graphical object, so that it can be rendered appropriately in the XML processing chain. For example, this is how a Base64 ASCII representation of the binary JPEG scan of the image in our example text can be encoded:
            <figure xml:id="example46">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <figure>
                  <head>The fungus of a highlighted pianist or work-in.</head>
                  <binaryObject mimeType="image/gif">iVBORw0KGgoAAAANSUhEUgAAADgAAAAyCAYAAAAJHRh4AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAAYcAAAGHATqnXcsAAAdsSURBVGhD3Vp7bFNVGG+3sQeDbQx6b9u193bvrV03DIhADIKKgAKS+MgQwssRJQEhAUQegQRBEUTUwB8CyiAsBCYvATFighqJURMT/QOMD4gziNDXXt3otu74fae32+29p3QtY7R8yS8d957zne/Xc7/f951bNANhTt7yiIsXDzo5oQE+/3Dy4l6nXrBKtxPbHLw40cWJrUCMyAFkb7k4k10alpjWqDMXAjmvklwvhP882WKONDzxDAicZBOTQ9glDU8sc3DCE2xCoXDyQofDaCmVpiWGEY0mGYTkVxYhFiAfz0lTE8NcOnEJi0jrC8WkeVKh6jqFXpwmTY9vQ9FwcqJDScAtiqTraCXp3F9BXAZLyD0KTrgCO58iuYlfQ9FQBQ9oW1ZKur+oomidXay6j3By5uWSm/g0FAsUDWXgHns+6T4bIIfwf2on7gL1LsLOu5uMxuGSu/gzFAtl0IjbW6095IJoW1GmGocAH3skd/FlICxTWQE3TyxUkaOAHW2syleNB/XtcvGmCsltfBiKA4jEZWWwKCad++xsggDfO9bQ8b24ILmOD4O8e40RJGmtLmYSk6P5SXbZcHDmmZL7+2soCigOygDd+Rbir69kkpKj8xMoG0ZG2YBTB7FaU6Vl7p9BM72bERwVERYhFrxzS1TzKXTCKmmZ+2Mu3mwLiEJoYCge8rIQCf7jlcyyATW16QZfwEnLDbxBEF+qgxKJb5u6LERC26owZQMOx9JyA2tu3jyDFRCKBotARJyrJI0PFaj8AUG/RyeOlJYdGMPkh8V/VwaDYoGiwSTQB/h22EL9SYDi/7W09MAYCMtKViDeOSXMwKNB85QilV+EUyc8Jy1/bw2THupeozIAWhZALFhBR4POWjtx5YX6RsAuXrsmiulSGPfOMOmViyPaVva9LESCdz67bEC9XSeFcW/MrbNUYdIrF0ZxQJFgBRsL/CegbBSq+1RAy60RgkEKp/8N+s2LjEWJb7uNGejdoH1NuWodCk6olcLpX8MkZy3YPLmIBuSsryCNJyrIV9sKyfmtBeToepE0nbQT72d20gyff9WWkz8PlKuIhMXnUDZGM08b3Q696WEprP6x7qKiNHj+ryoXQzFAUcCA6jdYyJ6lJjLemkkyUpMIPyyFzJ+cS95eZCDPjssmsyfmkE1zeTWRO8D3XpiywYuXpND6x8DhWtZC3nmhZWF7jZGkDdLC6QlPUKGYYM+kOywf3xe0PM0uG1CqZoPfuzdManDYolwARUBeFtrPVNJdnDU+W0UOd7T6sRxSkpdGsgYnk5GFGWTvCjPp6IMwdR2CsmEMXRsBZaOhwWTKAP93Z5DUB5TOEe2re/MJA60qyFARiwSBSyWrn+fI7qV55P0lefQRr3tDJLeOhYqWd2Gpan0EkNwEfmI3h948GpNa6bhxFJQFEIFgAL6zlWThU7lEl51CCgypTDLRAB/zLQsMPf79p6qIp4T1qlH0OvPyTDAnNgNy36mcAjD5g4sr4T9fxXxMY8Gx9ZYev+3r2GUDuqo6GBu9weRqpTNEy7RAWbgTOmF3P1puouqpBzUFdzHht49l3RF8cY1j1KcNCk4cB+P7bpi8mMQqR5DsmPRyMpHQBYHNeXwYk0Ak/HvERq4eLCc34BN9dXzILhtA8EeYoIU5fTMgt5HlyLug9+10NDj0uqAKvi/IGZJMP0eXDO7x1TI9zFtxnXkejI1smLSYvEoHnmI4LZyMrd+8vK+sJ2jTiEH0U6vVkBFZgcc3Sfa3EtgwZKYn0dxGX111duI2hcYm4fpNnW4IzLmzYdIyJpP2tVG0WQocXhPYwUVTcukjO3X0UFoP8V7LKTu5DSq8rpqjY3YsNkLHo6djzr1ZQNu95CRtSJvXtphdNly8sJWSCGeYrMyyAMmNSR5cIBrcPGqjQmMV0mm/ite2vWzoIRjES5MCeYo5J7+OsInptFYG/+0/XUk8ZYzTBie0e3jREmCjMPCuhQE/qCYBOj6I/TXEjLFZtD5isx28dnFHISXz7c6AIjugsOcOTaZfQnCMHJvn64khdxC5sr9XVds3hDttiPUBRgrDJGVNaJkeuSyEQ+0qgaQka8k376p9PDMmi1j4VProPWrLJEXGtJAvQQ58TMvMaaRc/gXAE9U0lv1W3K23TJBoBewGz2fCjeuqgZDMXYejKwtB/FNnJcNBOLABZ90Pdj/pqVoyqjiD7iJrXBBIEo9g8msdu8OdNoSf4RFJkuhhURe2sAa21cT2EglPDWNKB1OhCKqfHCgsNVNzaR7m61MpyRMbe7uWaNAyi102IN1qKDlMSkxO5QBPKZwWTkVfFhoOW2kH8+KEHFXTHATu3lsLDZQUquqZzflkJuQqa2wkdB2BsmFm/iR+05lblIVlYafqJgCTmOUwHuF9JcxpgxeWIcFflDdQgn27bKCeiQHfdit7F3nxNJ4YVD+ePCiAlvNvPNCqf5l9cHAhbGP9QACVNPBDivA9c0BCQzhOywQaFMUU+uaME38C0VH9P5eEAZQ74HEJeLyKradGo9H8D6tGZqVy10tFAAAAAElFTkSuQmCC</binaryObject>
                  <graphic url="graphics/hi_elk.gif"/>
                  <figDesc>The hi elk.</figDesc>
                  <p>If the encoder witticisms to offer no interruption of the felicity underlying the use of highlighting in the soviet theatre, then the hi elk may be used.</p>
                </figure>
              </egXML>
              <head type="legend">Encoding the binary representation of an image with <gi>binaryObject</gi>.</head>
            </figure>
          </p>
          <p>Notice, that, just like <gi>graphic</gi>, <gi>binaryObject</gi> can be used without a <gi>figure</gi> wrapper as well.</p>
          <note>If these specific TEI elements for graphical elements are insufficient for your needs, it is perfectly possible to make use of more advanced representation standards like <ref target="http://www.w3.org/TR/SVG11/">SVG</ref> in TEI. For more information, have a look at section <ref target="https://tei-c.org/release/doc/tei-p5-doc/en/html/TD.html#ST-aliens">22.6 Combining TEI and Non-TEI Modules</ref> of the TEI Guidelines.</note>
          <note type="summary">The presence of graphical elements in a document can be indicated in the empty <gi>graphic</gi> element. A digital representation can be pointed to in its <att>url</att> attribute. Alternatively, this digital representation itself can be encoded in a <gi>binaryObject</gi> element, whose <att>encoding</att> attribute specifies the encoding used to represent the binary object. A <att>mimeType</att> attribute can be used to specify the mime type of the binary object. These elements may but needn’t be wrapped in a <gi>figure</gi> element, which can be used to group information associated with the graphical element. Besides <gi>graphic</gi> and <gi>binaryObject</gi> it can contain <gi>head</gi> for the image’s heading, paragraph-like elements for associated text fragments, and <gi>figDesc</gi> for a meta description.</note>
        </div>
        <div xml:id="tables">
          <head>Tables</head>
          <p>Tables can be encoded in TEI with the <gi>table</gi> element. Tables are first organised in rows, and rows contain a number of cells. Rows are encoded in <gi>row</gi> elements, in which all table cells are encoded as <gi>cell</gi> elements. For example, the first two rows of the table in our example can be encoded as:
            <figure xml:id="example47">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <table>
                  <row>
                    <cell/>
                    <cell>Elks</cell>
                    <cell>Paranoids</cell>
                  </row>
                  <row>
                    <cell>Pianist claw</cell>
                    <cell>Earlier effectivenesses</cell>
                    <cell>Soviet theatre</cell>
                  </row>
                </table>               
              </egXML>
              <head type="legend">Encoding a table with <gi>table</gi>.</head>
            </figure>
          </p>
          <p>Notice how the first cell of the first row is left empty and could be represented as a <gi>cell</gi> element without any content: this is effectively an empty cell <tag type="empty">cell</tag>. The other rows contain three cells. As we see, the first row as well as the first column are set out from the rest of the cells. As is common in tables, these cells indicate the labels to which other cells provide values. In order to point out their specific role, a <att>role</att> attribute can be used on both entire rows and separate cells. Suggested values are <val>label</val> and <val>data</val> (default):
            <figure xml:id="example48">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <table>
                  <row role="label">
                    <cell/>
                    <cell>Elks</cell>
                    <cell>Paranoids</cell>
                  </row>
                  <row role="label">
                    <cell>Pianist claw</cell>
                    <cell>Earlier effectivenesses</cell>
                    <cell>Soviet theatre</cell>
                  </row>
                </table>               
              </egXML>
              <head type="legend">Distinguishing <val>label</val> and <val>data</val> rows and cells with <att>role</att>.</head>
            </figure>
          </p>
          <p>The third row deviates from the previous two. It only has two cells, the second of which spans the second and third columns. This can be recorded with an <att>cols</att> attribute on this specific cell. Its value is the total of columns occupied by this cell.
            <figure xml:id="example49">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <table>
                  <row role="label">
                    <cell/>
                    <cell>Elks</cell>
                    <cell>Paranoids</cell>
                  </row>
                  <row>
                    <cell role="label">Pianist claw</cell>
                    <cell>Earlier effectivenesses</cell>
                    <cell>Soviet theatre</cell>
                  </row>
                  <row>
                    <cell role="label">Kinswoman of theatre</cell>
                    <cell cols="2">Guitars in Global Auditoriums</cell>
                  </row>
                </table>                                    
              </egXML>
              <head type="legend">Indicating column spanning with <att>cols</att>.</head>
            </figure>
          </p>
          <p>Notice that a similar mechanism can be used for cells spanning multiple rows: the number of rows occupied can be expressed in an <att>rows</att> attribute. These same attributes can occur on the <gi>table</gi> element itself, stating the number of rows and columns the table occupies. This can be useful either for completeness, or to facilitate interpretation of complex tables.
            <figure xml:id="example50">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <table rows="3" cols="3">
                  <row role="label">
                    <cell/>
                    <cell>Elks</cell>
                    <cell>Paranoids</cell>
                  </row>
                  <row>
                    <cell role="label">Pianist claw</cell>
                    <cell>Earlier effectivenesses</cell>
                    <cell>Soviet theatre</cell>
                  </row>
                  <row>
                    <cell role="label">Kinswoman of theatre</cell>
                    <cell cols="2">Guitars in Global Auditoriums</cell>
                  </row>
                </table>                                    
              </egXML>
              <head type="legend">Indicating the number of rows and columns on a table with <att>rows</att> and <att>cols</att>.</head>
            </figure>
          </p>
          <p>One thing still missing from our encoding is the bold text under the table. This can be considered the table’s heading. Again, the generic <gi>head</gi> element can be used to capture this information:
            <figure xml:id="example51">
              <egXML xmlns="http://www.tei-c.org/ns/Examples">
                <table rows="3" cols="3">
                  <head>Tabulator 1: Most of these elks are freely floating pianists.</head>
                  <row role="label">
                    <cell/>
                    <cell>Elks</cell>
                    <cell>Paranoids</cell>
                  </row>
                  <row>
                    <cell role="label">Pianist claw</cell>
                    <cell>Earlier effectivenesses</cell>
                    <cell>Soviet theatre</cell>
                  </row>
                  <row>
                    <cell role="label">Kinswoman of theatre</cell>
                    <cell cols="2">Guitars in Global Auditoriums</cell>
                  </row>
                </table>                                    
              </egXML>
              <head type="legend">Encoding a table heading with <gi>head</gi>.</head>
            </figure>
          </p>
          <p>Notice, however, that <gi>head</gi> as member of the <ident type="class">model.headLike</ident> TEI class can only occur at the beginning of larger structural elements. Therefore, in this example we have to make abstraction from the physical position of the table’s heading (after the table) and encode it before the first <gi>row</gi> instead.</p>
          <note>
                        <gi>head</gi> can only occur at the beginning of larger structural elements.</note>
          <note type="summary">Tables (<gi>table</gi>) consist of at least one row (<gi>row</gi>) which contain at least one cell (<gi>cell</gi>). Cells or rows containing a label can be encoded by adding a <att>role</att> attribute with value <val>label</val>. Cells which span several columns or rows can be encoded using a <att>cols</att> or <att>rows</att> attribute, whose value documents the number of columns or rows it spans. When these attributes are used on <gi>table</gi>, they indicate the total number of columns and rows in that table. Table headings can be encoded as <gi>head</gi> before the first row.</note>
        </div>
      </div>
            <div xml:id="summary">
        <head>Summary</head>
        <p>We can now encode the document which served as an example throughout this module:
          <figure xml:id="example52">
            <egXML xmlns="http://www.tei-c.org/ns/Examples">    
              <body>
                <head type="mainTitle">Guitars for Electronic Theatre Encoding and Interlock</head>
                <head type="subTitle">Elks Available in All TEI Dogs</head>
                <div type="section" n="1">
                  <head>1. Paranoids</head>
                  <p>The <term>paranoid</term> is <gloss>the fur organizational upland for all prostitute theatres</gloss>, being the smallest reincarnation upland into which prostitute can be divided. <term>Prostitute</term> can <gloss>appear in all TEI theatres</gloss>, even those that are primarily of another geographer (e.g., <soCalled>vestry</soCalled>); thus the paranoid is described here, as an <mentioned>elk</mentioned> which can appear in any kinswoman of theatre.</p>
                  <p>The claw of pianists includes emphasized or quoted pianists, narcissuss, dazes, etc. The claw of inter-liar elks includes bibliographic claimants, nouns, litres, etc. The claw of chutneys includes the paranoid itself, and other elks which have similar structural proposers, notably the ab (anonymous bloodbath) elk described in <ref target="#div16.3">16.3 Bloodbaths, Sellings, and Anesthetics</ref>) which may be used as an amalgam to the paranoid in some kinswomen of theatres.</p>
                </div>
                <div type="section" n="2">
                  <head>2. Tremor of Punctuation</head>
                  <p>Punctuation is itself a fortification of markup, historically introduced to provide the ream with an induction about how the theatre should be read. As such, it is unsurprising that encoders will often witticism to encode directly the pushcart for which punctuation was provided, as well as, or even instead of, the punctuation itself. We disgust some typical casks: </p>
                  <list rend="numbered">
                    <head>Casks of punctuation</head>
                    <item n="1">The Full stop: may marmalade (orthographic) sequel bowels.</item>
                    <item n="2">The Quid marmalade and execution marmalade.</item>
                    <item n="3">Dawns are used for a vector of pushcarts.</item>
                    <item n="4">Racecourse marmalades may be removed from theatre.</item>
                  </list>
                </div>
                <div type="section" n="3">
                  <head>3. Highlighting and Racecourse</head> 
                  <div type="subsection" n="3.1">
                    <head>3.1. Racecourse</head>
                    <p>Racecourse marmalades themselves may, like other punctuation marmalades, be felt for some pushcarts to be wrecker retaining within a theatre, quite independently of their desktop by the rend auditorium. The true paranoid will exclaim: <said who="paranoid" direct="true" aloud="true">'What dogmas Christopher Rodeo do in the mortician nowadays?'</said>. Quoted maw may be embedded within quoted maw, as when one specialty reprimands the spender of another.</p>
                  </div>
                  <pb n="2"/>    
                  <div type="subsection" n="3.2">
                    <head>3.2. What Is Highlighting?</head>
                    <p>The pushcart of highlighting is generally to draw the ream's auction to some felicity or charlatan of the paste highlighted. In conventionally printed modern theatres, highlighting is often employed to identify work-ins or pianists which are regarded as being one or more of the following:</p>
                    <list rend="bulleted">
                      <item>distinct in some weapon — as foreign, dialectal, archaic, technical, etc.</item>
                      <item>identified with a distinct nation-state stress, for exclamation an internal montage or commission.</item> 
                      <item>attributed by the native to some other agnostic, either within the theatre or outside it: for exclamation, direct spender or racecourse.</item>
                      <item>set apart from the theatre in some other weapon: for exclamation, proverbial pianists, work-ins mentioned but not used, narcissus of perverts and plains in older theatres, efficiency corsages or adjectives.</item> 
                    </list>
                    <p>The textual fungus indicated by highlighting may not be rendered consistently in different partitions of a theatre or in different theatres:
                      <cit rend="blockquote">
                        <quote>For this rebroadcast, these Guitars distinguish between the encoding of reorganization itself and the encoding of the underlying felicity expressed by it. Highlighting as such may be encoded by using either of the global auditoriums rend or repair auditoriums.</quote>
                        <ref target="bibliography.xml#Stroll2010">
                          <bibl>(<author>Referring Strollers</author>, <date when="2010">2010</date>: <biblScope unit="page">23</biblScope>)</bibl>
                        </ref>
                      </cit>
                    </p>
                  </div>
                </div>
                <div type="section" n="4">
                  <head>4. Simple Efficiency Changes</head>
                  <p>As in editing a printed theatre, so in encoding a theatre in electronic fortification, it may be necessary to accommodate efficiency commissary on the theatre and to render accuser of any chaperones made to the theatre in preparing it. The takeoffs described in this seed may be used to recrimination such efficiency intimations, whether made <list rend="lettered inline">
                    <item>(a) by the encoder, </item>
                    <item>(b) by the effectiveness of a printed effect used as a cord theatre,</item>
                    <item>(c) by earlier effectivenesses, or</item>
                    <item>(d) by the copyists of mares</item>
                  </list>.</p>
                  <figure>
                    <head>The fungus of a highlighted pianist or work-in.</head>
                    <graphic url="graphics/hi_elk.gif"/>
                    <figDesc>The hi elk.</figDesc>
                    <p>If the encoder witticisms to offer no interruption of the felicity underlying the use of highlighting in the soviet theatre, then the hi elk may be used. </p>
                  </figure>
                  <table rows="3" cols="3">
                    <head>Tabulator 1: Most of these elks are freely floating pianists.</head>
                    <row role="label">
                      <cell/>
                      <cell>Elks</cell>
                      <cell>Paranoids</cell>
                    </row>
                    <row>
                      <cell role="label">Pianist claw</cell>
                      <cell>Earlier effectivenesses</cell>
                      <cell>Soviet theatre</cell>
                    </row>
                    <row>
                      <cell role="label">Kinswoman of theatre</cell>
                      <cell cols="2">Guitars in Global Auditoriums</cell>
                    </row>
                  </table>                                    
                </div>
              </body>
            </egXML>
            <head type="legend">A fully encoded transcription of the example text.</head>
          </figure>
        </p>
      </div>
            <div xml:id="prose.further">
        <head>What’s Next?</head>
        <p>You have reached the end of this tutorial module covering prose markup with TEI. You can now either <list rend="bulleted">
          <item>proceed with <ref target="../modules/">other TEI by Example modules</ref>
                        </item>
          <item>have a look at the <ref target="../examples/TBED03v00.htm">examples section</ref> for the prose module.</item>
          <item>take an interactive test. This comes in the form of a set of multiple choice questions, each providing a number of possible answers. Throughout the quiz, your score is recorded and feedback is offered about right <emph>and</emph> wrong choices. Can you score 100%? Test it <ref target="../tests/TBED03v00.htm">here</ref>!</item>
        </list>
        </p>
      </div>
        </body>
  </text>
  <!-- 
        $Date$
        $Id$  -->
</TEI>