<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="../schemas/tei_lite.rng" type="application/xml" schematypens="http://relaxng.org/ns/structure/1.0"?>
<?xml-model href="../schemas/tei_lite.rng" type="application/xml" schematypens="http://purl.oclc.org/dsdl/schematron"?>

<TEI xmlns="http://www.tei-c.org/ns/1.0" xml:id="oxygen">
<teiHeader>
      <fileDesc>
         <titleStmt>
           <title>Get the Most out of Oxygen</title>

            <respStmt>
               <name ref="#HOLM3">Martin Holmes</name>
              <resp ref="#aut">Author<date>2013</date></resp>
            </respStmt>
            <respStmt>
               <name ref="#BUTT1">Cameron Butt</name>
              <resp ref="#aut">Author<date>2013</date></resp>
            </respStmt>
            <respStmt>
               <name ref="#LAND2">Tye Landels</name>
              <resp ref="#aut">Author<date>2014</date></resp>
            </respStmt>
            <respStmt>
               <name ref="#MILL2">Sarah Milligan</name>
               <resp ref="#cpy">Copy Editor<date/></resp>
            </respStmt>
            <respStmt>
               <name ref="#BUTT1">Cameron Butt</name>
               <resp ref="#mrk">Encoder<date>2012</date></resp>
            </respStmt>
            <respStmt>
               <name ref="#LAND2">Tye Landels</name>
               <resp ref="#mrk">Encoder<date>2013</date></resp>
            </respStmt>
            <respStmt>
<resp ref="#dtm">Data Manager<date/></resp>
<name ref="#LAND2">Tye Landels</name>
</respStmt>
<respStmt>
               <resp ref="#prg">Junior Programmer<date/></resp>
               <name ref="#TAKE1">Joey Takeda</name>
            </respStmt>
            <respStmt>
               <resp ref="#prg">Programmer<date/></resp>
               <name ref="#HOLM3">Martin Holmes</name>
            </respStmt>
            <respStmt>
               <resp ref="#rth">Associate Project Director<date/></resp>
               <name ref="#MCFI1">Kim McLean-Fiander</name>
            </respStmt>
            <respStmt>
               <resp ref="#pdr">Project Director<date/></resp>
               <name ref="#JENS1">Janelle Jenstad</name>
            </respStmt>
         </titleStmt>
      
         <publicationStmt>
      <publisher><title level="m">The Map of Early Modern London</title></publisher><idno type="URL">http://mapoflondon.uvic.ca/includes.xml</idno><pubPlace>Victoria, BC, Canada</pubPlace><address>
        <addrLine>Department of English</addrLine>
        <addrLine>P.O.Box 3070 STNC CSC</addrLine>
        <addrLine>University of Victoria</addrLine>
        <addrLine>Victoria, BC</addrLine>
        <addrLine>Canada</addrLine>
        <addrLine>V8W 3W1</addrLine>
    </address><date>2016</date><distributor>University of Victoria</distributor><idno type="ISBN">978-1-55058-519-3</idno><authority>
          <name ref="#JENS1">Janelle Jenstad</name>
          <ref target="mailto:london@uvic.ca">london@uvic.ca</ref>
        </authority><availability>
            <p>Copyright held by <title level="m">The Map of Early Modern London</title> on behalf of the contributors.</p>
            <licence target="http://creativecommons.org/licenses/by-sa/4.0/">
              <p>This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License. </p>
            </licence>
            <p>Further details of licences are available from our
              <ref target="licence.xml">Licences</ref> page. For more
              information, contact the project director, <name ref="#JENS1">Janelle Jenstad</name>, for
              specific information on the availability and licensing of content
              found in files on this site.</p>
        </availability>
    </publicationStmt>
    
         
      <notesStmt><note xml:id="oxygen_citationsByStyle"><listBibl>
<bibl type="ris"><code>Provider: University of Victoria
Database: The Map of Early Modern London
Content: text/plain; charset="utf-8"

