Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Quotations in the text that indicate speech, thought, writing, etc. by one or more characters is marked by the various TEI elements. For instance, dialogue or notes written from one character to another would be indicated using this <q> element. The <q> tag will generally come inside of a set of <p> tags, since most dialogue is denoted within the text by setting it apart as a separate paragraph. Quotes can come within quotes, such as when one speaker quotes someone else. If there is an external quote inside an internal quote, for instance, a character quotes the bible, the correct tags will be used to delineate between the two distinct types of quotes.

Specialized tags are provided to indicate the various types of internal quotations, but for this project we will only use a subset of the possible tags:

  • <said>: Use to indicate passages thought or spoken aloud
    • @who info needs to added
  • <foreign>: A word or phrase is in quotation marks, italisized or set apart in some way because it not the predominant language used in the text.
    • Attempt to identify the language using the "xml:lang" attribute and a two-letter (as opposed to the three-letter) code according to the ISO 639 standard. See example below.
  • <distinct>: A word or phrase is in quotes or set apart in some way because it is linguistically distinct such as slang or regional dialect.

...

  • as slang or regional dialect.
  • <q>: Use the more generic <q> tag for quotations that are not defined as <said>, <distinct> or <foreign>.

Retain the quotation marks printed in the text. Tags should surround the quotation marks when present.

Quotes can come within quotes, such as when one speaker quotes someone else. If there is an external quote inside an internal quote, for instance, a character quotes the bible, the correct tags will be used to delineate between the two distinct types of quotes.

Code Block
xml
xml
<p>Henry blustered,
    "I know you.
        <quote>'Thou Shalt Not Kill.'</quote>"
</p>

...