Download Oxygen XML Author 12.2
Transcript
Oxygen XML Author | Predefined Document Types | 143
The TEI P4 Document Type
The Text Encoding Initiative (TEI) Guidelines is an international and interdisciplinary standard that enables libraries,
museums, publishers, and individual scholars to represent a variety of literary and linguistic texts for online research,
teaching, and preservation.
A file is considered to be a TEI P4 document when either of the following occurs:
•
•
the root's local name is TEI.2
the document's public id is -//TEI P4
The DTD schema used for these documents is located in ${frameworks}/tei/tei2xml.dtd, where
${frameworks} is a subdirectory of the Oxygen install directory.
The CSS file used for rendering TEI P4 content is located in
${frameworks}/tei/xml/tei/css/tei_oxygen.css.
There are two default catalogs for TEI P4 document type:
•
•
${frameworks}/tei/xml/teip4/schema/dtd/catalog.xml
${frameworks}/tei/xml/teip4/custom/schema/dtd/catalog.xml
Author Extensions
The specific actions for TEI P4 documents are:
•
Bold - Changes the style of the selected text to bold by surrounding it with hi tag and setting the rend attribute
to bold.
•
Italic - Changes the style of the selected text to italic by surrounding it with hi tag and setting the rend
attribute to italic.
•
Underline - Changes the style of the selected text to underline by surrounding it with hi tag and setting the
rend attribute to ul.
Note: For all of the above actions if there is no selection then a new specific tag will be inserted. These actions
are available in any document context.
•
Insert Section - Inserts a new section / subsection, depending on the current context. For example if the current
context is div1 then a div2 will be inserted and so on.
•
Insert Paragraph - Inserts a new paragraph depending on the current context. If current context is a paragraph
context (one of the ancestors of the element at caret position is p) then a new paragraph will be inserted after the
paragraph at caret. Otherwise a new paragraph is inserted at caret position.
•
Insert Image - Inserts a graphic object at the caret position. The following dialog is displayed allowing the user
to specify the entity that refers the image itself.
•
Insert Ordered List - Inserts an ordered list (list element with type attribute set to ordered) with one
list item (item element).
•
Insert Itemized List - Inserts an unordered list (list element with type attribute set to bulleted) with
one list item (item element).
•
Insert List Item - Inserts a new list item for in any of the above two list types.
•
Insert Table - Opens a dialog that allows you to configure the table to be inserted. The dialog allows the user
to configure the number of rows and columns of the table and if the header will be generated.
•
Insert Row - Inserts a new table row with empty cells. The action is available when the caret position is inside
a table.