TY  - ELEC
A1  - Holmes, Martin
A1  - Butt, Cameron
A1  - Landels-Gruenewald, Tye
ED  - Jenstad, Janelle
T1  - Get the Most out of Oxygen
T2  - The Map of Early Modern London
ET  - 7.0
PY  - 2022
DA  - 2022/05/05
CY  - Victoria
PB  - University of Victoria
LA  - English
UR  - https://mapoflondon.uvic.ca/edition/7.0/oxygen.htm
UR  - https://mapoflondon.uvic.ca/edition/7.0/xml/standalone/oxygen.xml
ER  - </code></bibl>
<bibl type="mla"><author><name ref="#HOLM3"><name type="surname">Holmes</name>, <name type="forename">Martin</name> <name type="forename">D.</name></name></author>, <author><name ref="#BUTT1"><name type="forename">Cameron</name> <name type="surname">Butt</name></name></author>, and <author><name ref="#LAND2"><name type="forename">Tye</name> <name type="surname">Landels-Gruenewald</name></name></author>. <title level="a">Get the Most out of Oxygen</title>. <title level="m">The Map of Early Modern London</title>, Edition <edition>7.0</edition>, edited by <editor><name ref="#JENS1"><name type="forename">Janelle</name> <name type="surname">Jenstad</name></name></editor>, <publisher>U of Victoria</publisher>, <date>05 May 2022</date>, <ref target="https://mapoflondon.uvic.ca/edition/7.0/oxygen.htm">mapoflondon.uvic.ca/edition/7.0/oxygen.htm</ref>.</bibl>
<bibl type="chicago"><author><name ref="#HOLM3"><name type="surname">Holmes</name>, <name type="forename">Martin</name> <name type="forename">D.</name></name></author>, <author><name ref="#BUTT1"><name type="forename">Cameron</name> <name type="surname">Butt</name></name></author>, and <author><name ref="#LAND2"><name type="forename">Tye</name> <name type="surname">Landels-Gruenewald</name></name></author>. <title level="a">Get the Most out of Oxygen</title>. <title level="m">The Map of Early Modern London</title>, Edition <edition>7.0</edition>. Ed. <editor><name ref="#JENS1"><name type="forename">Janelle</name> <name type="surname">Jenstad</name></name></editor>. <pubPlace>Victoria</pubPlace>: <publisher>University of Victoria</publisher>. Accessed <date>May 05, 2022</date>. <ref target="https://mapoflondon.uvic.ca/edition/7.0/oxygen.htm">mapoflondon.uvic.ca/edition/7.0/oxygen.htm</ref>.</bibl>
<bibl type="apa"><author><name><name type="surname">Holmes</name>, <name type="forename">M.</name> <name type="forename">D.</name></name></author>, <author><name><name type="surname">Butt</name>, <name type="forename">C.</name></name></author>, &amp; <author><name><name type="surname">Landels-Gruenewald</name>, <name type="forename">T.</name></name></author> <date>2022</date>. <title>Get the Most out of Oxygen</title>. In <editor><name ref="#JENS1"><name type="forename">J.</name> <name type="surname">Jenstad</name></name></editor> (Ed), <title level="m">The Map of Early Modern London</title> (Edition <edition>7.0</edition>). <pubPlace>Victoria</pubPlace>: <publisher>University of Victoria</publisher>. Retrieved  from <ref target="https://mapoflondon.uvic.ca/edition/7.0/oxygen.htm">https://mapoflondon.uvic.ca/editions/7.0/oxygen.htm</ref>.</bibl>
</listBibl></note><note n="personography"><list type="person"><item xml:id="TAKE1">
      <name type="person">
       <reg>Joey Takeda</reg>
       <name type="forename">Joey</name>
       <name type="surname">Takeda</name>
       <abbr>JT</abbr>
      </name>
      <note>
       <p>Programmer, 2018-present. Junior Programmer, 2015-2017. Research Assistant, 2014-2017.
        Joey Takeda was a graduate student at the University of British Columbia in the Department
        of English (Science and Technology research stream). He completed his BA honours in English
        (with a minor in Women’s Studies) at the University of Victoria in 2016. His primary
        research interests included diasporic and indigenous Canadian and American literature,
        critical theory, cultural studies, and the digital humanities.</p>
      </note>
     </item><item xml:id="LAND2">
      <name type="person">
       <reg>Tye Landels-Gruenewald</reg>
       <name type="forename">Tye</name>
       <name type="surname">Landels-Gruenewald</name>
       <abbr>TLG</abbr>
      </name>
      <note>
       <p>Data Manager, 2015-2016. Research Assistant, 2013-2015. Tye completed his undergraduate
        honours degree in English at the University of Victoria in 2015.</p>
      </note>
     </item><item xml:id="BUTT1">
      <name type="person">
       <reg>Cameron Butt</reg>
       <name type="forename">Cameron</name>
       <name type="surname">Butt</name>
       <abbr>CB</abbr>
      </name>
      <note>
       <p>Research Assistant, 2012–2013. Cameron Butt completed his undergraduate honours degree in
        English at the University of Victoria in 2013. He minored in French and has a keen interest
        in Shakespeare, film, media studies, popular culture, and the geohumanities.</p>
      </note>
     </item><item xml:id="MILL2">
      <name type="person">
       <reg>Sarah Milligan</reg>
       <name type="forename">Sarah</name>
       <name type="surname">Milligan</name>
       <abbr>SM</abbr>
      </name>
      <note>
       <p>Research Assistant, 2012-2014. MoEML Research Affiliate. Sarah Milligan completed her MA
        at the University of Victoria in 2012 on the invalid persona in Elizabeth Barrett Browning’s
         <title level="m">Sonnets from the Portuguese</title>. She has also worked with the <title level="m"><ref target="http://internetshakespeare.uvic.ca/">Internet Shakespeare
          Editions</ref></title> and with <ref target="https://www.uvic.ca/humanities/english/people/regularfaculty/chapman-alison.php">Dr.
         Alison Chapman</ref> on the <ref target="http://web.uvic.ca/~vicpoet/"><title level="m">Victorian Poetry Network</title></ref>, compiling an index of Victorian periodical
        poetry.</p>
      </note>
     </item><item xml:id="MCFI1">
      <name type="person">
       <reg>Kim McLean-Fiander</reg>
       <name type="forename">Kim</name>
       <name type="surname">McLean-Fiander</name>
       <abbr>KMF</abbr>
      </name>
      <note>
       <p>Director of Pedagogy and Outreach, 2015–2020. Associate Project Director, 2015.
        Assistant Project Director, 2013-2014. MoEML Research Fellow, 2013. Kim McLean-Fiander comes
        to <title level="m">The Map of Early Modern London</title> from the <ref target="http://cofk.history.ox.ac.uk/"><title level="m">Cultures of Knowledge</title></ref>
        digital humanities project at the <ref target="http://www.ox.ac.uk/">University of
         Oxford</ref>, where she was the editor of <ref target="http://emlo.bodleian.ox.ac.uk/"><title level="m">Early Modern Letters Online</title></ref>, an open-access union
        catalogue and editorial interface for correspondence from the sixteenth to eighteenth
        centuries. She is currently Co-Director of a sister project to <ref target="http://emlo.bodleian.ox.ac.uk/"><title level="m">EMLO</title></ref> called <title level="m">Women’s Early Modern Letters Online</title> (<ref target="http://wemlo.net/"><title level="m">WEMLO</title></ref>). In the past, she held an internship with the
        curator of manuscripts at the <ref target="https://www.folger.edu/">Folger Shakespeare
         Library</ref>, completed a doctorate at <ref target="http://www.ox.ac.uk/">Oxford</ref> on
        paratext and early modern women writers, and worked a number of years for the <ref target="http://www.bodleian.ox.ac.uk/">Bodleian Libraries</ref> and as a freelance editor.
        She has a passion for rare books and manuscripts as social and material artifacts, and is
        interested in the development of digital resources that will improve access to these
        materials while ensuring their ongoing preservation and conservation. An avid traveler, Kim
        has always loved both London and maps, and so is particularly delighted to be able to bring
        her early modern scholarly expertise to bear on the MoEML project.</p>
      </note>
     </item><item xml:id="JENS1">
      <name type="person">
       <reg>Janelle Jenstad</reg>
       <name type="forename">Janelle</name>
       <name type="surname">Jenstad</name>
       <abbr>JJ</abbr>
      </name>
      <note>
       <p>Janelle Jenstad is Associate Professor of English at the University of Victoria, Director
        of <title level="m">The Map of Early Modern London</title>, and PI of <title level="m">Linked Early Modern Drama Online</title>. She has taught at Queen’s University, the Summer
        Academy at the Stratford Festival, the University of Windsor, and the University of
        Victoria. With Jennifer Roberts-Smith and Mark Kaethler, she co-edited <title level="m">Shakespeare’s Language in Digital Media</title> (<ref target="https://www.routledge.com/Shakespeares-Language-in-Digital-Media-Old-Words-New-Tools/Jenstad-Kaethler-Roberts-Smith/p/book/9781472427977">Routledge</ref>). She has prepared a documentary edition of John Stow’s <title level="m">A
         Survey of London</title> (1598 text) for MoEML and is currently editing <title level="m">The Merchant of Venice</title> (with Stephen Wittek) and Heywood’s <title level="m">2 If
         You Know Not Me You Know Nobody</title> for DRE. Her articles have appeared in <title level="j">Digital Humanities Quarterly</title>, <title level="j">Renaissance and
         Reformation</title>,<title level="j">Journal of Medieval and Early Modern Studies</title>,
         <title level="j">Early Modern Literary Studies</title>, <title level="j">Elizabethan
         Theatre</title>, <title level="j">Shakespeare Bulletin: A Journal of Performance
         Criticism</title>, and <title level="j">The Silver Society Journal</title>. Her book
        chapters have appeared (or will appear) in <title level="m">Institutional Culture in Early
         Modern Society</title> (Brill, 2004), <title level="m">Shakespeare, Language and the Stage,
         The Fifth Wall: Approaches to Shakespeare from Criticism, Performance and Theatre
         Studies</title> (Arden/Thomson Learning, 2005), <title level="m">Approaches to Teaching
         Othello</title> (Modern Language Association, 2005), <title level="m">Performing Maternity
         in Early Modern England</title> (Ashgate, 2007), <title level="m">New Directions in the
         Geohumanities: Art, Text, and History at the Edge of Place</title> (Routledge, 2011), Early
        Modern Studies and the Digital Turn (Iter, 2016), <title level="m">Teaching Early Modern
         English Literature from the Archives</title> (MLA, 2015), <title level="m">Placing Names:
         Enriching and Integrating Gazetteers</title> (Indiana, 2016), <title level="m">Making
         Things and Drawing Boundaries</title> (Minnesota, 2017), and <title level="m">Rethinking
         Shakespeare’s Source Study: Audiences, Authors, and Digital Technologies</title>
        (Routledge, 2018).</p>
      </note>
     </item><item xml:id="HOLM3">
      <name type="person">
       <reg>Martin D. Holmes</reg>
       <name type="forename">Martin</name>
       <name type="forename">D.</name>
       <name type="surname">Holmes</name>
       <abbr>MDH</abbr>
      </name>
      <note>
       <p>Programmer at the University of Victoria Humanities Computing and Media Centre (HCMC).
        Martin ported the MOL project from its original PHP incarnation to a pure eXist database
        implementation in the fall of 2011. Since then, he has been lead programmer on the project
        and has also been responsible for maintaining the project schemas. He was a co-applicant on
        MoEML’s 2012 SSHRC Insight Grant.</p>
      </note>
     </item></list></note></notesStmt><sourceDesc><bibl>Born digital.</bibl></sourceDesc></fileDesc>
      <profileDesc>
      <textClass>
        <catRef scheme="includes.xml#molDocumentTypes" target="includes.xml#mdtBornDigital"/>
        <catRef scheme="includes.xml#molDocumentTypes" target="includes.xml#mdtDocumentationEncoding"/>
        <!--NOTE: MORE CATEGORIES NEED TO BE ADDED HERE.-->
      </textClass>
    </profileDesc>

      <encodingDesc>
    

      <p>Our editorial and encoding practices are documented in detail in the <ref target="praxis.xml">Praxis</ref> section of our website.</p>

    <classDecl><taxonomy xml:id="marcRelators"><category xml:id="aut">
      <catDesc>
       <term>Author</term>
       <gloss type="marcRelator" target="http://id.loc.gov/vocabulary/relators/aut.html">A person or
        organization chiefly responsible for the intellectual or artistic content of a work, usually
        printed text. This term may also be used when more than one person or body bears such
        responsibility. </gloss>
       <gloss type="mol">MoEML uses the term <mentioned>author</mentioned> to designate a
        contributor who is wholly or partly responsible for the original content of either a
        born-digital document, such as an encyclopedia entry, or a primary source document, such as
        a MoEML Library text.</gloss>
      </catDesc>
     </category><category xml:id="dtm">
      <catDesc>
       <term>Data manager</term>
       <gloss type="marcRelator">A person or organization responsible for managing databases or
        other data sources.</gloss>
       <gloss type="mol">MoEML uses the term <mentioned>data manager</mentioned> to designate
        contributors who maintain and manage our databases. They add and update the data sent to us
        by external contributors or found by MoEML team members. They also monitor journals and
        sources regularly to ensure that our databases are current.</gloss>
      </catDesc>
     </category><category xml:id="mrk">
      <catDesc>
       <term>Markup editor</term>
       <gloss type="marcRelator">A person or organization performing the coding of SGML, HTML, or
        XML markup of metadata, text, etc.</gloss>
       <gloss type="mol">MoEML uses the code <mentioned>mrk</mentioned> both for the primary
        encoder(s) and for the person who edits the encoding. MoEML’s normal workflow includes a
        step whereby encoders check each other’s work. We use the term
         <mentioned>encoder</mentioned> to designate the principal encoder, and <mentioned>markup
         editor</mentioned> to designate the person who checks the encoding.</gloss>
      </catDesc>
     </category><category xml:id="pdr">
      <catDesc>
       <term>Project director</term>
       <gloss type="marcRelator">A person or organization with primary responsibility for all
        essential aspects of a project, or that manages a very large project that demands senior
        level responsibility, or that has overall responsibility for managing projects, or provides
        overall direction to a project manager.</gloss>
       <gloss type="mol">MoEML’s Project Director directs the intellectual and scholarly aspects of
        the project, consults with the Advisory and Editorial Boards, and ensures the ongoing
        funding of the project.</gloss></catDesc>
     </category><category xml:id="prg">
      <catDesc>
       <term>Programmer</term>
       <gloss type="marcRelator">A person or organization responsible for the creation and/or
        maintenance of computer program design documents, source code, and machine-executable
        digital files and supporting documentation.</gloss>
       <gloss type="mol">MoEML uses the term <mentioned>programmer</mentioned> to designate a person
        or organization responsible for the creation and/or maintenance of computer program design
        documents, source code, and machine-executable digital files and supporting
        documentation.</gloss></catDesc>
     </category><category xml:id="rth">
      <catDesc>
       <term>Research team head</term>
       <gloss type="marcRelator">A person who directed or managed a research project.</gloss>
       <gloss type="mol">MoEML uses the terms <mentioned>research term head</mentioned> and
         <mentioned>assistant project manager</mentioned> interchangeably.</gloss>
      </catDesc>
     </category></taxonomy><taxonomy xml:id="molRelators"><category xml:id="cpy">
      <catDesc>
       <term>Copy editor</term>
       <gloss type="mol">MoEML uses the term <mentioned>copy editor</mentioned> to designate the
        person who brings the document into conformity with MoEML stylistic and citational practice.
        Acceptable names for this role are copy editor, principal copy editor, secondary copy
        editor, or copy editor of a particular section of text.</gloss>
      </catDesc>
     </category></taxonomy></classDecl></encodingDesc>
  

      <!--
        Changes recorded here are only major changes or those resulting from 
        automated processing. Later changes should be placed first. A complete
        record of the history of any of our files is available through the Subversion
        log.
      -->
      <revisionDesc status="published">
        <change who="#TAKE1" when="2018-05-27">Added table of shortcut keys.</change>
      <change who="#TAKE1" when="2016-02-27">Added <gi>sourceDesc</gi> information for born-digital documents.</change>
         <change who="#TAKE1" when="2015-06-23">Standardized <gi>respStmt</gi>s for JENS1, MCFI1, and HOLM3 and added TAKE1 as Junior Programmer.</change>
         <change who="#HOLM3" when="2014-09-29">Added XInclude for <gi>listPrefixDef</gi> in the header.</change>
         <change who="#LAND2" when="2014-05-28">Revised index tags.</change>
        <change who="#LAND2" when="2014-05-20">Added section on wrapping code in Oxygen.</change>
         <change who="#HOLM3" when="2013-12-19">Added global publicationStmt through XInclude.</change>
         <change who="#HOLM3" when="2013-08-13">Put <gi>change</gi> elements inside
          <gi>revisionDesc</gi> into the correct (latest first) order.</change>
         <change who="#HOLM3" when="2013-08-12">Added <gi>profileDesc</gi> containing document type
        information expressed in <gi>catRef</gi> elements.</change>
         <change who="#BUTT1" when="2013-05-27">Created file and added content from
        encoding_practices.xml file.</change>
      </revisionDesc>
  </teiHeader><text>
    <front>
      <docTitle>
        <titlePart type="main">Get the Most Out of Oxygen</titlePart>
      </docTitle>
    </front>

    <body>
      <div xml:id="oxygen_intro">
        <head>Introduction</head>
        <index indexName="documentation_manual">
