Skip to content

Intro to TEI Feb 2022

Christopher Ohge edited this page Feb 22, 2022 · 29 revisions

Introduction to TEI for scholarly texts

February 21, 23, 25 2022, 15.30 GMT

Tutors: Gabriel Bodard & Christopher Ohge

TEI for scholarly texts

This workshop introduces the use of TEI (Text Encoding Initiative) for marking up literary and historical texts and critical editions in XML. Delivered via a mix of asynchronous video tutorials and brief live sessions on Monday, Wednesday, and Friday, we will offer basic instruction in encoding scholarly editions in TEI using a standard XML editor. Participants will be introduced to two different approaches to TEI usage and subsets (including EpiDoc for ancient texts, and modern multi-genre manuscripts), and have the opportunity practice the skills learned on their own texts (or some sample texts provided) and ask for help and feedback throughout the workshop as required. No prior experience in XML or coding is expected.

By the end of the workshop, students will have a working familiarity with TEI structures and vocabularies, and be able to articulate what models might be appropriate for specific editions.

Software

You will need at least a basic text editor to do the exercises. We suggest that you download the oXygen (https://www.oxygenxml.com/xml_editor/download_oxygenxml_editor.html) XML editor, which is an integrated development environment for XML editing and publishing. You will need to request a 30-day free trial at https://www.oxygenxml.com/xml_editor/register.html.

If you'd rather use a free text editor, Atom or Visual Studio Code would also suffice.

If you would rather not download software, there is also a web-based text editor for TEI XML: https://tei-web-editor.herokuapp.com/

Schedule

Day 1 (21 Feb): 15:30 UK time (GMT): Welcome; introductions; group discussion of text modelling.

Day 2 (23 Feb): 15:30 UK time (GMT). Review exercises from Day 1.

Day 3 (25 Feb): 15:30 UK time (GMT). Review exercises from Day 2 and workshop review.

Tutorials and exercises

Day 1 (Monday and Wednesday)

Text modelling

We will start Day 1 with a group discussion on text modelling, which is an important thinking process to undertake before encoding. Here are the slides from a brief intro to modelling.

Introduction to TEI (Monday & Wednesday)

The following videos introduce you to the basics of TEI XML encoding, including the eXtensible Markup Language (XML), what the TEI is, and how to use the oXygen XML editor to encode your documents.

Now that you have a basic understanding of XML and TEI, and how to encode documents using the oXygen editor, let's examine the TEI 'core' modules (that is, the modules that documents tend to have).

The video tutorials below are not strictly required, but they introduce you to a variety of TEI encoding methods for particular purposes, from encoding basic prose structure, poetry, performance texts, critical apparatus, names, and manuscript and object descriptions.

Exercise 1 (Monday–Wednesday):

Practice encoding basic features in either a text you are interested in, or choose some from the following list of examples and copy-paste into Oxygen:

Focus first on the two main requirements for a valid TEI document (other than the TEI root):

  1. <teiHeader>: fill in your basic metadata about publication and source. If you are doing materialist or manuscript study, try to fill in your manuscript description using <msDesc>.

  2. <text>: what needs to be included in your text? What are the essential tags for building structure and tagging semantic features? Will you need front matter, back matter?

Day 2 (Wednesday–Friday):

Approach 1: EpiDoc (Wednesday & Friday)

Tutorials:

Exercise 2a:

Try to encode some inscriptions or papyri, either texts that you know already, or copy/paste into Oxygen a few from the following examples:

Approach 2: Bow in the Cloud Anti-slavery Archive (Wednesday & Friday)

Tutorials:

Exercise 2b:

These exercises have you practicing on three different kinds of texts from the Bow in the Cloud archive, but you are free to practice on your own projects if that suits you.