<!-- Version 1.0 by Passage Systems, Inc.
 
     toc.tv - the main TOC stylesheet
 
-->

<!ENTITY	add.left-indent	CDATA	"+=10"	>
<!ENTITY	body.font-size	CDATA	"12"	>
<!ENTITY	body.line-space	CDATA	"14"	>
<!ENTITY	doc.title.font-size	CDATA	"14"	>
<!ENTITY	doc.title.line-space	CDATA	"21"	>
<!ENTITY	left-indent.1	CDATA	"4"	>
<!ENTITY	title-font	CDATA	"new century schoolbook"	>
<!ENTITY	title.foreground	CDATA	"black"	>
<!ENTITY	title.space-before	CDATA	"4"	>
<!ENTITY	toc.title.font-size	CDATA	"12"	>

<sheet >



<?INSTED COMMENT: GROUP #ROOT>

<group name="#ROOT">
	<left-indent>	&left-indent.1	</>
</group>



<?INSTED COMMENT: GROUP command>

<group name="command">
	<font-family>	courier	</>
</group>

<style name="USERTYPE" group="command">
</style>



<?INSTED COMMENT: GROUP title>

<group name="title">
	<font-family>	&title-font	</>
	<font-weight>	Medium	</>
	<font-size>	&body.font-size	</>
	<foreground>	&title.foreground	</>
	<line-spacing>	&body.line-space	</>
	<justification>	Left	</>
	<break-before>	True	</>
</group>

<style name="APPENDIX,TITLE" group="title">
	<font-weight>	Bold	</>
	<first-indent>	-=80	</>
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(APPENDIX))),'',Appendix attr(NUMBER,ancestor(APPENDIX)) )</>
</style>

<style name="CHAPTER,TITLE" group="title">
	<font-weight>	Bold	</>
	<first-indent>	if(isempty(attr(NUMBER,ancestor(CHAPTER))),,-80)	</>
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(CHAPTER))),'',join('Chapter ',attr(NUMBER,ancestor(CHAPTER)),' '))</>
</style>

<style name="GLOSSARY,SECT1,TITLE" group="title">
	<first-indent>	+=60	</>
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(SECT1))),'',join(attr(NUMBER,ancestor(SECT1)),'   '))</>
</style>

<style name="GLOSSARY,TITLE" group="title">
	<font-weight>	Bold	</>
	<space-before>	&title.space-before	</>
</style>

<style name="GLOSSARYENTRY" group="title">
	<left-indent>	+=10	</>
	<space-before>	&title.space-before	</>
	<title-tag>	"	</>
	<text-before>content(typechild(glossaryterm))</>
</style>

<style name="GLOSSTERM" group="title">
	<space-before>	4	</>
	<break-before>	Line	</>
</style>

<style name="INDEX" group="title">
	<left-indent>	+=20	</>
	<space-before>	&title.space-before	</>
	<title-tag>	"	</>
	<text-before>Index</>
</style>

<style name="INDEXDIV,TITLE" group="title">
	<space-before>	&title.space-before	</>
</style>

<style name="PREFACE,SECT1,TITLE" group="title">
	<space-before>	&title.space-before	</>
</style>

<style name="PREFACE,TITLE" group="title">
	<font-weight>	Bold	</>
	<space-before>	&title.space-before	</>
</style>

<style name="REFENTRY,REFNAMEDIV,REFNAME" group="title">
	<font-slant>	Italics	</>
	<space-before>	&title.space-before	</>
</style>

<style name="REFPURPOSE,#TEXT-BEFORE" group="title">
	<first-indent>	if(isempty(attr(NUMBER,ancestor(SECT2))),,-=35)	</>
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(SECT2))),'',join(attr(NUMBER,ancestor(SECT2)),'  '))</>
</style>

<style name="REFSECT1,TITLE" group="title">
	<first-indent>	if(isempty(attr(NUMBER,ancestor(SECT2))),,-=35)	</>
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(SECT2))),'',join(attr(NUMBER,ancestor(SECT2)),'  '))</>
</style>

<style name="REFSECT2,TITLE" group="title">
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(SECT3))),'',join(attr(NUMBER,ancestor(SECT3)),'   '))</>
</style>

<style name="REFSYNOPSISDIV,#TEXT-BEFORE" group="title">
	<first-indent>	if(isempty(attr(NUMBER,ancestor(SECT2))),,-=35)	</>
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(SECT2))),'',join(attr(NUMBER,ancestor(SECT2)),'  '))</>
</style>