<term>setup your workstation</term>
          <term>Oxygen</term>
          <term>basics</term>
        </index>
        <p>This page contains useful information for advanced encoders using Oxygen. These
          instructions are not comprehensive, but outline a few key features. For an introduction to
          Oxygen, see <ref target="http://hcmc.uvic.ca/workshops/tei_intro/handouts/oxygen_01.pdf">this document</ref> prepared by MoEML programmer <name ref="#HOLM3">Martin Holmes</name>.</p>
      </div>
      
      <div xml:id="oxygen_using_moeml_xpr">
        <index indexName="documentation_manual">
          <term>setup your workstation</term>
          <term>Oxygen</term>
          <term>MoEML project file</term>
        </index>
        <head>Using the MoEML project file</head>
        
        <p>If you check out the MoEML codebase from Subversion
          as described in <ref target="subversion.xml">Access Files from the Subversion Repository</ref>,
          you will find that there is a file in the root of the checked-out folder (alongside <code>PERS1.xml</code>)
          called <code>moeml.xpr</code>. This file is an Oxygen project file. Load this file into Oxygen
          <mentioned>Project / Open Project</mentioned>, and you should see the list of all the files and 
          folders in the project available to you automatically.</p>
        <p>Using the <code>moeml.xpr</code> project file brings some other advantages. For instance,
          you will find that the keystroke shortcut for entering a curly apostrophe described 
          <ref target="#oxygen_codeTemplates">below</ref> is automatically configured, and you can 
          also run the <code>diagnostics.xsl</code> file in <code>utilities</code> to perform consistency
          checks on the entire collection (although this is now done automatically by our Jenkins 
          build server whenever anyone commits to svn).</p>
      </div>

      <div xml:id="oxygen_codeTemplates">
        <index indexName="documentation_manual">
