home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / Insight / library / SGI_bookshelves / Help / books / WebjumperHelp / styles / toc.tv < prev    next >
Encoding:
Text File  |  2001-04-17  |  12.4 KB  |  317 lines

  1. <!--     Silicon Graphics, Inc.
  2.     SGIDOCBK DTD fulltext & TOC stylesheets
  3.     Software Publications
  4.     InSight/DynaText version
  5.     4/16/1999
  6.     last updated by: Adrian Daley (agd@sgi.com)
  7.     IRIS InSight Main TOC Stylesheet
  8.     Version 1.0
  9.     Revision Control Version $Revision: 1.4 $
  10. -->
  11.  
  12.  
  13.  
  14. <!ENTITY    lang.charset        CDATA    ""    >
  15. <!ENTITY    frontmatter.text-b4    CDATA    "Front Matter"    >
  16. <!ENTITY    index.text-b4        CDATA    "Index"    >
  17. <!ENTITY    index.text-see        CDATA    "See"    >
  18. <!ENTITY    index.text-seealso    CDATA    "See Also"    >
  19. <!ENTITY    note.text-b4        CDATA    "Note:"    >
  20. <!ENTITY    note-ansi-iso.text-b4    CDATA    "ANSI/ISO:"    >
  21. <!ENTITY    note-openmp.text-b4    CDATA    "OpenMP:"    >
  22. <!ENTITY    warning.text-b4        CDATA    "Warning:"    >
  23. <!ENTITY    caution.text-b4        CDATA    "Caution:"    >
  24. <!ENTITY    danger.text-b4        CDATA    "Danger:"    >
  25. <!ENTITY    table.text-b4        CDATA    "Table"    >
  26. <!ENTITY    example.text-b4        CDATA    "Example"    >
  27. <!ENTITY    figure.text-b4        CDATA    "Figure"    >
  28. <!ENTITY    notices.text-b4        CDATA    "Notices"    >
  29. <!ENTITY    important.text-b4    CDATA    "Important:"    >
  30. <!ENTITY    revision.text-b4    CDATA    "Record of Revision"    >
  31. <!ENTITY    shortcut.text-b4    CDATA    "Shortcut:"    >
  32. <!ENTITY    tip.text-b4        CDATA    "Tip:"    >
  33. <!ENTITY    appendix.text-b4    CDATA    "Appendix"    >
  34. <!ENTITY    chapter.text-b4        CDATA    "Chapter"    >
  35. <!ENTITY    chapter.text-after    CDATA    ""    >
  36. <!ENTITY    footnote.text-b4    CDATA    "Footnote"    >
  37. <!ENTITY    section.text-b4        CDATA    "Section"    >
  38. <!ENTITY    part.text-b4        CDATA    "Part"    >
  39. <!ENTITY    procedure.text-b4    CDATA    "Procedure"    >
  40. <!ENTITY    equation.text-b4    CDATA    "Equation"    >
  41. <!ENTITY    click-here.text-b4    CDATA    "[Click Here]"    >
  42. <!ENTITY    preface.text-b4        CDATA    "Preface"    >
  43. <!ENTITY    glossary.text-b4    CDATA    "Glossary"    >
  44. <!ENTITY    documentnum.text-b4    CDATA    "Document Number"    >
  45. <!ENTITY    contributors.text-b4    CDATA    "Contributors"    >
  46. <!ENTITY    about-guide.text-b4    CDATA    "About This Guide"    >
  47. <!ENTITY    about-manual.text-b4    CDATA    "About This Manual"    >
  48. <!ENTITY    about-document.text-b4    CDATA    "About This Document"    >
  49. <!ENTITY    step.text-b4        CDATA    "step"    >
  50. <!ENTITY    version.text-b4        CDATA    "Version"    >
  51. <!ENTITY    newfeatures.text-b4    CDATA    "New Features"    >
  52. <!ENTITY    contents.text-b4    CDATA    "Contents"    >
  53. <!ENTITY    pubdate.text-b4        CDATA    "Publication Date"    >
  54. <!ENTITY    published.text-b4    CDATA    "Published"    >
  55. <!ENTITY    edition.text-b4        CDATA    "Version"    >
  56. <!ENTITY    figures-list.text-b4    CDATA    "List of Figures"    >
  57. <!ENTITY    procedures-list.text-b4    CDATA    "List of Procedures"    >
  58. <!ENTITY    tables-list.text-b4    CDATA    "List of Tables"    >
  59. <!ENTITY    examples-list.text-b4    CDATA    "List of Examples"    >
  60. <!ENTITY    media-list.text-b4    CDATA    "List of Media"    >
  61.  
  62.  
  63.  
  64. <!ENTITY    body.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,new century schoolbook)" >
  65. <!ENTITY    titles.font-family    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,helvetica)"    >
  66.  
  67.  
  68. <!ENTITY    body.font-size        CDATA    "12"    >
  69. <!ENTITY    body.line-spacing    CDATA    "14"    >
  70. <!ENTITY    body.left-indent    CDATA    "48"    >
  71. <!ENTITY    body.right-indent    CDATA    "10"    >
  72.  
  73. <!ENTITY    float.space-before    CDATA    "if(ancestor(me(),para,1),8,0)" >
  74. <!ENTITY    float.space-after    CDATA    "if(eq(rsibling(),0),0,8)" >
  75. <!ENTITY    big-float.space-after    CDATA    "if(eq(rsibling(),0),0,17)" >
  76.  
  77. <!ENTITY    smaller.font-size    CDATA    "-=2"    >
  78. <!ENTITY    italic.font-slant    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Italics)"    >
  79. <!ENTITY    super.vertical-offset    CDATA    "4"    >
  80. <!ENTITY    sub.vertical-offset    CDATA    "-3"    >
  81.  
  82. <!ENTITY    titles.foreground    CDATA    "if(env(INSIGHT_FG),env(INSIGHT_FG),Black)"    >
  83. <!ENTITY    titles.space-after    CDATA    "8"    >
  84. <!ENTITY    titles.left-indent    CDATA    "0"    >
  85. <!ENTITY    font-weight.bold    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,Medium,ko_KR.euc,Medium,zh_CN.ugb,Medium,zh_TW.ucns,Medium,zh_TW.big5,Medium,DEFAULT,Bold)"    >
  86. <!ENTITY    font-weight.medium    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,Medium,ko_KR.euc,Medium,zh_CN.ugb,Medium,zh_TW.ucns,Medium,zh_TW.big5,Medium,DEFAULT,Medium)"   >
  87. <!ENTITY    command-font        CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,courier)"    >
  88.  
  89. <!ENTITY    font-slant.roman    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Roman)"    >
  90. <!ENTITY    font-slant.italics    CDATA    "switch(attr(LANG,ancestor(SGIDOCBK)),ja_JP.EUC,*,ko_KR.euc,*,zh_CN.ugb,*,zh_TW.ucns,*,zh_TW.big5,*,DEFAULT,Italics)"    >
  91.  
  92. <!ENTITY    titles-b.font-size    CDATA    "14"    >
  93. <!ENTITY    titles-d.font-size    CDATA    "12"    >
  94. <!ENTITY    titles-b.line-spacing    CDATA    "22"    >
  95. <!ENTITY    titles-d.line-spacing    CDATA    "17"    >
  96.  
  97. <!ENTITY    basic.left-indent    CDATA    "+=15"    >
  98. <!ENTITY    hanging.first-indent    CDATA    "-15"    >
  99.  
  100. <!ENTITY    number.parent-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(me()),roman),gcnum(me()))"    >
  101. <!ENTITY    number.title-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(ancestor(me())),roman),gcnum(ancestor(me())))"    >
  102. <!ENTITY    number.table-title-text    CDATA    "if(ancestor(CHAPTER),gcnum(ancestor(CHAPTER))-,if(ancestor(APPENDIX),format(gcnum(ancestor(APPENDIX)),LETTER2)-,if(ancestor(GLOSSARY),Gl-,)))if(or(ancestor(PREFACE),ancestor(BOOKINFO)),format(gcnum(me()),roman),gcnum(me()))"    >
  103. <!ENTITY    classcode108    CDATA    "eq(content(typechild('CLASSCODE',typechild('PARTNUMBER',typechild('BOOKBIBLIO',typechild('BOOKINFO',typechild('BOOK',ancestor(SGIDOCBK))))))),'108')"    >
  104. <!ENTITY    numheads    CDATA    "eq(attr(NUMHEADS,ancestor(SGIDOCBK)),Y)"    >
  105. <!ENTITY    add.left-indent        CDATA    "+=20"    >
  106.  
  107. <sheet>
  108.  
  109. <group name="H1">
  110.     <font-weight>    &font-weight.bold;    </>
  111.     <space-before>    8    </>
  112. </group>
  113.  
  114.  
  115. <group name="H1.TEXT-BEFORE">
  116.     <font-weight>    &font-weight.medium;    </>
  117.     <font-slant>    &italic.font-slant;    </>
  118.     <break-before>    Line            </>
  119.     <break-after>    Line            </>
  120.     <space-after>    4            </>
  121. </group>
  122.  
  123. <group name="H2">
  124.     <left-indent>    &basic.left-indent;    </>
  125.     <first-indent>    &hanging.first-indent;    </>
  126.     <break-before>    Line            </>
  127.     <space-after>    4            </>
  128. </group>
  129.  
  130. <group name="H3">
  131.     <left-indent>    &basic.left-indent;    </>
  132.     <first-indent>    &hanging.first-indent;    </>
  133.     <break-before>    Line            </>
  134.     <space-after>    4            </>
  135. </group>
  136.  
  137. <group name="H4">
  138.     <left-indent>    &basic.left-indent;    </>
  139.     <first-indent>    &hanging.first-indent;    </>
  140.     <break-before>    Line            </>
  141.     <space-after>    4            </>
  142. </group>
  143.  
  144. <group name="H5">
  145.     <left-indent>    &basic.left-indent;    </>
  146.     <first-indent>    &hanging.first-indent;    </>
  147.     <break-before>    Line            </>
  148.     <space-after>    4            </>
  149. </group>
  150.  
  151. <group name="H6">
  152.     <left-indent>    &basic.left-indent;    </>
  153.     <first-indent>    &hanging.first-indent;    </>
  154.     <break-before>    Line            </>
  155.     <space-after>    4            </>
  156. </group>
  157.  
  158. <group name="CAPTION">
  159.     <left-indent>    110    </>
  160.     <first-indent>    -85    </>
  161.     <space-before>    2    </>
  162.     <space-after>    2    </>
  163.     <justification>    Left    </>
  164.     <break-before>    Line    </>
  165. </group>
  166.  
  167. <group name="CAPTION.TEXT-BEFORE">
  168.     <font-weight>    &font-weight.bold;    </>
  169. </group>
  170.  
  171.  
  172. <style name="SGIDOCBK"></style>
  173. <style name="BOOK">
  174.     <font-family>    &titles.font-family;    </>
  175.     <foreground>    &titles.foreground;    </>
  176.     <font-size>    &titles-d.font-size;    </>
  177.     <line-spacing>    15            </>
  178.     <space-before>    4            </>
  179.     <title-tag>    BOOKINFO,BOOKBIBLIO,TITLE    </>
  180. </style>
  181.  
  182. <style name="BOOK,#TEXT-BEFORE" group="H1">
  183.     <font-size>    &titles-b.font-size;    </>
  184.     <font-weight>    &font-weight.bold;    </>
  185.     <space-before>    8            </>
  186.     <break-after>    Line            </>
  187. </style>
  188.  
  189. <style name="BOOKINFO,BOOKBIBLIO,TITLE" group="H1">
  190.     <font-size>    &titles-b.font-size;    </>
  191.     <font-weight>    &font-weight.bold;    </>
  192.     <space-before>    8            </>
  193.     <break-after>    Line            </>
  194. </style>
  195.  
  196.  
  197. <!-- Default settings for SDATA entities from our entity sets -->
  198. <style name="#SDATA">
  199.     <character-set>    attr(charset)    </>
  200.     <text-before>gamut(attr(name),'trade  mdash  bull','(TM)   --  *',join('&',attr(name),';'))</>
  201. </style>
  202.  
  203. <style name="#TAGS">
  204.     <font-weight>    &font-weight.bold;    </>
  205. </style>
  206.  
  207. <!-- Style"#toc-annot" is reserved, and defines the appearance of the
  208.      bookmarks, word frequencies, location markers, etc. in left margin. -->
  209. <style name="#TOC-ANNOT">
  210.     <font-family>    &command-font;    </>
  211.     <font-weight>    &font-weight.bold;    </>
  212.     <font-size>    12    </>
  213.     <foreground>    magenta    </>
  214. </style>
  215.  
  216. <!-- Make sure index terms don't appear in the title -->
  217. <style name="INDEXTERM">
  218.     <hide>    All    </>
  219. </style>
  220.  
  221. <style name="COMMENT">
  222.     <hide>    All    </>
  223. </style>
  224.  
  225. <style name="SUBSCRIPT">
  226.     <font-size>    &smaller.font-size;    </>
  227.     <vertical-offset>    &sub.vertical-offset;    </>
  228. </style>
  229.  
  230. <style name="SUPERSCRIPT">
  231.     <font-size>    &smaller.font-size;    </>
  232.     <vertical-offset>    &super.vertical-offset;    </>
  233. </style>
  234.  
  235. <group name="TOC">
  236.     <left-indent>    &basic.left-indent;    </>
  237.     <title-tag>    TITLE            </>
  238.     <space-after>    4            </>
  239. </group>
  240.  
  241. <style name="PREFACE" group="TOC"></style>
  242. <style name="PART" group="TOC"></style>
  243. <style name="CHAPTER" group="TOC"></style>
  244. <style name="SECTION" group="TOC"></style>
  245. <style name="APPENDIX" group="TOC"></style>
  246. <style name="GLOSSARY" group="TOC">
  247.     <title-tag>    if(typechild(TITLE,me()),TITLE,#TEXT-BEFORE)    </>
  248.     <text-before>    if(typechild(TITLE,me()),,&glossary.text-b4;)    </>
  249.     <space-before>    if(typechild(TITLE,me()),,8)    </>
  250. </style>
  251.  
  252.  
  253. <style name="GLOSSARY,TITLE" group="H1"></style>
  254. <style name="GLOSSARY,#TEXT-BEFORE" group="H1"></style>
  255.  
  256. <style name="INDEX,TITLE" group="H1"></style>
  257. <style name="INDEX,#TEXT-BEFORE" group="H1"></style>
  258.  
  259. <style name="PART,TITLE" group="H1">
  260.     <text-before>&part.text-b4; format(gcnum(ancestor(part)),ROMAN) </>
  261. </style>
  262.  
  263. <style name="PART,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  264.  
  265. <style name="PREFACE,TITLE" group="H1"></style>
  266.  
  267. <style name="CHAPTER,TITLE" group="H1">
  268.     <text-before>&chapter.text-b4; gcnum(ancestor(chapter))&chapter.text-after; </>
  269. </style>
  270.  
  271. <style name="CHAPTER,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  272.  
  273. <style name="CHAPTER,SECTION,TITLE" group="H2">
  274.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(section))'  ',)</>
  275. </style>
  276. <style name="CHAPTER,SECTION,SECTION,TITLE" group="H3">
  277.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  278. </style>
  279. <style name="CHAPTER,SECTION,SECTION,SECTION,TITLE" group="H4">
  280.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  281. </style>
  282. <style name="CHAPTER,SECTION,SECTION,SECTION,SECTION,TITLE" group="H5">
  283.     <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  284. </style>
  285. <style name="CHAPTER,SECTION,SECTION,SECTION,SECTION,SECTION,TITLE" group="H6">
  286.         <text-before>if(and(&numheads;,&classcode108;),gcnum(ancestor(chapter)).cnum(ancestor(me(),section,5)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  287. </style>
  288.  
  289. <style name="APPENDIX,TITLE" group="H1">
  290.     <text-before>&appendix.text-b4; format(gcnum(ancestor(appendix)),LETTER) </>
  291. </style>
  292.  
  293. <style name="APPENDIX,TITLE,#TEXT-BEFORE" group="H1.TEXT-BEFORE"></style>
  294.  
  295. <style name="APPENDIX,SECTION,TITLE" group="H2">
  296.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(section))'  ',)</>
  297. </style>
  298. <style name="APPENDIX,SECTION,SECTION,TITLE" group="H3">
  299.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  300. </style>
  301. <style name="APPENDIX,SECTION,SECTION,SECTION,TITLE" group="H4">
  302.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  303. </style>
  304. <style name="APPENDIX,SECTION,SECTION,SECTION,SECTION,TITLE" group="H5">
  305.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  306. </style>
  307. <style name="APPENDIX,SECTION,SECTION,SECTION,SECTION,SECTION,TITLE" group="H6">
  308.     <text-before>if(and(&numheads;,&classcode108;),format(gcnum(ancestor(appendix)),LETTER).cnum(ancestor(me(),section,5)).cnum(ancestor(me(),section,4)).cnum(ancestor(me(),section,3)).cnum(ancestor(me(),section,2)).cnum(ancestor(section))'  ',)</>
  309. </style>
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316. </sheet>
  317.