home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / DRHLPSTY.PAK / INLINE.V < prev    next >
Text File  |  1995-08-29  |  13KB  |  573 lines

  1. <!-- Style sheet for the default browser view of IMI documents.
  2.   This uses the ANSI AAP tag set, but has a few additions for
  3.   supporting hypertext elements.
  4.  
  5. $Id: fulltext.v 1.1 1993/06/09 20:47:44 aet Exp aet $
  6.  
  7.   Copyright 1992-1994, Electronic Book Technologies.  All rights reserved.
  8. -->
  9.  
  10. <!ENTITY art.color           CDATA  "dark green"   >
  11. <!ENTITY hottext.fontfam     CDATA  "MS Sans Serif"   >
  12. <!ENTITY hottext.foreground  CDATA  "red" >
  13. <!ENTITY hottext.slant       CDATA  "Roman"  >
  14. <!ENTITY hottext.weight      CDATA  "medium" >
  15. <!ENTITY std.font            CDATA  "MS Sans Serif"   >
  16. <!ENTITY std.font-size       CDATA  "14"  >
  17. <!ENTITY std.leftindent      CDATA  "10"  >
  18. <!ENTITY std.line-spacing    CDATA  "16"  >
  19. <!ENTITY std.rightindent     CDATA  "12"  >
  20. <!ENTITY subscript           CDATA  "-3"  >
  21. <!ENTITY title.color         CDATA  "blue"   >
  22. <!ENTITY title.font          CDATA  "Times New Roman" >
  23. <!ENTITY verbatim.font       CDATA  "courier"   >
  24. <!ENTITY verbatim.font-size  CDATA  "10"  >
  25. <!ENTITY verbatim.line-spacing CDATA   "12"  >
  26.  
  27. <sheet >
  28.  
  29.  
  30.  
  31. <?INSTED COMMENT: GROUP emphs>
  32.  
  33. <group name="emphs">
  34.     <font-slant>    Italic    </>
  35. </group>
  36.  
  37. <style name="CMD" group="emphs">
  38.     <font-weight>    Bold    </>
  39.     <font-slant>    Roman    </>
  40. </style>
  41.  
  42. <style name="FILE" group="emphs">
  43.     <font-slant>    Italic    </>
  44. </style>
  45.  
  46. <style name="FUNC" group="emphs">
  47.     <font-slant>    Roman    </>
  48.     <script>    ebt-link root=idmatch(id, attr(rid)) window="new"    </>
  49. </style>
  50.  
  51. <style name="INLINE" group="emphs">
  52.     <font-slant>    Roman    </>
  53. </style>
  54.  
  55. <style name="PROP" group="emphs">
  56.     <script>    ebt-link root=idmatch(id, attr(rid)) window="new"    </>
  57. </style>
  58.  
  59. <style name="RESV" group="emphs">
  60.     <font-slant>    Roman    </>
  61.     <script>    ebt-link root=idmatch(id, attr(rid)) window="new"    </>
  62. </style>
  63.  
  64. <style name="SCRIPT" group="emphs">
  65.     <script>    ebt-link root=idmatch(id, attr(rid)) window="new"    </>
  66. </style>
  67.  
  68.  
  69.  
  70. <?INSTED COMMENT: GROUP equations>
  71.  
  72. <group name="equations">
  73.     <hide>    Children    </>
  74.     <break-before>    None    </>
  75.     <break-after>    None    </>
  76.     <inline>    equation target=me()    </>
  77. </group>
  78.  
  79. <style name="F" group="equations">
  80. </style>
  81.  
  82. <style name="FD" group="equations">
  83.     <font-size>    18    </>
  84.     <space-before>    10    </>
  85.     <space-after>    10    </>
  86.     <break-before>    line    </>
  87.     <break-after>    line    </>
  88. </style>
  89.  
  90.  
  91.  
  92. <?INSTED COMMENT: GROUP title>
  93.  
  94. <group name="title">
  95.     <font-family>    &title.font    </>
  96.     <font-weight>    Bold    </>
  97.     <foreground>    &title.color    </>
  98.     <justification>    Left    </>
  99.     <break-before>    line    </>
  100. </group>
  101.  
  102. <style name="APPENDIX,TITLE" group="title">
  103.     <font-size>    24    </>
  104.     <line-spacing>    26    </>
  105.     <space-before>    45    </>
  106.     <text-before>Appendix format(cnum(parent()),LETTER):  </>
  107. </style>
  108.  
  109. <style name="CHAPTER,TITLE" group="title">
  110.     <font-size>    24    </>
  111.     <left-indent>    if(eq(cnum(ancestor()),1),+=0,+=45)    </>
  112.     <first-indent>    if(eq(cnum(ancestor()),1),0,-45)    </>
  113.     <line-spacing>    26    </>
  114.     <space-before>    45    </>
  115.     <text-before>if(eq(cnum(ancestor()),1),'',join(sub(cnum(parent()),1),'. '))</>
  116. </style>
  117.  
  118. <style name="LABEL" group="title">
  119.     <font-size>    14    </>
  120.     <line-spacing>    17    </>
  121.     <space-before>    12    </>
  122. </style>
  123.  
  124. <style name="MAP,TITLE" group="title">
  125.     <font-size>    18    </>
  126.     <line-spacing>    20    </>
  127.     <space-before>    25    </>
  128. </style>
  129.  
  130. <style name="TITLEPG,TITLE" group="title">
  131.     <font-size>    24    </>
  132.     <line-spacing>    28    </>
  133. </style>
  134.  
  135.  
  136.  
  137. <?INSTED COMMENT: UNGROUPED STYLES FOLLOW>
  138.  
  139. <style name="#SDATA">
  140.     <font-family>    attr(font)    </>
  141.     <font-weight>    attr(weight)    </>
  142.     <character-set>    attr(charset)    </>
  143.     <text-before>char(attr(code))</>
  144. </style>
  145.  
  146. <style name="#TAGS">
  147.     <font-family>    fixed    </>
  148.     <font-weight>    Medium    </>
  149.     <font-size>    12    </>
  150.     <score>    Under    </>
  151. </style>
  152.  
  153. <style name="ABLOCK">
  154.     <hide>    All    </>
  155. </style>
  156.  
  157. <style name="ABLOCK,TABLE">
  158.     <hide>    All    </>
  159. </style>
  160.  
  161. <style name="APPENDIX">
  162.     <break-before>    Line    </>
  163. </style>
  164.  
  165. <style name="ART">
  166.     <space-before>    12    </>
  167.     <break-before>    line    </>
  168.     <script>    ebt-raster filename="attr(FILE).tif" title="attr(TITLE)"    </>
  169.     <inline>    raster filename="attr(FILE).tif"    </>
  170.     <text-before>Figure if(gt(cnum(ancestor(CHAPTER)),1),join(sub(cnum(ancestor(CHAPTER)),1),-gcnum():),gcnum():) attr(TITLE)</>
  171. </style>
  172.  
  173. <style name="ART,#TEXT-BEFORE">
  174.     <font-family>    &title.font    </>
  175.     <font-weight>    bold    </>
  176.     <font-size>    12    </>
  177.     <foreground>    &art.color    </>
  178.     <line-spacing>    14    </>
  179.     <space-before>    4    </>
  180.     <space-after>    12    </>
  181.     <justification>    left    </>
  182. </style>
  183.  
  184. <style name="AUTHOR">
  185.     <font-family>    &title.font    </>
  186.     <font-size>    18    </>
  187.     <line-spacing>    20    </>
  188.     <space-before>    18    </>
  189.     <justification>    Left    </>
  190.     <break-before>    line    </>
  191. </style>
  192.  
  193. <style name="B">
  194.     <font-weight>    Bold    </>
  195. </style>
  196.  
  197. <style name="BI">
  198.     <font-weight>    Bold    </>
  199.     <font-slant>    Italic    </>
  200. </style>
  201.  
  202. <style name="CELLRULE">
  203.     <hide>    All    </>
  204.     <column>    True    </>
  205. </style>
  206.  
  207. <style name="CHAPTER">
  208.     <break-before>    Line    </>
  209. </style>
  210.  
  211. <style name="COPYRTPG">
  212.     <icon-position>    Right    </>
  213.     <hide>    Children    </>
  214.     <script>    ebt-reveal title="Copyright Notice" stylesheet="fulltext.v"    </>
  215.     <icon-type>    copyrt    </>
  216. </style>
  217.  
  218. <style name="DATE">
  219.     <font-family>    &title.font    </>
  220.     <font-size>    18    </>
  221.     <line-spacing>    20    </>
  222.     <space-before>    18    </>
  223.     <justification>    Left    </>
  224.     <break-before>    line    </>
  225. </style>
  226.  
  227. <style name="DOCLINK">
  228.     <font-slant>    Italics    </>
  229.     <foreground>    red    </>
  230.     <icon-position>    Right    </>
  231.     <break-before>    line    </>
  232.     <script>    ebt-link book="attr(DOC)" tname=ID tvalue="attr(RID)"    </>
  233.     <icon-type>    exlink    </>
  234. </style>
  235.  
  236. <style name="DOS">
  237.     <break-before>    False    </>
  238.     <select>    if(eq(index(env(PATH),'/'),0),ME.SHOW,ME.HIDE)    </>
  239. </style>
  240.  
  241. <style name="EMPH">
  242.     <select>    EMPH.attr(type)    </>
  243. </style>
  244.  
  245. <style name="EMPH.ATTR">
  246.     <font-slant>    Roman    </>
  247. </style>
  248.  
  249. <style name="EMPH.BUTTON">
  250.     <font-slant>    Italics    </>
  251. </style>
  252.  
  253. <style name="EMPH.CMD">
  254.     <font-weight>    Bold    </>
  255.     <font-slant>    Roman    </>
  256. </style>
  257.  
  258. <style name="EMPH.FILE">
  259.     <font-slant>    Italic    </>
  260. </style>
  261.  
  262. <style name="EMPH.FUNC">
  263.     <font-slant>    Roman    </>
  264. </style>
  265.  
  266. <style name="EMPH.INPUT">
  267.     <font-family>    courier    </>
  268. </style>
  269.  
  270. <style name="EMPH.MENU">
  271.     <font-slant>    Roman    </>
  272. </style>
  273.  
  274. <style name="EMPH.OUTPUT">
  275.     <font-family>    courier    </>
  276. </style>
  277.  
  278. <style name="EMPH.PROP">
  279.     <font-slant>    Italic    </>
  280. </style>
  281.  
  282. <style name="EMPH.PVAL">
  283.     <font-slant>    Italic    </>
  284. </style>
  285.  
  286. <style name="EMPH.RESV">
  287.     <font-slant>    Roman    </>
  288. </style>
  289.  
  290. <style name="EXTREF">
  291.     <font-family>    &hottext.fontfam    </>
  292.     <font-weight>    &hottext.weight    </>
  293.     <font-slant>    &hottext.slant    </>
  294.     <foreground>    &hottext.foreground    </>
  295.     <score>    Under    </>
  296.     <script>    ebt-link root=idmatch(ID, ATTR(RID)) book=attr(book)    window=new stylesheet="popup.rev"    </>
  297. </style>
  298.  
  299. <style name="EXTREF,I">
  300.     <font-slant>    Italics    </>
  301.     <script>    ebt-link root=idmatch(ID, ATTR(RID,ancestor()))  book=attr(book,ancestor())  window=new stylesheet="popup.rev"    </>
  302. </style>
  303.  
  304. <style name="I">
  305.     <font-slant>    Italics    </>
  306. </style>
  307.  
  308. <style name="IMIDOC">
  309.     <font-family>    &std.font    </>
  310.     <font-size>    14    </>
  311.     <foreground>    black    </>
  312.     <left-indent>    10    </>
  313.     <right-indent>    &std.rightindent    </>
  314.     <line-spacing>    16    </>
  315. </style>
  316.  
  317. <style name="ITEM">
  318.     <left-indent>    +=20    </>
  319.     <break-before>    False    </>
  320. </style>
  321.  
  322. <style name="ITEM,P">
  323.     <space-after>    2    </>
  324. </style>
  325.  
  326. <style name="LIST">
  327.     <left-indent>    +=5    </>
  328.     <space-before>    4    </>
  329.     <break-before>    line    </>
  330.     <break-after>    line    </>
  331. </style>
  332.  
  333. <style name="MARKER">
  334.     <font-family>    if(isempty(attr(type)),symbol,)    </>
  335.     <font-weight>    Medium    </>
  336.     <hide>    text    </>
  337.     <break-before>    line    </>
  338.     <text-before>switch(attr(type,parent(LIST)),'triple', format(cnum(),word('LETTER decimal roman',countword(qtag(), x,'eq(var(x),'LIST')',',')))., 'num', cnum()., 'default', content())</>
  339. </style>
  340.  
  341. <style name="ME.HIDE">
  342.     <hide>    All    </>
  343. </style>
  344.  
  345. <style name="ME.SHOW">
  346.     <hide>    Off    </>
  347. </style>
  348.  
  349. <style name="NAME">
  350.     <width>    100    </>
  351.     <column>    True    </>
  352. </style>
  353.  
  354. <style name="NOTICE">
  355.     <font-family>    &title.font    </>
  356.     <font-size>    14    </>
  357.     <line-spacing>    16    </>
  358.     <space-before>    20    </>
  359.     <break-before>    line    </>
  360. </style>
  361.  
  362. <style name="OWNER">
  363.     <font-family>    &title.font    </>
  364.     <font-size>    18    </>
  365.     <line-spacing>    20    </>
  366.     <space-before>    18    </>
  367.     <justification>    Left    </>
  368.     <break-before>    line    </>
  369. </style>
  370.  
  371. <style name="P">
  372.     <space-before>    10    </>
  373.     <break-before>    line    </>
  374. </style>
  375.  
  376. <style name="PART">
  377.     <space-before>    60    </>
  378. </style>
  379.  
  380. <style name="PROPERTY">
  381.     <break-before>    Line    </>
  382. </style>
  383.  
  384. <style name="RM">
  385.     <font-weight>    Medium    </>
  386.     <font-slant>    Roman    </>
  387. </style>
  388.  
  389. <style name="ROWRULE">
  390.     <hrule>    Before    </>
  391. </style>
  392.  
  393. <style name="SECTION">
  394.     <space-before>    40    </>
  395. </style>
  396.  
  397. <style name="SIDEBAR">
  398.     <icon-position>    Right    </>
  399.     <hide>    Children    </>
  400.     <script>    ebt-reveal title=" " stylesheet="fulltext.v"    </>
  401.     <icon-type>    footnote    </>
  402. </style>
  403.  
  404. <style name="SIDEBAR,LABEL">
  405.     <hide>    Children    </>
  406. </style>
  407.  
  408. <style name="SP.FN">
  409.     <icon-position>    Right    </>
  410.     <hide>    Children    </>
  411.     <script>    ebt-reveal title="Footnote" stylesheet="fulltext.v"    </>
  412.     <icon-type>    footnote    </>
  413. </style>
  414.  
  415. <style name="SP.ICONSHOW">
  416.     <left-indent>    36    </>
  417.     <space-before>    12    </>
  418.     <icon-position>    Inline    </>
  419.     <break-before>    line    </>
  420.     <icon-type>    attr(TITLE)    </>
  421. </style>
  422.  
  423. <style name="SP.SUB">
  424.     <vertical-offset>    &subscript    </>
  425. </style>
  426.  
  427. <style name="SP.TEX">
  428.     <break-before>    Line    </>
  429. </style>
  430.  
  431. <style name="SP.TEXEQN">
  432.     <break-before>    Line    </>
  433. </style>
  434.  
  435. <style name="SPECIAL">
  436.     <font-family>    &title.font    </>
  437.     <select>    SP.toupper(attr(type))    </>
  438. </style>
  439.  
  440. <style name="STYLE">
  441.     <space-before>    6    </>
  442.     <space-after>    6    </>
  443.     <break-before>    Line    </>
  444.     <text-before>if(attr(NAME), Property setting\(s\) for style attr(NAME):, Property setting:)</>
  445. </style>
  446.  
  447. <style name="STYLE,#TEXT-BEFORE">
  448.     <font-weight>    Bold    </>
  449. </style>
  450.  
  451. <style name="SUBBLOCK,LABEL">
  452.     <font-weight>    Bold    </>
  453.     <foreground>    &title.color    </>
  454.     <space-before>    8    </>
  455.     <justification>    Left    </>
  456.     <break-before>    line    </>
  457. </style>
  458.  
  459. <style name="SUBBLOCK,P">
  460.     <space-before>    if(gt(cnum(),1), 10,)    </>
  461.     <break-before>    if(gt(cnum(),1), Line, None)    </>
  462. </style>
  463.  
  464. <style name="SUBTITLE">
  465.     <font-family>    &title.font    </>
  466.     <font-size>    18    </>
  467.     <line-spacing>    20    </>
  468.     <space-before>    18    </>
  469.     <justification>    Left    </>
  470.     <break-before>    line    </>
  471. </style>
  472.  
  473. <style name="SYMBOL">
  474.     <font-family>    symbol    </>
  475.     <font-weight>    Medium    </>
  476. </style>
  477.  
  478. <style name="TABLE">
  479.     <space-before>    20    </>
  480.     <space-after>    20    </>
  481.     <break-before>    Line    </>
  482. </style>
  483.  
  484. <style name="TABLECELL">
  485.     <left-indent>    +=int(div(tableinfo(arbor,left-indent,5),3))    </>
  486.     <width>    int(sub(div(tableinfo(arbor,width,5),3),10))    </>
  487.     <justification>    tableinfo(arbor,justification)    </>
  488.     <column>    True    </>
  489. </style>
  490.  
  491. <style name="TABLECELL,LIST">
  492.     <space-before>    4    </>
  493.     <break-before>    line    </>
  494. </style>
  495.  
  496. <style name="TABLECELL,P">
  497.     <left-indent>    if(eq(cnum(ancestor()),1), +=10, +=0)    </>
  498.     <break-before>    if(eq(cnum(),1), None, Line)    </>
  499. </style>
  500.  
  501. <style name="TABLEROW">
  502.     <font-weight>    if(gt(cnum(),1),Medium,Bold)    </>
  503.     <space-before>    4    </>
  504.     <space-after>    4    </>
  505.     <vrule>    Children    </>
  506.     <break-before>    Line    </>
  507. </style>
  508.  
  509. <style name="TBLOCK">
  510.     <break-before>    Line    </>
  511. </style>
  512.  
  513. <style name="TEX">
  514.     <font-family>    &std.font    </>
  515.     <font-size>    18    </>
  516.     <space-before>    10    </>
  517.     <space-after>    10    </>
  518.     <hide>    Children    </>
  519.     <break-before>    Line    </>
  520.     <break-after>    Line    </>
  521.     <inline>    equation target=me()    </>
  522. </style>
  523.  
  524. <style name="TEXEQN">
  525.     <icon-position>    Right    </>
  526.     <hide>    Children    </>
  527.     <break-after>    Line    </>
  528.     <script>    ebt-reveal root=me() stylesheet="texeqn.rev"    </>
  529.     <icon-type>    default    </>
  530. </style>
  531.  
  532. <style name="TOCPG">
  533.     <hide>    All    </>
  534. </style>
  535.  
  536. <style name="UL">
  537.     <font-weight>    Bold    </>
  538.     <score>    None    </>
  539. </style>
  540.  
  541. <style name="UNIX">
  542.     <select>    if(gt(index(env(PATH),'/'),0),ME.SHOW,ME.HIDE)    </>
  543. </style>
  544.  
  545. <style name="VALUE">
  546.     <left-indent>    +=110    </>
  547.     <column>    True    </>
  548. </style>
  549.  
  550. <style name="VERBATIM">
  551.     <font-family>    &verbatim.font    </>
  552.     <font-size>    &verbatim.font-size    </>
  553.     <line-spacing>    &verbatim.line-spacing    </>
  554.     <space-before>    if(eq(tag(lsibling()),'VERBATIM'),2,8)    </>
  555.     <space-after>    if(eq(tag(rsibling()),'VERBATIM'),2,8)    </>
  556.     <justification>    verbatim    </>
  557.     <break-before>    Line    </>
  558.     <break-after>    Line    </>
  559. </style>
  560.  
  561. <style name="XREF">
  562.     <font-family>    &hottext.fontfam    </>
  563.     <font-weight>    &hottext.weight    </>
  564.     <font-slant>    &hottext.slant    </>
  565.     <foreground>    &hottext.foreground    </>
  566.     <score>    Under    </>
  567.     <script>    ebt-link root=idmatch(ID, ATTR(RID)) window=new stylesheet="popup.rev"    </>
  568. </style>
  569.  
  570.  
  571.  
  572. </sheet>
  573.