<style name="SECT1,TITLE" group="title">
	<space-before>	&title.space-before	</>
</style>

<style name="SECT2,TITLE" group="title">
	<first-indent>	if(isempty(attr(NUMBER,ancestor(SECT2))),,-=35)	</>
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(SECT2))),'',join(attr(NUMBER,ancestor(SECT2)),'  '))</>
</style>

<style name="SECT3,TITLE" group="title">
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(SECT3))),'',join(attr(NUMBER,ancestor(SECT3)),'   '))</>
</style>

<style name="SECT4,TITLE" group="title">
	<space-before>	&title.space-before	</>
	<text-before>if(isempty(attr(NUMBER,ancestor(SECT4))),'',join(attr(NUMBER,ancestor(SECT4)),'   '))</>
</style>

<style name="SPARES,TITLE" group="title">
</style>

<style name="SSB,TITLE" group="title">
</style>

<style name="TITLEPAGE,TITLE" group="title">
	<font-weight>	Bold	</>
	<font-size>	&doc.title.font-size	</>
	<line-spacing>	&doc.title.line-space	</>
	<space-before>	&title.space-before	</>
</style>

<style name="WHITEPAPER,TITLE" group="title">
</style>



<?INSTED COMMENT: UNGROUPED STYLES FOLLOW>

<style name="#TAGS">
	<foreground>	purple	</>
</style>

<style name="#TEXT-BEFORE">
	<font-size>	&toc.title.font-size	</>
</style>

<!-- Style"#toc-annot" is reserved, and defines the appearance of the
     bookmarks, word frequencies, location markers, etc. in left margin.
-->
<style name="#TOC-ANNOT">
	<font-family>	annotation	</>
	<font-weight>	Bold	</>
	<font-size>	10	</>
	<character-set>	fontspecific	</>
	<foreground>	magenta	</>
</style>

<style name="APPENDIX">
	<font-weight>	Bold	</>
	<left-indent>	+=100	</>
	<title-tag>	TITLE	</>
</style>

<style name="APPENDIX,SECT1,SECT2,SECT3">
	<left-indent>	if(isempty(attr(NUMBER)),+=20,-=25)	</>
	<title-tag>	TITLE	</>
</style>

<style name="BOOK">
	<title-tag>	TITLE	</>
</style>

<style name="BOOK,TITLE">
	<font-family>	new century schoolbook	</>
	<font-weight>	Bold	</>
	<font-size>	&doc.title.font-size	</>
	<left-indent>	+=20	</>
	<line-spacing>	&doc.title.line-space	</>
	<space-before>	&title.space-before	</>
</style>

<style name="BOOKTITLE">
	<font-family>	new century schoolbook	</>
	<font-weight>	Bold	</>
	<font-size>	&doc.title.font-size	</>
	<left-indent>	+=20	</>
	<line-spacing>	&doc.title.line-space	</>
	<space-before>	&title.space-before	</>
</style>

<style name="BOOKTITLE,TITLE">
	<font-family>	new century schoolbook	</>
	<font-weight>	Bold	</>
	<font-size>	&doc.title.font-size	</>
	<line-spacing>	&doc.title.line-space	</>
	<space-before>	&title.space-before	</>
</style>

<style name="BUTTON">
	<font-slant>	Italics	</>
</style>

<style name="CHAPTER">
	<left-indent>	+=100	</>
	<title-tag>	TITLE	</>
</style>

<style name="CITETITLE">
	<font-slant>	Italics	</>
</style>

<style name="COMMAND">
	<font-family>	helvetica	</>
	<font-weight>	Bold	</>
</style>

<style name="DATABASE">
	<font-slant>	Italics	</>
</style>

<style name="DOCBOOK">
	<font-size>	8	</>
	<left-indent>	10	</>
	<title-tag>	DOCINFO,BOOKTITLE	</>
</style>

<style name="DOCINFO">
	<font-weight>	Bold	</>
	<font-size>	&doc.title.font-size	</>
	<line-spacing>	&doc.title.line-space	</>
	<space-before>	&title.space-before	</>
</style>

<style name="EMPHASIS">
	<font-weight>	Bold	</>
</style>

<style name="FILENAME">
	<font-slant>	Italics	</>
</style>

<style name="FONT">
	<font-slant>	Italics	</>
</style>

<style name="GLOSSARY">
	<left-indent>	+=20	</>
	<title-tag>	TITLE	</>
