An Introduction to TEI:
by Laura Mandell, Miami Univ. of Ohio
Coding the Text Itself (your content)
For tutorials:
- The Brown Women Writers Project Tutorials: http://www.wwp.brown.edu/encoding/training/
- The Brown Women Writers Project Tutorial on Title Pages (for encoding the <front></front> portion of your document): http://www.wwp.brown.edu/encoding/training/titlepage/titlepage.html
- see also Teaching Tools sponsored by TEI: http://www.tei-c.org/Tutorials/index.html
Remember -- throughout your document:
To avoid confusion and errors that defy detection -- especially if you are cutting and pasting text from many different types of documents into your TEI document -- it is best to replace all punctuation marks with entity references.
-- for punctuation, see 4.2.1 under 4.2 Entry and Display Character References and also refer to The Unicode Standard General Punctuation and Controls and Basic Latin. Based on my discussions with and viewings of The Rossetti Archive and the Victorian Women Writers Project, I would say that library-quality texts in general use code to specify punctuation beyond commas, semicolons, and periods.
Whenever you type an ampersand in oXygen -- an ampersand always begins an entity reference; if you want to type a REAL ampersand, you must type "&" -- a drop-down box will appear offering you possibilties for punctuation:
You can click on one of those possibilities for &, ', >, <, " -- AND you can type ‐ : — for hyphens, colons, and longdashes.
Here, on this page, below, you will find two pictures of a TEI encoded text, and below them a picture of where that text occurs in the whole TEI encoded document. At the bottom of this page, there is a list of pages that will explain how to code parts of the text in greater detail. Pictures:
Putting it All Together:
If you wish to go on, you can see how to
(C) insert footnotes
(G) Samples