In many cases it is possible to assign the same TYPE attribute to all <LG>s or to all <DIV2>s, etc. (Don't do this without making sure that it is really justified. In order to display in Author/Editor the attributes of any element, place the cursor to the right of the tag in question, open "View/Affixes" and enter
%attributes-list;in the "Prefix string" box. Clicking "Apply" displays all attributes for all instances of that tag in the file.)
In Author/Editor it seems to be possible to insert an attribute globally using the "Find/Find & Replace" dialog box, like this:
Find: <LG>
Replace: <LG TYPE="stanza">
See the Author/Editor 3.5 manual, pp. 178-179.
It is also possible to use "Search/Replace" (hotkey: F8) in TextPad for global replacements. A formula for finding and adding the TYPE="stanza" to <LG>s that are already numbered is:
Find what:<LG N="\([^"]+\)">
Replace with:<LG TYPE="stanza" N="\1">
<LG>s should have "stanza" as the value of TYPE, unless there is something specific to the text that supplies a different word. E.g., a narrative poem may have line groups called "chapters" or "fyttes" or "cantos." If so, use the word that the book itself uses; otherwise just go with "stanza."
<DIV>s are more varied. In general, follow these (probably conflicting) principles:
If the designation in the book is a verbose version of a common English term, use the simpler form. E.g., if the book says "Prefatory Remarks by the Author," you shouldn't be afraid to translate this into <DIV1 TYPE="preface">
Otherwise, use whatever is there.
<DIV1 TYPE="poem">
<DIV1 TYPE="poem">
Use the most specific term that is shared by the set. In a book of sonnets, for example, you can afford to be more specific:
<DIV1 TYPE="sonnet">
<DIV1 TYPE="sonnet">
Similarly in a book of hymns or songs, you can use <DIV1 TYPE="hymn"> or <DIV1 TYPE="song">; but in an anthology of verse that mixes (say) odes, sonnets, songs, lyrics, just say TYPE="poem" for all of them.
part
section
subpart
subsection
entry
chapter
book
volume
preface
prologue
invocation
notes
table of contents
index
poem
letter
document
incipit
charter
deed
item
afterword
foreword
introduction
essay
dedication
errata
text