</style>

<style name="GLOSSARY,SECT1">
	<left-indent>	if(isempty(attr(NUMBER)),-=45,-=20)	</>
	<title-tag>	TITLE	</>
</style>

<style name="GLOSSARYTERM">
	<left-indent>	+=20	</>
	<title-tag>	GLOSSARYENTRY	</>
</style>

<style name="GLOSSENTRY">
	<left-indent>	+=30	</>
	<title-tag>	GLOSSTERM	</>
</style>

<style name="HR">
	<text-before> </>
</style>

<style name="INDEX,#TEXT-BEFORE">
	<font-weight>	Bold	</>
	<font-size>	&toc.title.font-size	</>
	<break-after>	Line	</>
</style>

<style name="INDEXDIV">
	<left-indent>	+=30	</>
	<title-tag>	title	</>
	<text-before>content(typechild(title))</>
</style>

<style name="INDEXENTRY">
	<break-before>	Line	</>
</style>

<style name="INDEXTERM">
	<hide>	All	</>
</style>

<style name="ITALICS">
	<font-slant>	Italics	</>
</style>

<style name="PARAMETER">
	<font-slant>	Italics	</>
</style>

<style name="PREFACE">
	<left-indent>	+=20	</>
	<title-tag>	TITLE	</>
</style>

<style name="PREFACE,SECT1">
	<left-indent>	+=30	</>
	<title-tag>	TITLE	</>
</style>

<style name="PROGRAMNAME">
	<font-slant>	Italics	</>
</style>

<style name="REFENTRY">
	<left-indent>	if(isempty(attr(NUMBER)),-=50,-=30)	</>
	<title-tag>	REFNAMEDIV,REFNAME	</>
</style>

<style name="REFNAME">
	<font-family>	new century schoolbook	</>
	<font-slant>	Italics	</>
	<font-size>	10	</>
	<space-before>	&title.space-before	</>
</style>

<style name="REFNAMEDIV">
	<title-tag>	REFPURPOSE,#TEXT-BEFORE	</>
</style>

<style name="REFPURPOSE">
	<left-indent>	if(isempty(attr(NUMBER)),+=10,+=20)	</>
	<title-tag>	#text-before	</>
	<text-before>Function</>
</style>

<style name="REFSECT1">
	<left-indent>	if(isempty(attr(NUMBER)),+=10,+=20)	</>
	<title-tag>	TITLE	</>
</style>

<style name="REFSECT2">
	<left-indent>	if(isempty(attr(NUMBER)),+=10,-=15)	</>
	<title-tag>	TITLE	</>
</style>

<style name="REFSYNOPSISDIV">
	<left-indent>	if(isempty(attr(NUMBER)),+=10,+=20)	</>
	<title-tag>	#text-before	</>
	<text-before>Syntax</>
</style>

<style name="SECT1">
	<left-indent>	-=50	</>
	<title-tag>	TITLE	</>
</style>

<style name="SECT2">
	<left-indent>	if(isempty(attr(NUMBER)),+=10,+=20)	</>
	<title-tag>	TITLE	</>
</style>

<style name="SECT3">
	<left-indent>	if(isempty(attr(NUMBER)),+=10,-=15)	</>
	<title-tag>	TITLE	</>
</style>

<style name="SECT4">
	<left-indent>	+=20	</>
	<title-tag>	TITLE	</>
</style>

<style name="SPARES">
	<left-indent>	&add.left-indent	</>
	<title-tag>	TITLE	</>
</style>

<style name="SSB">
	<left-indent>	&add.left-indent	</>
	<title-tag>	TITLE	</>
</style>

<style name="SUBTITLE">
	<hide>	Text	</>
</style>

<style name="SUPPORT">
	<title-tag>	TITLEPAGE,TITLE	</>
</style>

<style name="SYM">
	<font-family>	symbol	</>
	<font-weight>	Medium	</>
	<character-set>	symbol	</>
</style>

<style name="SYMBOL">
	<font-family>	symbol	</>
	<character-set>	symbol	</>
</style>

<style name="TITLE,#TEXT-BEFORE">
	<font-weight>	Bold	</>
</style>

<style name="TYPE">
	<font-slant>	Italics	</>
</style>

<style name="VARIABLE">
	<font-slant>	Italics	</>
</style>

<style name="WHITEPAPER">
	<left-indent>	&add.left-indent	</>
	<title-tag>	TITLE	</>
</style>



</sheet>