<term>setup your workstation</term>
          <term>Oxygen</term>
          <term>code templates</term>
          <term>special characters</term>
          <term>unicode</term>
        </index>
        <head>Add Code Templates for Special Characters (Apostrophes, etc.)</head>

        <p>Oxygen can remember code templates, or shortcut keys for special characters. This can be
          useful for typing characters that re-occur frequently but are difficult to type. For
          example, the website uses curly apostrophes (’), Unicode character U+2019, which must be
          hard-coded (manually typed in the string of text, rather than rendered dynamically).
          Documents with <soCalled>straight</soCalled> apostrophes will not validate against our
          schema. Other useful characters to have in a code template may be the en dash (–) or the
          em dash (—). Typing such characters is made easier by setting up a code template in Oxygen
          as follows.</p>

        <p>First, find the character in your character map (or in a pre-existing document) and copy
          it to the clipboard so you can paste it when you need it. The curly apostrophe, en dash,
          and em dash can be copy-pasted from the text above, for example.</p>

        <p>In Oxygen, click on <mentioned>Options/Preferences</mentioned>, then type <q>Code Templates</q>
          into the filter box at the top. You will see a list of the existing code templates (if
          any). Click on <mentioned>New</mentioned>, then fill in the following details:</p>

        <list rend="simple">
          <item>Name: Apostrophe</item>
          <item>Description: Curly apostrophe (U+2019)</item>
          <item> Associate with: XML Editor</item>
          <item>Content: [Paste the apostrophe in here]</item>
        </list>

        <p>Then press <mentioned>OK</mentioned>.</p>

        <p>Now, you can insert a curly apostrophe into documents as follows:</p>

        <p>Press <mentioned>Control</mentioned> + <mentioned>Shift</mentioned> +
            <mentioned>Space</mentioned>. You should see the code template selector appear. Use the
          arrow keys to select the desired code, and press <mentioned>OK</mentioned> to use it.</p>
      </div>

      <div xml:id="oxygen_schematron">
        <index indexName="documentation_manual">
