home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1998 May / Pcwk5b98.iso / Borland / Cplus45 / BC45 / DRMISC.PAK / STYSHEET.DTD < prev    next >
Text File  |  1995-08-29  |  2KB  |  72 lines

  1. <!-- Document Type Definition for Style Sheets to
  2.   drive DynaText, by Electronic Book Technologies, Inc.
  3.  
  4.   Copyright 1990 Electronic Book Technologies, Inc.
  5. -->
  6.  
  7. <!-- This marked section defines the tag names in their full forms,
  8.    for use by SGML tools that can handle NAMELEN > 8.
  9. -->
  10. <![ IGNORE [
  11. <!ENTITY % dirs
  12.    "based-on">
  13. <!ENTITY % fonts
  14.    "font-family|font-size|font-weight|font-slant|font|foreground">
  15. <!ENTITY % verts
  16.    "vertical-offset|break|break-after|
  17.    space-before|space-after|line-spacing">
  18. <!ENTITY % horiz
  19.    "first-indent|left-indent|right-indent|width|justify|truncate">
  20. <!ENTITY % tables
  21.    "table-data|eval">
  22. <!ENTITY % hypers
  23.    "marginalize|icon|script|hide-text">
  24. <!ENTITY % tocs
  25.    "section-level|title">
  26. <!ENTITY % props
  27.    "%dirs;|%fonts;|%verts;|%horiz;|%tables;|%hypers;|%tocs;">
  28. ]]>
  29.  
  30. <!-- This marked section defines the tag names in short forms,
  31.    for use by SGML tools that are limited to NAMELEN = 8.
  32.    DynaText will recognize either set of tag names synonymously;
  33.    the names are purely truncations, so the rule is easy to remember.
  34.  
  35.    A SED script is available to convert between long and short forms.
  36. -->
  37. <![ INCLUDE [
  38. <!ENTITY % dirs
  39.    "based-on">
  40. <!ENTITY % fonts
  41.    "font-fam|font-siz|font-wei|font-sla|font|foregrou">
  42. <!ENTITY % verts
  43.    "vertical|break|break-af|space-be|space-af|line-spa">
  44. <!ENTITY % horiz
  45.    "first-in|left-ind|right-in|width|justify|truncate">
  46. <!ENTITY % tables
  47.    "table-da|eval">
  48. <!ENTITY % hypers
  49.    "marginal|icon|script|hide-tex">
  50. <!ENTITY % tocs
  51.    "section-|title">
  52. <!ENTITY % props
  53.    "%dirs;|%fonts;|%verts;|%horiz;|%tables;|%hypers;|%tocs;">
  54. ]]>
  55.  
  56. <!-- ************************************* -->
  57.  
  58. <!ELEMENT sheet    - - (style*)>
  59. <!ATTLIST sheet
  60.      version    CDATA #IMPLIED
  61.      date    CDATA #IMPLIED
  62.      author    CDATA #IMPLIED>
  63.  
  64. <!ELEMENT style    - - (%props;)*>
  65. <!ATTLIST style
  66.      name    CDATA #REQUIRED>
  67.  
  68. <!ELEMENT (%props;)    - - CDATA>
  69.  
  70. <!-- End of DTD for EBT style sheets. -->
  71.  
  72.