Brown University    Women Writers Project    Research and Encoding    Training Materials    Encoding Tables of Contents

This document last updated Thursday, 22-May-2014 13:40:21 EDT

Tables of Contents:

Tagging Guidelines

With Notes/Instructions and 5 Examples

Carole E. Mah

Notes/Instructions

Example One:

Back to notes
To Example Two
To Example Three
To Example Four
To Example Five

How the sample table of contents looks in the Office Text

Contents: Rosie The Chicken Goes For A Walk
Page
I: Rosie approaches the scary street10
II: Rosie tries to cross the scary street 24
III. Rosie gets hit by a truck48

Same sample table of contents Encoded

<div type="contents">
<head>Contents: Rosie The Chicken Goes for A Walk</head>
<list type="toc">
<fw type="tochead" rend="align(right)">Page</fw>
<item><label>I</label><rs>Rosie approaches the scary street</rs>
<ref type="pagenum" target="c01" rend="align(right)">10</ref></item>
<item><label>II</label><rs>Rosie tries to cross the scary street</rs>
<ref type="pagenum" target="c02" rend="align(right)">24</ref></item>
<item><label>III</label><rs>Rosie gets hit by a truck</rs>
<ref type="pagenum" target="c03" rend="align(right)">48</></item>
</list>
</div>

Sample text:

<pb n="10">
<div type="chap" id="c01">
<head>I. Rosie approaches the scary street</head>
etc....
<pb n="24">
<div type="chap" id="c02">
<head>II. Rosie tries to cross the scary street</head>
etc....
<pb n="48">
<div type="chap" id="c03">
<head>III. Rosie gets hit by a truck</head>
<p>Just as Rosie's left foot stepped off the yellow line,
the sun shone brightly in her eyes, obscuring her vision.  Her
beak itched. She paused to scratch it. She did not notice a large
truck approaching, and...</p>

Example Two:

Back to notes
Back to Example One
To Example Three
To Example Four
To Example Five

How the sample table of contents looks in the Office Text

Contents: Poems on Several Occasions
Ode to a pickle . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Page 10
Sonnet for Roadkill . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .. . . . . . . . . . . . . . . . . . . .24
Poetic Fancies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48

Same sample table of contents Encoded

<div type="contents">
<head>Contents: Poems on Several Occasions</head>
<list type="toc">
<item><rs>Ode to a pickle</rs>
<ref type="pagenum" target="p01" rend="align(right)fill()">Page 10</ref></item>
<item><rs>Ode for Roadkill</rs>
<ref type="pagenum" target="p02" rend="align(right)fill()">24</ref></item>
<item><rs>Poetic Fancies</rs>
<ref type="pagenum" target="p03" rend="align(right)fill()">48</></item>
</list>
</div>

Sample text:

<pb n="10">
<div type="poem" id="p01">
<head>Ode to a pickle</head>
<lg type="stanza">
<l>Oh sweet dead cucumber, how short was your life!</l>
[etc.]...

<pb n="24">
<div type="poem" id="p02">
<head>Ode for Roadkill</head>
<l>Oh sweet dead squirrel, how short was your life!</l>
[etc.]...

Example Three:

Back to notes
Back to Example One
Back to Example Two
To Example Four
To Example Five

How the sample table of contents looks in the Office Text

Contents: Childhood Fairytales
Jack and the Beanstalk
Chapter 1: Jack10
Chapter 2: The Beanstalk24
Goldilocks and the Three Bears
Chapter 3: Goldilocks48

Same sample table of contents Encoded

<div type="contents">
<head>The Contents of Two Fairytales</head>

<list type="toc">

<item><list>
<head type="sub" rend="slant(italic)">Jack and the Beanstalk</head>
<item><label>Chapter 1</label><rs>Jack</rs>
<ref type="pagenum" target="c01" rend="align(right)">10</ref></item>
<item><label>Chapter 2</label><rs>The Beanstalk</rs>
<ref type="pagenum" target="c02" rend="align(right)">24</ref></item>
</list></item>

