| 1 |
<!-- Perseus TEI extension declarations |
| 2 |
|
| 3 |
Usage: |
| 4 |
|
| 5 |
Extensions that are bug fixes to the TEI or necessary |
| 6 |
additions to it used throughout Perseus are included |
| 7 |
automatically. Extensions only used in particular |
| 8 |
documents or that redefine elements in idiosyncratic |
| 9 |
ways must be referenced explicitly before they can be |
| 10 |
used. |
| 11 |
|
| 12 |
These two classes are identified as follows: |
| 13 |
|
| 14 |
- elements defined by entities labeled 'INCLUDE' below |
| 15 |
are included automatically in all documents |
| 16 |
|
| 17 |
- elements defined by entities labeled 'IGNORE' below |
| 18 |
must be activated by adding <PERSEUS.FOO % 'INCLUDE'> |
| 19 |
in the document's DOCTYPE before this file is loaded. |
| 20 |
|
| 21 |
Principles: |
| 22 |
|
| 23 |
Requiring users to load unusual extensions explicitly |
| 24 |
should make the degree to which a document conforms to |
| 25 |
'plain' TEI easier to determine. |
| 26 |
--> |
| 27 |
|
| 28 |
|
| 29 |
<!-- New elements --> |
| 30 |
|
| 31 |
|
| 32 |
<!-- lemma: Cite a source via direct text copy rather using TEI's |
| 33 |
app crit. markup. |
| 34 |
|
| 35 |
Primarily for Classics texts. |
| 36 |
--> |
| 37 |
<!ENTITY % PERSEUS.LEMMA 'INCLUDE'> |
| 38 |
<![%PERSEUS.LEMMA; [ |
| 39 |
<!ENTITY % n.lemma "lemma" > |
| 40 |
<!ENTITY % x.loc '%n.lemma; | ' > |
| 41 |
]]> |
| 42 |
|
| 43 |
|
| 44 |
<!-- tagStart, tagEnd: Overlapping (meta)markup |
| 45 |
|
| 46 |
Solely to represent overlapping witnesses etc. |
| 47 |
in Marlowe. |
| 48 |
--> |
| 49 |
<!ENTITY % PERSEUS.OVERLAPPING 'IGNORE'> |
| 50 |
<![%PERSEUS.OVERLAPPING; [ |
| 51 |
<!ENTITY % n.tagStart "tagStart" > |
| 52 |
<!ENTITY % n.tagEnd "tagEnd" > |
| 53 |
<!ENTITY % x.fragmentary '%n.tagStart; | %n.tagEnd; | ' > |
| 54 |
]]> |
| 55 |
|
| 56 |
|
| 57 |
<!-- Redefined elements --> |
| 58 |
|
| 59 |
|
| 60 |
<!-- note: allow 'note' globally; |
| 61 |
see sects. 5.2.6, 6.10.2.5 in TEI P4 |
| 62 |
|
| 63 |
Arguably a bug that the TEI doesn't allow this. |
| 64 |
|
| 65 |
Simply adding note to x.Incl produces an ambiguous content model. |
| 66 |
|
| 67 |
Instead we rename TEI's 'note' to an element that will never be used |
| 68 |
('perseus-removed-note') and add a new global 'note' (globalNote) element |
| 69 |
whose definition is identical to that of TEI's 'note' and is identified |
| 70 |
in documents as 'note'. |
| 71 |
|
| 72 |
This avoids the ambiguity by retaining the TEI's element under a new name |
| 73 |
and including a new one that occurs globally under the TEI element's |
| 74 |
original name. |
| 75 |
|
| 76 |
To include the new 'globalNote' we add it to x.Incl and redefine 'notesStmt'. |
| 77 |
--> |
| 78 |
<!ENTITY % PERSEUS.NOTE 'INCLUDE'> |
| 79 |
<![%PERSEUS.NOTE; [ |
| 80 |
<!ENTITY % n.note 'perseus-removed-note' > |
| 81 |
<!ENTITY % n.globalNote 'note'> |
| 82 |
<!ENTITY % x.Incl '%n.globalNote; |' > |
| 83 |
<!ENTITY % notesStmt 'IGNORE'> |
| 84 |
]]> |
| 85 |
|
| 86 |
|
| 87 |
<!-- quote: add 'type' attribute |
| 88 |
|
| 89 |
Arguably a bug that the TEI doesn't allow this. |
| 90 |
--> |
| 91 |
<!ENTITY % PERSEUS.QUOTE 'INCLUDE'> |
| 92 |
<![%PERSEUS.QUOTE; [ |
| 93 |
<!ENTITY % quote 'IGNORE' > |
| 94 |
]]> |
| 95 |
|
| 96 |
|
| 97 |
<!-- biblStruct: allow multiple analytics |
| 98 |
|
| 99 |
Solely for Plutarch. |
| 100 |
--> |
| 101 |
<!ENTITY % PERSEUS.BIBLSTRUCT 'IGNORE'> |
| 102 |
<![%PERSEUS.BIBLSTRUCT; [ |
| 103 |
<!ENTITY % biblStruct 'IGNORE'> |
| 104 |
]]> |
| 105 |
|
| 106 |
|
| 107 |
<!-- placeName: add 'type' attribute |
| 108 |
|
| 109 |
Extension to render 'placeName' similar to 'name'. |
| 110 |
Solely for Civil War collection. |
| 111 |
--> |
| 112 |
<!ENTITY % PERSEUS.PLACENAME 'IGNORE'> |
| 113 |
<![%PERSEUS.PLACENAME; [ |
| 114 |
<!ENTITY % placeName 'IGNORE'> |
| 115 |
]]> |
| 116 |
|
| 117 |
<!ENTITY % PERSEUS.DATELINE 'INCLUDE'> |
| 118 |
<![%PERSEUS.DATELINE; [ |
| 119 |
<!ENTITY % dateline 'IGNORE'> |
| 120 |
]]> |
| 121 |
|
| 122 |
<!ENTITY % PERSEUS.MEASURE 'IGNORE'> |
| 123 |
<![%PERSEUS.MEASURE; [ |
| 124 |
<!ENTITY % measure 'IGNORE'> |
| 125 |
]]> |
| 126 |
|
| 127 |
<!ENTITY % PERSEUS.SENSE 'IGNORE'> |
| 128 |
<![%PERSEUS.SENSE; [ |
| 129 |
<!ENTITY % sense 'IGNORE'> |
| 130 |
]]> |
| 131 |
|
| 132 |
<!ENTITY % PERSEUS.CIT 'IGNORE'> |
| 133 |
<![%PERSEUS.CIT; [ |
| 134 |
<!ENTITY % cit 'IGNORE'> |
| 135 |
]]> |
| 136 |
|
| 137 |
<!ENTITY % PERSEUS.FOREIGN 'IGNORE'> |
| 138 |
<![%PERSEUS.FOREIGN; [ |
| 139 |
<!ENTITY % foreign 'IGNORE'> |
| 140 |
]]> |
| 141 |
|
| 142 |
<!ENTITY % PERSEUS.ETYM 'IGNORE'> |
| 143 |
<![%PERSEUS.ETYM; [ |
| 144 |
<!ENTITY % etym 'IGNORE'> |
| 145 |
]]> |
| 146 |
|
| 147 |
<!ENTITY % PERSEUS.HI 'IGNORE'> |
| 148 |
<![%PERSEUS.HI; [ |
| 149 |
<!ENTITY % hi 'IGNORE'> |
| 150 |
]]> |