Titre
Sous-titre
My Self

Foreword

TEI texts may be regarded either as unitary, that is, forming an organic whole, or as composite, that is, consisting of several components which are in some important sense independent of each other. The distinction is not always entirely obvious: for example a collection of essays might be regarded as a single item in some circumstances, or as a number of distinct items in others. In such borderline cases, the encoder must choose whether to treat the text as unitary or composite; each may have advantages and disadvantages in a given situation.

Here I want to test the TEI to HTML stylesheet on a composite TEI text with these parts:

Table of contents

1

2

1.
Text A

Actually I do not want a titlePage for texts A and B, but I can’t see another way to provide a title to these texts, given that head is not allowed. The title of text A is not the heading of the front matter and some heading of the body would come too late (after the front matter).

Announcing A the first text child of group

This is to test some front matter in the first text child of group

Unique div in the body of A

The heading said all there was to say.

Goodbye to A the first text child of group

This is to test some back matter in the first text child of group

2.
Text B

Announcing B the second text child of group

This is to test some front matter in the second text child of group

Heading of text B, div 1

Heading of text B, div B.1, subdiv B.1.1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Heading of text B, div B.1, subdiv B.1.2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Heading of text B, div 1

Heading of text B, div B.2, subdiv B.2.1

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Heading of text B, div B.2, subdiv B.2.2

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Goodbye to B the second text child of group

This is to test some back matter in the second text child of group

Appendix A More about this

This text B was great fun and its back matter too

Appendix A Index of terms

I want all important terms of both texts (children of group) to be shown here together in a single alphabetical list.

I remember my naive post in TEI-list to say that the divGen offered by the Guidelines didn’t seem to do much by itself and asking the list if somebody knew how to make it work. A few minutes later (hours maybe), it was in the stylesheets. Thanks to the one who XSLTises faster than thunder.

Index

auto-generated index of terms
Appendix A Index of terms  
back matter, in named back matter of B
back matter, in named div in back matter of B
Appendix A More about this 
dolor, in B.1.1
Heading of text B, div B.1, subdiv B.1.1 
exercitation, in B.2.2
Heading of text B, div B.2, subdiv B.2.2 
front matter, in text B
Announcing B the second text child of group 
heading
Unique div in the body of A 
My Self. Date: 2015