<item><list>
<head type="sub" rend="slant(italic)">Goldilocks and the Three Bears</head>
<item><label>Chapter 3</label><rs>Goldilocks</rs>
<ref type="pagenum" target="c03" rend="align(right)">48</></item>
</list></item>

</list>

</div>

Sample text:

<pb n="10">
<div type="chap" id="c01">
<head>Chapter One: Jack</head>
etc....

<pb n="24">
<div type="chap" id="c02">
<head>Chapter Two: The Beanstalk</head>
etc..

Example Four:

Back to notes
Back to Example One
Back to Example Two
Back to Example Three
To Example Five

Contents: A Long Story with a Long Table of Contents that takes up more than one Page
Page
I: Rubber Duckie goes to China- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -10
II: Grover and Kermit eat grapefruit- - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 24
III. Cookie Monster has a heart attack- - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 48
[page break]
[NEW PAGE]
Page
IV: Chicken Little gets hit by a Meteor- - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 60
V: Butterflies and Caterpillars cavort- - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 78
VI. The New Cockroach Mafia- - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 92

Same sample table of contents Encoded

<div type="contents">
<head>Contents: A Long Story with a Long Table of Contents that takes up more
than one Page</head>
<list type="toc">
<fw type="tochead" rend="align(right)">Page</fw>
<item><label>I</label><rs>Rubber Duckie goes to China</rs>
<ref type="pagenum" target="c01" rend="align(right) fill()">10</ref></item>
<item><label>II</label><rs>Grover and Kermit eat grapefruit</rs>
<ref type="pagenum" target="c02" rend="align(right) fill()">24</ref></item>
<item><label>III</label><rs>Cookie Monster has a heart attack</rs>
<ref type="pagenum" target="c03" rend="align(right) fill()">48</></item>
<pb>
<fw type="tochead" rend="align(right) fill()">Page</fw>
<item><label>I</label><rs>Chicken Little gets hit by a Meteor</rs>
<ref type="pagenum" target="c04" rend="align(right) fill()">10</ref></item>
<item><label>II</label><rs>Butterflies and Caterpillars cavort</rs>
<ref type="pagenum" target="c05" rend="align(right) fill()">24</ref></item>
<item><label>III</label><rs>The New Cockroach Mafia</rs>
<ref type="pagenum" target="c06" rend="align(right) fill()">48</></item>
</list>
</div>

Example Five:

Back to notes
Back to Example One
Back to Example Two
Back to Example Three
Back to Example Four

How the sample table of contents looks in the Office Text

Contents: Animal Sounds
Bawking, Clucking, and other common Chicken Noises
Oinking, Snorting, and other Piggy Sounds
Meowing, Roaring, Purring, and other Cat Utterances

Same sample table of contents Encoded

<div type="contents">
<head>Contents: Animal Sounds</head>
<list type="toc">
<fw type="tochead" rend="align(right)">Page</fw>
<item><rs>
<hi rend="slant(bold)">Bawking</hi>, Clucking, and other common Chicken Noises</rs>
<ptr target="c01"></item>
<item><rs>
<hi rend="slant(bold)">Oinking, Snorting</hi>, and other Piggy Sounds</rs>
<ptr target="c02"></item>
<item><rs>
<hi rend="slant(bold)">Meowing</hi>, Roaring, Purring,and other Cat Utterances</rs>
<ptr target="c03"></item>
</list>
</div>

Sample text:

<pb n="19">
<div type="chap" id="c01">
<head><hi rend="slant(bold)">Bawking</hi>, Clucking, and other common Chicken Noises</head>
etc....
<pb n="77">
<div type="chap" id="c02">
<head><hi rend="slant(bold)">Oinking, Snorting</hi>, and other Piggy Sounds</head>
etc....

The Project | The Texts | Research and Encoding
Contact | Site Index | Brown University