<term>setup your workstation</term>
          <term>Oxygen</term>
          <term>schematron</term>
          <term>relax ng</term>
          <term>unicode</term>
          <term>validation</term>
        </index>
        <head>Set Up Schematron Validation</head>
        <p>All of our TEI files must of course validate against our TEI schema, which is a <ref target="http://relaxng.org/">RELAX NG</ref> schema. This controls the structure and
          content of our files, by setting out the rules for which elements and attributes can
          appear in which places, and making sure that (for example) dates are encoded in the proper
          format. However, the RELAX NG schema has some limitations on the kinds of constraints it
          can impose. In order to apply some extra, more project-specific rules and strictures<!-- TL or KMF: Should this be structures or strictures? --> to
          our files, we also use a second schema which is written in a different language called
            <ref target="http://www.schematron.com/">Schematron</ref><!-- TL: link not working. -SM -->. So at the top of every XML
          file, you’ll see two processing instructions pointing at schemas, one pointing at the
          RELAX NG schema (<code>london_all.rng</code>) and one pointing at the Schematron schema
            (<code>london_all.sch</code>). The RELAX NG schema is handled automatically by Oxygen,
          but in order to make the Schematron schema work properly, you will need to make a couple
          of changes to the Oxygen preferences. If this is not done, validation of XML files will
          fail. </p>
        <list rend="simple">
          <item>Click on <mentioned>Options/Preferences</mentioned>.</item>
          <item>In the filter box at the top left, type <code>XML Parser</code> and press return.
              <mentioned>XML Parser [P]</mentioned> should be selected.</item>
          <item>Under <mentioned>Schematron/Schematron XPath Version</mentioned>, select
              <mentioned>2.0</mentioned>. </item>
          <item> Under <mentioned>ISO Schematron</mentioned>, check <mentioned>Allow foreign
              elements</mentioned>. </item>
        </list>
      </div>
      <div xml:id="oxygen_xincludeParsing">
        <index indexName="documentation_manual">
