source410: literal 4.10 source reconstruction + BC++ 4.52 fleet toolchain archived

- BORLAND/: Borland C++ 4.52 (chosen over 4.5 by byte-match: CODE/RP/CW32.LIB
  is identical to 4.52's install lib). BCC32/TLINK32/TLIB/MAKE run natively on
  Win11; CODE/BT/OPT.MAK is the shipped BTL4OPT.EXE's exact flag recipe
  (extender = Borland PowerPack DPMI32, not Phar Lap TNT).
- restoration/source410/: the literal 1995-form reconstruction of the missing
  BT game source (never mixed into CODE/). Round 1-3 state:
  * 6 of 10 surviving original TUs COMPILE CLEAN under the period toolchain
    (BTMSSN, BTCNSL, BTSCNRL, BTTEAM, BTL4MODE, BTL4ARND) - first builds
    since 1996.
  * BT_L4/BTL4APP.CPP pilot reconstruction: 12/12 functions, Fail() lands on
    its binary-recorded line 400 exactly.
  * BT/BTCNSL.HPP: console wire IDs recovered from the binary's ctors
    (Killed=9, Damaged=10, ScoreUpdate=13, DeathWithoutHonor=15 [T1];
    TeamScore=12 flagged [T4]).
  * MUNGA/: 8 engine-header backfills back-dated from the BT412 WinTesla tree
    (VDATA numbering decomp-verified; AUDREND's OpenAL-era virtual removed -
    the period compiler is the drift detector).
  * Tooling: backdate.py (WinTesla->1995 header transform), compile410.sh
    (per-TU verification sweep under authentic OPT.MAK flags).
  * README: corrected roadmap - MECH.HPP is the capstone grown with the mech
    TU reconstructions; BTREG.CPP green = the header-family milestone.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Cyd
2026-07-19 07:33:26 -05:00
co-authored by Claude Fable 5
parent 599b2388a1
commit 63312e07f9
5913 changed files with 756089 additions and 0 deletions
@@ -0,0 +1,692 @@
<!-- Version 1.0 by Passage Systems, Inc.
bookinfo - This stylesheet is used to format the iconified
text in the frontmatter of the book.
-->
<!ENTITY book.font-family CDATA "Arial" >
<!ENTITY bullet-leftind CDATA "15" >
<!ENTITY chap.title.font-family CDATA "Arial" >
<!ENTITY chap.title.font-size CDATA "24" >
<!ENTITY chap.title.line-spacing CDATA "24" >
<!ENTITY default-spaceb4 CDATA "6" >
<!ENTITY default.body.size CDATA "12" >
<!ENTITY default.left-indent CDATA "+=15" >
<!ENTITY default.line-spacing CDATA "15" >
<!ENTITY default.list.left-indent CDATA "+=24" >
<!ENTITY default.listitem.first-indent CDATA "-=24" >
<!ENTITY default.sect.space-before CDATA "24" >
<!ENTITY default.space-after CDATA "9" >
<!ENTITY default.title.space-before CDATA "4" >
<!ENTITY figure.title.first-indent CDATA "-75" >
<!ENTITY figure.title.left-indent CDATA "75" >
<!ENTITY hot-link.color CDATA "darkslateBlue" >
<!ENTITY listitem.space-after CDATA "6" >
<!ENTITY note.first-indent CDATA "-=50" >
<!ENTITY note.left-indent CDATA "+=50" >
<!ENTITY right-indent CDATA "20" >
<!ENTITY script-size CDATA "9" >
<!ENTITY sect.title.font-family CDATA "Arial" >
<!ENTITY sect1.space-before CDATA "12" >
<!ENTITY sect1.title-size CDATA "18" >
<!ENTITY sect1.title.space-after CDATA "6" >
<!ENTITY sect1.title.space-before CDATA "4" >
<!ENTITY sect2.title-size CDATA "14" >
<!ENTITY sect2.title.space-before CDATA "24" >
<!ENTITY sect3.title-size CDATA "14" >
<!ENTITY sect4.title-size CDATA "12" >
<!ENTITY table.title.first-indent CDATA "-75" >
<!ENTITY table.title.left-indent CDATA "75" >
<!ENTITY title-size CDATA "24" >
<!ENTITY title-spaceAfter CDATA "12" >
<!ENTITY warning.first-indent CDATA "-=65" >
<!ENTITY warning.left-indent CDATA "+=65" >
<sheet >
<?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
<style name="#SDATA">
<font-family> attr(font) </>
<font-weight> medium </>
<font-slant> roman </>
<character-set> attr(charset) </>
<text-before>char(attr(code))</>
</style>
<style name="#TAGS">
<font-weight> Bold </>
<font-size> 8 </>
<foreground> DarkOrange3 </>
</style>
<style name="ADDRESS">
<space-after> 5 </>
</style>
<style name="APPENDIX">
<break-before> Line </>
</style>
<style name="APPENDIX,TITLE">
<font-family> &chap.title.font-family </>
<font-weight> Bold </>
<font-size> &chap.title.font-size </>
<line-spacing> 24 </>
<break-before> Line </>
<break-after> Line </>
<text-before>Appendix attr(number,ancestor(appendix))</>
</style>
<style name="APPENDIX,TITLE,#TEXT-BEFORE">
<font-weight> Medium </>
<font-slant> Italics </>
<font-size> 15 </>
<break-after> Line </>
</style>
<style name="AUTHORC">
<break-after> Line </>
</style>
<style name="AUTHORGROUP">
<hide> All </>
</style>
<style name="AUTHORP">
<hrule> Before </>
<break-after> Line </>
</style>
<style name="BOOK">
<font-family> &book.font-family </>
<font-size> &default.body.size </>
<line-spacing> &default.line-spacing </>
<space-before> &default-spaceb4 </>
</style>
<style name="BOOK,BOOKINFO,BOOKBIBLIO,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> 24 </>
<line-spacing> 26 </>
<break-before> Line </>
<break-after> Line </>
</style>
<style name="BOOK,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> 24 </>
<line-spacing> 26 </>
<space-after> &default.space-after </>
<break-before> Line </>
<break-after> Line </>
</style>
<style name="BOOKBIBLIO,PARA">
<space-after> 6 </>
<break-after> Line </>
</style>
<style name="CHAPTER">
<break-before> Line </>
</style>
<style name="CHAPTER,TITLE">
<font-family> &chap.title.font-family </>
<font-weight> Bold </>
<font-size> &chap.title.font-size </>
<line-spacing> &chap.title.line-spacing </>
<space-after> &default.space-after </>
<break-before> Line </>
<break-after> Line </>
<text-before>Chapter attr(number,ancestor(chapter))</>
</style>
<style name="CHAPTER,TITLE,#TEXT-BEFORE">
<font-weight> Medium </>
<font-slant> Italics </>
<font-size> 15 </>
<break-after> Line </>
</style>
<style name="CITETITLE">
<font-slant> Italics </>
</style>
<style name="CITY">
<text-after>, </>
</style>
<style name="COLLAB">
<break-after> Line </>
</style>
<style name="COMMAND">
<font-family> Arial </>
<font-weight> Bold </>
</style>
<style name="COPYRIGHT">
<justification> Left </>
<break-before> Line </>
</style>
<style name="DATABASE">
<font-slant> Italics </>
</style>
<style name="EDITION">
<font-video> Inverse </>
<space-after> 10 </>
<break-before> Line </>
</style>
<style name="EMPHASIS">
<font-family> Arial </>
<font-weight> Bold </>
</style>
<style name="ENTRY">
<left-indent> mult(tableinfo(cals,left-indent,10),.6) </>
<width> mult(tableinfo(cals,width),.55) </>
<justification> tableinfo(cals, justification) </>
<column> True </>
</style>
<style name="FIGURE">
<right-indent> if(typechild(title),10,) </>
<space-before> if(eq(file(env(HOME)/.figsInsight),FILEREF),2,6) </>
<space-after> &default-spaceb4 </>
<icon-position> if(typechild(title),right,) </>
<hide> if(typechild(title),Off,) </>
<break-before> True </>
<script> if(typechild(title),ebt-raster filename="attr(fileref,typechild(graphic))" title="content(typechild(title))", ) </>
<icon-type> if(typechild(title),raster,none) </>
</style>
<style name="FIGURE,TITLE">
<font-family> &sect.title.font-family </>
<font-weight> Bold </>
<left-indent> &figure.title.left-indent </>
<right-indent> &right-indent </>
<first-indent> &figure.title.first-indent </>
<break-after> Line </>
<text-before>attr(lbl) </>
</style>
<style name="FILENAME">
<font-slant> Italics </>
</style>
<style name="FIRSTNAME">
<hide> Children </>
</style>
<style name="FIRSTTERM">
<font-weight> Bold </>
<score> Under </>
<script> ebt-link window=new stylesheet="fulltext.v" root=parent(query(<GLOSSTERM> containing content(me()))) </>
</style>
<style name="FONT">
<font-weight> if(or(contains(attr(role),'bold'),contains(attr(role),'bolditalic')),bold,) </>
<font-slant> if(or(contains(attr(role),'italic'),contains(attr(role),'bolditalic')),italic,) </>
<font-video> switch(attr(role),inverse,inverse,DEFAULT,regular) </>
<foreground> if(contains(attr(role),),magenta,black) </>
<score> if(contains(attr(role),'underline'),under,) </>
</style>
<style name="FOOTNOTE">
<right-indent> 10 </>
<icon-position> Right </>
<hide> Children </>
<script> ebt-reveal stylesheet=fulltext.v </>
<icon-type> footnote </>
</style>
<style name="GLOSSARY">
<break-before> Line </>
</style>
<style name="GLOSSARY,TITLE">
<font-family> &chap.title.font-family </>
<font-weight> Bold </>
<font-size> &chap.title.font-size </>
<space-before> &title-spaceAfter </>
<space-after> &title-spaceAfter </>
<break-before> Line </>
<break-after> Line </>
</style>
<style name="GLOSSENTRY">
<space-before> 6 </>
<space-after> 6 </>
</style>
<style name="GLOSSTERM">
<font-weight> Bold </>
<break-after> Line </>
</style>
<style name="HR">
<break-before> Line </>
</style>
<style name="INDEXTERM">
<hide> All </>
</style>
<style name="INFORMALFIGURE">
<space-before> if(eq(file(env(HOME)/.figsInsight),FILEREF),2,6) </>
<space-after> &default-spaceb4 </>
<break-before> True </>
<inline> raster filename="attr(fileref,typechild(graphic))" </>
</style>
<style name="INFORMALTABLE">
<font-size> 10 </>
<right-indent> 10 </>
<space-before> 12 </>
<space-after> &default.space-after </>
<justification> left </>
<break-before> Line </>
</style>
<style name="INTERFACE">
<font-family> Arial </>
</style>
<style name="ISBN">
<space-after> 4 </>
<hrule> After </>
</style>
<style name="ITEM*PARA*FIRST*FALSE">
<left-indent> +=10 </>
<break-before> TRUE </>
<break-after> FALSE </>
</style>
<style name="ITEM*PARA*FIRST*TRUE">
<font-weight> if(eq(attr(mark,ancestor(itemizedlist)),star),bold,) </>
<left-indent> +=10 </>
<break-before> FALSE </>
<break-after> FALSE </>
</style>
<style name="ITEMIZEDLIST">
<left-indent> if(or(ancestor(itemizedlist),ancestor(orderedlist)),+=15,9) </>
</style>
<style name="ITEMIZEDLIST,LISTITEM">
<first-indent> -=5 </>
<vertical-offset> 0 </>
<space-after> &listitem.space-after </>
<break-before> True </>
<text-before>switch(attr(mark,ancestor(itemizedlist,me())),star,¨,box,n,dash,-,DEFAULT,°)</>
</style>
<style name="ITEMIZEDLIST,LISTITEM,#TEXT-BEFORE">
<font-family> switch(attr(mark,ancestor(itemizedlist)),box,itc zapf dingbats,DEFAULT,symbol) </>
<font-weight> Bold </>
<font-video> switch(attr(mark,ancestor(itemizedlist)),box,inverse,DEFAULT,) </>
<character-set> switch(attr(mark,parent(itemizedlist)),box,itc zapf dingbats,DEFAULT,symbol) </>
<foreground> </>
</style>
<style name="ITEMIZEDLIST,LISTITEM,PARA">
<space-after> 12 </>
<break-after> true </>
<select> ITEM*PARA*FIRST*eq(1,cnum()) </>
</style>
<style name="LEGALNOTICE">
<space-after> 2 </>
</style>
<style name="LEGALNOTICE,TITLE">
<font-family> &sect.title.font-family </>
<font-weight> Bold </>
<font-size> &sect1.title-size </>
<space-before> 10 </>
<break-after> Line </>
</style>
<style name="LITERALLAYOUT">
<font-family> courier </>
<font-weight> if(or(eq(attr(remap),'SY-Syntax'),or(eq(attr(remap),'UI-UserInput'),eq(attr(remap),'UIW-UserInputWide'))),bold,) </>
<left-indent> &default.left-indent </>
<first-indent> if(eq(attr(remap),'SY-Syntax'),-=15,) </>
<space-before> &default-spaceb4 </>
<space-after> &default.space-after </>
<justification> Verbatim </>
<break-before> Line </>
<break-after> Line </>
</style>
<style name="NOTE">
<left-indent> &note.left-indent </>
<first-indent> &note.first-indent </>
<space-before> 2 </>
<space-after> &default.space-after </>
<text-before>Note:</>
</style>
<style name="NOTE,#TEXT-BEFORE">
<font-weight> Bold </>
</style>
<style name="NOTE,PARA">
<break-after> Line </>
</style>
<style name="ORDEREDLIST">
<space-before> 2 </>
<space-after> 2 </>
<break-after> Line </>
</style>
<style name="ORDEREDLIST,LISTITEM">
<left-indent> +=24 </>
<first-indent> -=24 </>
<space-after> &default.space-after </>
<break-after> Line </>
<text-before>join(cnum(me()),'.')</>
</style>
<style name="ORDEREDLIST,LISTITEM,#TEXT-BEFORE">
</style>
<style name="ORDEREDLIST,LISTITEM,PARA">
<select> ORDERPARA*FIRST*eq(1,cnum()) </>
</style>
<style name="ORDERPARA*FIRST*FALSE">
<font-family> &book.font-family </>
<font-weight> Medium </>
<space-after> &default.space-after </>
<break-before> TRUE </>
<break-after> Line </>
</style>
<style name="ORDERPARA*FIRST*TRUE">
<first-indent> switch(attr(remap,me()),indent1,-24,indent2,-48,indent3,-=10,DEFAULT,) </>
<space-before> 0 </>
<space-after> &default.space-after </>
<break-before> False </>
<break-after> False </>
</style>
<style name="PARA">
<space-before> 2 </>
<break-after> Line </>
</style>
<style name="PARAMETER">
<font-slant> Italics </>
</style>
<style name="POB">
<break-before> Line </>
<text-before>P.O. Box </>
<text-after>, </>
</style>
<style name="PREFACE">
<break-before> Line </>
</style>
<style name="PREFACE,TITLE">
<font-family> &chap.title.font-family </>
<font-weight> Bold </>
<font-size> &chap.title.font-size </>
<line-spacing> &chap.title.line-spacing </>
<space-after> &default.space-after </>
<break-before> Line </>
<break-after> Line </>
</style>
<style name="PRODUCTNAME">
<font-size> 14 </>
<foreground> </>
<hide> All </>
<break-before> Line </>
</style>
<style name="PUBDATE">
<justification> Center </>
<break-before> Line </>
</style>
<style name="PUBLISHERNAME">
<break-before> Line </>
<text-after>, </>
</style>
<style name="PUBSNUMBER">
<justification> Center </>
<break-before> Line </>
</style>
<style name="REFENTRY">
<break-before> Line </>
</style>
<style name="REFNAME">
<font-family> Arial </>
<font-size> &sect1.title-size </>
<space-before> &sect1.title.space-before </>
<break-after> Line </>
</style>
<style name="REFNAMEDIV">
<space-before> &sect1.space-before </>
<break-before> Line </>
</style>
<style name="REFPURPOSE">
<space-after> 4 </>
<break-after> Line </>
</style>
<style name="REFSECT1">
<break-before> Line </>
</style>
<style name="REFSECT1,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> &sect2.title-size </>
<space-before> &default.title.space-before </>
<break-after> Line </>
</style>
<style name="RELEASEINFO">
<justification> Center </>
<break-before> Line </>
</style>
<style name="ROW">
<space-after> 5 </>
<hrule> Surround </>
<break-before> Line </>
</style>
<style name="SECT1">
<space-before> &sect1.space-before </>
<break-before> Line </>
</style>
<style name="SECT1,TITLE">
<font-family> &sect.title.font-family </>
<font-weight> Bold </>
<font-size> &sect1.title-size </>
<space-before> &sect1.title.space-before </>
<hrule> After </>
<break-after> Line </>
</style>
<style name="SECT2">
<break-before> Line </>
</style>
<style name="SECT2,TITLE">
<font-family> &sect.title.font-family </>
<font-weight> Bold </>
<font-size> &sect2.title-size </>
<space-before> &default.title.space-before </>
<hrule> After </>
<break-after> Line </>
</style>
<style name="SECT3">
<break-before> Line </>
</style>
<style name="SECT3,TITLE">
<font-family> &sect.title.font-family </>
<font-weight> Bold </>
<font-slant> Italics </>
<font-size> &sect3.title-size </>
<space-before> 6 </>
<space-after> &default.title.space-before </>
<break-after> Line </>
</style>
<style name="SIDEBAR">
<left-indent> 32 </>
<icon-position> Left </>
<hide> Children </>
<script> ebt-reveal stylesheet=fulltext.v </>
<icon-type> note </>
</style>
<style name="STATE">
<text-after> </>
</style>
<style name="SUBTITLE">
<font-weight> Bold </>
<justification> Center </>
<break-before> Line </>
</style>
<style name="SUPERSCRIPT">
<font-size> &script-size </>
<vertical-offset> 4 </>
</style>
<style name="SUPERSCRIPT,FONT">
<font-size> &script-size </>
<vertical-offset> 4 </>
</style>
<style name="SYMBOL">
<font-family> symbol </>
<character-set> symbol </>
</style>
<style name="SYNOPSIS">
<font-family> courier </>
<font-weight> if(or(eq(attr(remap),'SY-Syntax'),or(eq(attr(remap),'UI-UserInput'),eq(attr(remap),'UIW-UserInputWide'))),bold,) </>
<left-indent> +=15 </>
<first-indent> -=15 </>
<space-before> &default-spaceb4 </>
<space-after> &default.space-after </>
<justification> Verbatim </>
<break-before> Line </>
<break-after> Line </>
</style>
<style name="SYSTEMITEM">
<font-family> courier </>
</style>
<style name="TABLE">
<right-indent> 10 </>
<space-before> &default-spaceb4 </>
<space-after> &default-spaceb4 </>
<justification> left </>
<icon-position> if(parent(figure,me()),off,right) </>
<hrule> if(eq(nchildren(typechild(row,typechild(tbody,typechild(tgroup)))),1),surround,) </>
<break-before> Line </>
<script> if(parent(figure,me()),,ebt-reveal stylesheet="tables" title=Table width="350" hscroll="True" content(child(title))) </>
<icon-type> table </>
</style>
<style name="TABLE,#TEXT-BEFORE">
<font-weight> Bold </>
<hide> All </>
</style>
<style name="TABLE,TITLE">
<font-family> &sect.title.font-family </>
<font-weight> Bold </>
<left-indent> &table.title.left-indent </>
<right-indent> &right-indent </>
<first-indent> &table.title.first-indent </>
<break-after> Line </>
<text-before>attr(lbl) </>
</style>
<style name="TERM">
<break-after> Line </>
</style>
<style name="TGROUP">
<hide> if(parent(table),all,) </>
</style>
<style name="THEAD">
<font-family> Arial </>
<font-weight> Bold </>
<space-before> 10 </>
<space-after> 2 </>
</style>
<style name="TYPE">
<font-slant> Italics </>
</style>
<style name="VARLISTENTRY">
<break-after> Line </>
</style>
<style name="WARNING">
<font-weight> Bold </>
<left-indent> &warning.left-indent </>
<first-indent> &warning.first-indent </>
<line-spacing> 14 </>
<space-before> 4 </>
<space-after> 4 </>
<break-after> Line </>
<text-before>Warning: </>
</style>
<style name="WARNING,#TEXT-BEFORE">
<font-weight> Bold </>
</style>
<style name="WARNING,PARA">
<break-after> Line </>
</style>
<style name="XREF">
<font-weight> Bold </>
<foreground> &hot-link.color </>
<score> Under </>
<script> ebt-link target=idmatch(ID,attr(LINKEND)) </>
</style>
<style name="YEAR">
<text-before>switch(cnum(me()),1,char(169)' Copyright ',DEFAULT,)</>
<text-after>if(islast(me()),' ',', ')</>
</style>
</sheet>
@@ -0,0 +1,201 @@
<!-- Version 1.0 by Passage Systems, Inc.
figures.tv - the figure TOC stylesheet
-->
<!ENTITY add.left-indent CDATA "+=20" >
<!ENTITY body.font-size CDATA "10" >
<!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 "Arial" >
<!ENTITY title.space-before CDATA "4" >
<sheet >
<?INSTED COMMENT: GROUP #ROOT>
<group name="#ROOT">
<left-indent> &left-indent.1 </>
</group>
<?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
<style name="#ROOT">
<break-before> Line </>
</style>
<style name="#SDATA">
<font-family> attr(font) </>
<character-set> attr(charset) </>
<text-before>char(attr(code))</>
</style>
<style name="#TAGS">
<font-weight> Bold </>
</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> courier </>
<font-weight> Bold </>
<font-size> 12 </>
<foreground> magenta </>
</style>
<style name="BOOK">
<font-family> &title-font </>
<font-weight> Bold </>
<font-size> 18 </>
<line-spacing> 18 </>
<space-before> 12 </>
<break-before> Line </>
<break-after> None </>
<title-tag> "" </>
<text-before>List of Figures</>
</style>
<style name="BUTTON">
<font-slant> Italics </>
</style>
<style name="COMMAND">
<font-family> Arial </>
<font-weight> Bold </>
</style>
<style name="DATABASE">
<font-slant> Italics </>
</style>
<style name="DOCBOOK">
<font-family> &title-font </>
<font-size> &body.font-size </>
<line-spacing> &body.line-space </>
<space-before> 9 </>
<break-before> True </>
<break-after> False </>
<title-tag> "" </>
<text-before>List of Figures</>
</style>
<style name="EMPHASIS">
<font-weight> Bold </>
</style>
<style name="FIGURE">
<font-family> &title-font </>
<font-size> 12 </>
<line-spacing> 12 </>
<title-tag> title </>
<script> ebt-if(contains(attr(fileref,typechild(GRAPHIC)),.cgm),vector,raster) filename="attr(fileref,typechild(GRAPHIC))" if(ancestor(appendix),title="Figure format(gcnum(ancestor(appendix)),LETTER)-gcnum() ,title="Figure gcnum(ancestor(chapter))-gcnum()) content(me())" </>
</style>
<style name="FIGURE,#TEXT-BEFORE">
<font-family> &title-font </>
<font-weight> Bold </>
<font-slant> Roman </>
<font-size> &doc.title.font-size </>
<space-before> 2 </>
<break-before> True </>
</style>
<style name="FIGURE,TITLE">
<left-indent> 65 </>
<first-indent> -65 </>
<space-before> &title.space-before </>
<text-before>if(ancestor(appendix),Figure format(gcnum(ancestor(appendix)),LETTER)-gcnum(ancestor(figure)),Figure gcnum(ancestor(chapter))-gcnum(ancestor(figure))) </>
</style>
<style name="FIGURE,TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
</style>
<style name="FILENAME">
<font-slant> Italics </>
</style>
<style name="FONT">
<font-weight> if(or(contains(attr(role),'bold'),contains(attr(role),'bolditalic')),bold,) </>
<font-slant> if(or(contains(attr(role),'italic'),contains(attr(role),'bolditalic')),italic,) </>
<font-video> switch(attr(role),inverse,inverse,DEFAULT,regular) </>
<foreground> if(contains(attr(role),),magenta,black) </>
<score> if(contains(attr(role),'underline'),under,) </>
</style>
<style name="GRAPHIC">
<left-indent> 65 </>
<first-indent> -65 </>
<space-before> &title.space-before </>
<text-before>Figure cnum(ancestor(chapter))-gcnum(ancestor(figure)) content(lsibling(title))</>
</style>
<style name="GRAPHIC,#TEXT-BEFORE">
<font-weight> Bold </>
</style>
<style name="INDEXTERM">
<hide> All </>
</style>
<style name="INTERFACE">
<font-family> Arial </>
</style>
<style name="ITALICS">
<font-slant> Italics </>
</style>
<style name="PARAMETER">
<font-slant> Italics </>
</style>
<style name="PROGRAMNAME">
<font-slant> Italics </>
</style>
<style name="SUBSCRIPT">
<font-size> 9 </>
<vertical-offset> -4 </>
</style>
<style name="SUPERSCRIPT">
<font-size> 10 </>
<vertical-offset> 4 </>
</style>
<style name="SUPERSCRIPT,FONT">
<font-size> 10 </>
<vertical-offset> 4 </>
</style>
<style name="SYSTEMITEM">
<font-family> courier </>
</style>
<style name="TITLE">
<left-indent> 45 </>
<first-indent> -50 </>
<space-before> &title.space-before </>
<text-before>Figure cnum(ancestor(chapter))-cnum(ancestor(figure)) </>
</style>
<style name="TYPE">
<font-slant> Italics </>
</style>
<style name="VARIABLE">
<font-slant> Italics </>
</style>
</sheet>
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,209 @@
<!-- Version 1.0 by Passage Systems, Inc.
tables.tv - the table TOC stylesheet
-->
<!ENTITY add.left-indent CDATA "+=20" >
<!ENTITY body.font-size CDATA "10" >
<!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 "Arial" >
<!ENTITY title.space-before CDATA "4" >
<sheet >
<?INSTED COMMENT: GROUP #ROOT>
<group name="#ROOT">
<left-indent> &left-indent.1 </>
</group>
<?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
<style name="#ROOT">
<break-before> Line </>
</style>
<style name="#SDATA">
<font-family> attr(font) </>
<font-weight> medium </>
<font-slant> roman </>
<character-set> attr(charset) </>
<text-before>char(attr(code))</>
</style>
<style name="#TAGS">
<font-weight> Bold </>
</style>
<style name="#TEXT-BEFORE">
<font-weight> Bold </>
</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> courier </>
<font-weight> Bold </>
<font-size> 12 </>
<foreground> magenta </>
</style>
<style name="APPENDIX,SECT1,TABLE">
<font-family> &title-font </>
<font-size> 12 </>
<line-spacing> 12 </>
<title-tag> TITLE </>
<script> switch(attr(role,ancestor(book)),parts,,DEFAULT,ebt-reveal stylesheet="tables" hscroll="True" title="Table format(cnum(ancestor(appendix)),LETTER)-gcnum()' ' content(typechild(title))" ) </>
</style>
<style name="APPENDIX,SECT1,TABLE,TITLE">
<left-indent> +=65 </>
<first-indent> -=65 </>
<space-before> &title.space-before </>
<text-before>Table format(cnum(ancestor(appendix)),LETTER)-gcnum(ancestor(table))</>
</style>
<style name="BOOK" group="">
<font-family> &title-font </>
<font-weight> Bold </>
<font-size> 18 </>
<line-spacing> 18 </>
<space-before> 12 </>
<break-before> Line </>
<break-after> None </>
<title-tag> "" </>
<text-before>List of Tables</>
</style>
<style name="BUTTON">
<font-slant> Italics </>
</style>
<style name="COMMAND">
<font-family> Arial </>
<font-weight> Bold </>
</style>
<style name="DATABASE">
<font-slant> Italics </>
</style>
<style name="DOCBOOK">
<font-family> &title-font </>
<font-size> &body.font-size </>
<line-spacing> &body.line-space </>
<space-before> 9 </>
<break-before> True </>
<break-after> False </>
<title-tag> "" </>
<text-before>List of Tables</>
</style>
<style name="EMPHASIS">
<font-weight> Bold </>
</style>
<style name="FILENAME">
<font-slant> Italics </>
</style>
<style name="FONT">
<font-weight> if(or(contains(attr(role),'bold'),contains(attr(role),'bolditalic')),bold,) </>
<font-slant> if(or(contains(attr(role),'italic'),contains(attr(role),'bolditalic')),italic,) </>
<font-video> switch(attr(role),inverse,inverse,DEFAULT,regular) </>
<foreground> if(contains(attr(role),),magenta,black) </>
<score> if(contains(attr(role),'underline'),under,) </>
</style>
<style name="INDEXTERM">
<hide> All </>
</style>
<style name="INTERFACE">
<font-family> Arial </>
</style>
<style name="ITALICS">
<font-slant> Italics </>
</style>
<style name="PARAMETER">
<font-slant> Italics </>
</style>
<style name="PREFIX">
<font-weight> Bold </>
<first-indent> -72 </>
<break-before> True </>
</style>
<style name="PROGRAMNAME">
<font-slant> Italics </>
</style>
<style name="SUPERSCRIPT">
<font-size> 9 </>
<vertical-offset> 4 </>
</style>
<style name="SUPERSCRIPT,FONT">
<font-size> 9 </>
<vertical-offset> 4 </>
</style>
<style name="SYSTEMITEM">
<font-family> courier </>
</style>
<style name="TABLE">
<font-family> &title-font </>
<font-size> 12 </>
<line-spacing> 12 </>
<title-tag> TITLE </>
<script> ebt-reveal stylesheet="tables" hscroll="True" if(ancestor(appendix),title="Table format(cnum(ancestor(appendix)),LETTER)-gcnum()' ',title="Table cnum(ancestor(chapter))-gcnum()' ') content(typechild(title))" </>
</style>
<style name="TABLE,TITLE">
<left-indent> +=65 </>
<first-indent> -65 </>
<space-before> &title.space-before </>
<text-before>if(ancestor(appendix),Table format(cnum(ancestor(appendix)),LETTER)-gcnum(ancestor(table)),Table cnum(ancestor(chapter))-gcnum(ancestor(table)))</>
</style>
<style name="TABLE,TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
</style>
<style name="TITLE">
<left-indent> +=85 </>
<first-indent> -85 </>
<space-before> &title.space-before </>
<text-before>attr(label)</>
</style>
<style name="TTITLE,#TEXT-BEFORE">
<font-weight> Bold </>
<space-before> 2 </>
<break-before> True </>
</style>
<style name="TYPE">
<font-slant> Italics </>
</style>
<style name="VARIABLE">
<font-slant> Italics </>
</style>
</sheet>
@@ -0,0 +1,482 @@
<!-- 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 "12" >
<!ENTITY doc.title.line-space CDATA "21" >
<!ENTITY left-indent.1 CDATA "4" >
<!ENTITY title-font CDATA "Arial" >
<!ENTITY title.foreground CDATA "black" >
<!ENTITY title.space-before CDATA "4" >
<!ENTITY toc.sect.title.font-family CDATA "Arial" >
<!ENTITY toc.title.font-size CDATA "13" >
<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-size> &body.font-size </>
<foreground> &title.foreground </>
<line-spacing> &body.line-space </>
<justification> Left </>
<break-before> True </>
</group>
<style name="APPENDIX,SECT1,TITLE" group="title">
<font-family> &toc.sect.title.font-family </>
<left-indent> 30 </>
<space-before> &title.space-before </>
</style>
<style name="APPENDIX,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
<text-before>Appendix format(gcnum(ancestor(appendix)),LETTER) </>
</style>
<style name="CHAPTER,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
<text-before>Chapter gcnum(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 </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
</style>
<style name="GLOSSARYENTRY" group="title">
<left-indent> +=10 </>
<space-before> &title.space-before </>
<text-before>content(typechild(glossaryterm))</>
</style>
<style name="GLOSSTERM" group="title">
<space-before> 4 </>
<break-before> Line </>
</style>
<style name="PART,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
<text-before>Part format(cnum(ancestor(PART)),ROMAN)</>
</style>
<style name="PREFACE,SECT1,TITLE" group="title">
<space-before> &title.space-before </>
</style>
<style name="PREFACE,TITLE" group="title">
<font-weight> Bold </>
<font-size> &toc.title.font-size </>
<space-before> &title.space-before </>
<text-before>Introduction</>
</style>
<style name="REFENTRY,REFNAMEDIV,REFNAME" group="title">
<space-before> &title.space-before </>
</style>
<style name="REFSECT1,TITLE" group="title">
<space-before> &title.space-before </>
</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="SECT1,TITLE" group="title">
<font-family> &toc.sect.title.font-family </>
<left-indent> 30 </>
<space-before> &title.space-before </>
</style>
<style name="SECT2,TITLE" group="title">
<font-family> &toc.sect.title.font-family </>
<left-indent> 45 </>
<space-before> &title.space-before </>
</style>
<style name="SECT3,TITLE" group="title">
<font-size> 12 </>
<space-before> &title.space-before </>
</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="#SDATA">
<font-family> attr(font) </>
<font-weight> medium </>
<font-slant> roman </>
<character-set> attr(charset) </>
<text-before>char(attr(code))</>
</style>
<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">
<left-indent> +=15 </>
<title-tag> TITLE </>
</style>
<style name="APPENDIX,FIGURE">
<font-family> &title-font </>
<font-size> 12 </>
<line-spacing> 12 </>
<title-tag> title </>
<script> ebt-if(contains(attr(fileref,typechild(GRAPHIC)),.cgm),vector,raster) filename="attr(fileref,typechild(GRAPHIC))" title="Figure format(cnum(ancestor(appendix)),LETTER)-gcnum() content(me())" if(contains(attr(fileref,typechild(GRAPHIC)),.cgm), scale=true hscroll=true,) </>
</style>
<style name="APPENDIX,FIGURE,TITLE">
<left-indent> 110 </>
<first-indent> -50 </>
<space-before> &title.space-before </>
<text-before>Figure format(cnum(ancestor(appendix)),LETTER)-gcnum(ancestor(figure)) </>
</style>
<style name="APPENDIX,ITEMIZEDLIST,LISTITEM,FIGURE,TITLE">
<left-indent> 110 </>
<first-indent> -50 </>
<space-before> &title.space-before </>
<text-before>Figure format(cnum(ancestor(appendix)),LETTER)-gcnum(ancestor(figure)) </>
</style>
<style name="APPENDIX,SECT1,SECT2,SECT3">
<left-indent> if(isempty(attr(NUMBER)),+=20,-=25) </>
<title-tag> TITLE </>
</style>
<style name="APPENDIX,TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
<break-after> Line </>
</style>
<style name="AUTHORGROUP">
<hide> Children </>
</style>
<style name="BOOK">
<title-tag> bookinfo,bookbiblio,title </>
</style>
<style name="BOOK,BOOKINFO,BOOKBIBLIO,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> 18 </>
<left-indent> 12 </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
<hide> Off </>
</style>
<style name="BOOK,TITLE">
<font-family> Arial </>
<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="BOOKBIBLIO,TITLE">
<font-family> Arial </>
<font-weight> Bold </>
<font-size> 18 </>
<line-spacing> &doc.title.line-space </>
<space-before> &title.space-before </>
<hide> Off </>
</style>
<style name="BOOKINFO">
<hide> Text </>
</style>
<style name="BOOKTITLE">
<font-family> Arial </>
<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> Arial </>
<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> +=15 </>
<title-tag> TITLE </>
</style>
<style name="CHAPTER,TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
<break-after> Line </>
</style>
<style name="CITETITLE">
<font-slant> Italics </>
</style>
<style name="COMMAND">
<font-family> Arial </>
<font-weight> Bold </>
</style>
<style name="DATABASE">
<font-slant> Italics </>
</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="FIGURE">
<font-family> &title-font </>
<font-size> 12 </>
<line-spacing> 12 </>
<script> ebt-if(contains(attr(fileref,typechild(GRAPHIC)),.cgm),vector,raster) filename="attr(fileref,typechild(GRAPHIC))" title="Figure cnum(ancestor(chapter))-gcnum() content(me())" if(contains(attr(fileref,typechild(GRAPHIC)),.cgm), scale=true hscroll=true,) </>
</style>
<style name="FIGURE,TITLE">
<left-indent> 110 </>
<first-indent> -50 </>
<space-before> &title.space-before </>
<text-before>Figure cnum(ancestor(chapter))-gcnum(ancestor(figure)) </>
</style>
<style name="FILENAME">
<font-slant> Italics </>
</style>
<style name="FONT">
<font-weight> if(or(contains(attr(role),'bold'),contains(attr(role),'bolditalic')),bold,) </>
<font-slant> if(or(contains(attr(role),'italic'),contains(attr(role),'bolditalic')),italic,) </>
<font-video> switch(attr(role),inverse,inverse,DEFAULT,regular) </>
<foreground> if(contains(attr(role),),magenta,black) </>
<score> if(contains(attr(role),'underline'),under,) </>
</style>
<style name="HR">
<text-before> </>
</style>
<style name="INTERFACE">
<font-family> Arial </>
</style>
<style name="ITALICS">
<font-slant> Italics </>
</style>
<style name="PARAMETER">
<font-slant> Italics </>
</style>
<style name="PART">
<title-tag> TITLE </>
</style>
<style name="PART,TITLE,#TEXT-BEFORE">
<font-weight> Bold </>
<break-after> Line </>
</style>
<style name="PREFACE">
<left-indent> +=15 </>
<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> 30 </>
<title-tag> REFNAMEDIV,REFNAME </>
</style>
<style name="REFNAME">
<font-family> Arial </>
<font-slant> Italics </>
<font-size> 10 </>
<space-before> &title.space-before </>
</style>
<style name="REFPURPOSE">
<left-indent> if(isempty(attr(NUMBER)),+=10,+=20) </>
</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) </>
</style>
<style name="SECT1">
<left-indent> +=15 </>
<title-tag> TITLE </>
</style>
<style name="SECT2">
<left-indent> if(isempty(attr(LABEL)),+=10,+=20) </>
<title-tag> TITLE </>
</style>
<style name="SECT3">
<font-family> Arial </>
<left-indent> 60 </>
<title-tag> TITLE </>
</style>
<style name="SECT4">
<left-indent> 70 </>
<title-tag> TITLE </>
</style>
<style name="SUBSCRIPT">
<font-size> 9 </>
<vertical-offset> -4 </>
</style>
<style name="SUBTITLE">
<hide> Text </>
</style>
<style name="SUPERSCRIPT">
<font-size> 9 </>
<vertical-offset> 4 </>
</style>
<style name="SUPERSCRIPT,FONT">
<font-size> 9 </>
<vertical-offset> 4 </>
</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>
</sheet>