<term>setup your workstation</term>
          <term>Oxygen</term>
          <term>validation</term>
          <term>XInclude</term>
          <term>XML parser</term>
        </index>
        <head>Adjust Validation Settings for Files with XInclude</head>
        
        <p>Almost all of our XML files contain XInclude elements. XInclude is used to <soCalled>pull in</soCalled> content from another document; it enables us to keep a single copy of some important pieces of XML in one location and pull it into many other documents automatically. You can see some examples and a brief explanation of XInclude in <ref target="website_structure.xml#website_structure_simple_docs">Website structure: Simple Documents</ref>. By default, when Oxygen validates a file containing an XInclude element, it tries to follow the XInclude tag and pull in the extra content before doing the validation. This would be desirable, except that Oxygen is not able to follow some of the XInclude paths we use, because they include XPointers. Therefore we have to turn off this behaviour for the validation to succeed:</p>
        
        <list rend="simple">
          <item>Click on <mentioned>Options/Preferences</mentioned>.</item>
          <item>In the filter box at the top left, type <code>XML Parser</code> and press return.
            <mentioned>XML Parser [P]</mentioned> should be selected.</item>
          <item>Under <mentioned>XInclude Options</mentioned>, uncheck
            <mentioned>Enable XInclude processing</mentioned>. </item>
        </list>
        
      </div>

      <div xml:id="oxygen_findReplace">
        <index indexName="documentation_manual">
<term>setup your workstation</term>
          <term>Oxygen</term>
          <term>find and replace</term>
        </index>
        <head>Find and Replace Encoded Text</head>
        <p>Oxygen has a powerful search and replace function, but it should be used with caution to
          avoid errors.</p>
        <p>To search in a certain file, right-click on that file in the project view and select
            <mentioned>Find/Replace in Files</mentioned>. To search and replace in all files, select
          the highest file in the tree, <mentioned>london</mentioned>. This action opens a search
          and replace window. To search for a string of text, simply type that string into the
          search bar and click <mentioned>Search</mentioned>. Oxygen will open a list of the
          occurrences it finds at the bottom of the screen. It also lists the number of occurences
          and the files in which they appear. Double-click on an occurrence to open that file.</p>
      </div>
      <div xml:id="oxygen_wrap">
        <index indexName="documentation_manual">
<term>setup your workstation</term>
          <term>Oxygen</term>
          <term>line wrap</term>
          <term>preferences in Oxygen</term>
        </index>
        <head>Wrap XML Code</head>
        <p>Use the <q>Line wrap</q> function in Oxygen to wrap your XML code neatly, so that it does not disappear off the right of your screen with a horizontal scrollbar. To activate the <q>Line wrap</q> function, click on <q>Preferences</q> in the <q>Options</q> toolbar. A new window will open with a table of contents on the left-hand side. Find the <q>Text</q> subsection, nested inside Editor &gt; Edit modes &gt; Text, and check the <q>Line wrap</q> checkbox.</p>
        <p>It is absolutely essential that encoders do not use <soCalled>pretty-print</soCalled>, also known as the <q>Format and Indent</q> function in Oxygen. Although this function promises to wrap your TEI code neatly and indent it for you, in practice, it will add extra spaces in the middle of mixed-content elements, resulting in the introduction of spaces where they should not appear. (See related documentation on <ref target="encoding_practices.xml#encoding_practices_spaces">encoding spaces truthfully</ref>.)</p>
      </div>
      <div xml:id="oxygen_shortcuts">
        <index indexName="documentation_manual">
          <term>Oxygen shortcuts</term>
          <term>Oxygen</term>
          <term>code templates</term>
          <term>special characters</term>
          <term>keyboard shortcuts</term>
          <term>copy and paste</term>
        </index>
        <head>Keyboard Shortcuts</head>
        <p>There are a number of keyboard shortcuts in the MoEML Oxygen project file that quickly perform a number of common encoding tasks.<note type="editorial" resp="#HOLM3">These shortcuts are for a Linux OS; depending on your operating system and keyboard, the commands might be slightly different. For a full list of Oxygen keyboard shortcuts, see Oxygen &gt; Options &gt; Menu Shortcut Keys</note></p>
        <table>
          <row role="label">
            <cell role="label">Action</cell>
            <cell role="label">How to do it</cell>
          </row>
          <row>
            <cell>Add element around selected text</cell>
            <cell>Ctrl+e</cell>
          </row>
          <row>
            <cell>Save</cell>
            <cell>Ctrl+s</cell>
          </row>
          <row>
            <cell>Validate</cell>
            <cell>Ctrl+shift+v</cell>
          </row>
          <row>
            <cell>Comment/uncomment selected text</cell>
            <cell>Ctrl+shift+,</cell>
          </row>
          <row>
            <cell>Pulls up a menu of special characters and common entity tags that MoEML uses (including curly apostrophe, long s,  personography entry, and more)</cell>
            <cell>Ctrl+shift+space</cell>
          </row>
          <row>
            <cell>Undo</cell>
            <cell>Ctrl+z</cell>
          </row>
          <row>
            <cell>Redo</cell>
            <cell>Ctrl+shift+z</cell>
          </row>
          <row>
            <cell>Cut</cell>
            <cell>Ctrl+x</cell>
          </row>
          <row>
            <cell>Copy</cell>
            <cell>Ctrl+c</cell>
          </row>
          <row><cell>Ctrl+v</cell>
            <cell>Paste</cell></row>
          <row>
            <cell>Find/Replace (use with caution!)</cell>
            <cell>Ctrl+f</cell>
          </row>
          <row>
            <cell>Toggle line-wrap</cell>
            <cell>Ctrl+shift+y</cell>
          </row> 
          <row>
            <cell>See suggested elements</cell>
            <cell>Left bracket (&lt;) and wait for one second</cell>
          </row>
          <row>
            <cell>See suggested attributes</cell>
            <cell>When in the element, press space after typing the element name and wait for one second</cell>
          </row>
          <row>
            <cell>See suggested attribute values</cell>
            <cell>Place cursor between the quotation marks and wait for one second</cell>
          </row>
        </table>
      </div>
           
    </body>
  </text></TEI>