You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

aspectjdoc.dsl 4.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
  2. <!ENTITY html-ss PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
  3. <!ENTITY print-ss PUBLIC "-//Norman Walsh//DOCUMENT DocBook Print Stylesheet//EN" CDATA DSSSL>
  4. ]>
  5. <style-sheet>
  6. <!-- Customizations for the HTML version -->
  7. <style-specification id="html" use="html-stylesheet">
  8. <style-specification-body>
  9. ;; Specify the CSS stylesheet to use
  10. (define %stylesheet% "../../style.css")
  11. ;; Suppress Lists of Tables, Examples, ...
  12. (define ($generate-book-lot-list$)
  13. '())
  14. ;; Display only the first two section levels in the table of contents
  15. (define (toc-depth nd)
  16. (if (string=? (gi nd) (normalize "book"))
  17. 2
  18. 1))
  19. ;; Make references be appendices (or chapters), not parts.
  20. (define (en-label-number-format-list)
  21. (list
  22. (list (normalize "set") "1")
  23. (list (normalize "book") "1")
  24. (list (normalize "prefix") "1")
  25. (list (normalize "part") "I")
  26. (list (normalize "chapter") "1")
  27. (list (normalize "appendix") "A")
  28. ;;(list (normalize "reference") "1") ; references-as-chapters
  29. (list (normalize "reference") "A") ; references-as-appendices
  30. (list (normalize "example") "1")
  31. (list (normalize "figure") "1")
  32. (list (normalize "table") "1")
  33. (list (normalize "procedure") "1")
  34. (list (normalize "step") "1")
  35. (list (normalize "refsect1") "1")
  36. (list (normalize "refsect2") "1")
  37. (list (normalize "refsect3") "1")
  38. (list (normalize "sect1") "1")
  39. (list (normalize "sect2") "1")
  40. (list (normalize "sect3") "1")
  41. (list (normalize "sect4") "1")
  42. (list (normalize "sect5") "1")
  43. (list (normalize "section") "1")
  44. ))
  45. ;;; for references-as-appendices
  46. (define (reference-number-sibling-list cmp) (list (normalize "appendix")))
  47. (define (appendix-number-sibling-list cmp) (list (normalize "reference")))
  48. ;;; for references-as-chapters
  49. ;;(define (reference-number-sibling-list cmp) (list (normalize "chapter")))
  50. ;;(define (chapter-number-sibling-list cmp) (list (normalize "reference")))
  51. </style-specification-body>
  52. </style-specification>
  53. <external-specification id="html-stylesheet" document="html-ss">
  54. <!-- Customizations for the print version -->
  55. <style-specification id="print" use="print-stylesheet">
  56. <style-specification-body>
  57. ;; Suppress Lists of Tables, Examples, ...
  58. (define ($generate-book-lot-list$)
  59. '())
  60. ;; Display only the first two section levels in the table of contents
  61. (define (toc-depth nd)
  62. (if (string=? (gi nd) (normalize "book"))
  63. 2
  64. 1))
  65. (define %two-side% #t)
  66. (define bop-footnotes #t) ; doesn't seem to work
  67. ;; Make references be appendices (or chapters), not parts.
  68. (define (en-label-number-format-list)
  69. (list
  70. (list (normalize "set") "1")
  71. (list (normalize "book") "1")
  72. (list (normalize "prefix") "1")
  73. (list (normalize "part") "I")
  74. (list (normalize "chapter") "1")
  75. (list (normalize "appendix") "A")
  76. ;;(list (normalize "reference") "1") ; references-as-chapters
  77. (list (normalize "reference") "A") ; references-as-appendices
  78. (list (normalize "example") "1")
  79. (list (normalize "figure") "1")
  80. (list (normalize "table") "1")
  81. (list (normalize "procedure") "1")
  82. (list (normalize "step") "1")
  83. (list (normalize "refsect1") "1")
  84. (list (normalize "refsect2") "1")
  85. (list (normalize "refsect3") "1")
  86. (list (normalize "sect1") "1")
  87. (list (normalize "sect2") "1")
  88. (list (normalize "sect3") "1")
  89. (list (normalize "sect4") "1")
  90. (list (normalize "sect5") "1")
  91. (list (normalize "section") "1")
  92. ))
  93. ;;; for references-as-appendices
  94. (define (reference-number-sibling-list cmp) (list (normalize "appendix")))
  95. (define (appendix-number-sibling-list cmp) (list (normalize "reference")))
  96. ;;; for references-as-chapters
  97. ;;(define (reference-number-sibling-list cmp) (list (normalize "chapter")))
  98. ;;(define (chapter-number-sibling-list cmp) (list (normalize "reference")))
  99. </style-specification-body>
  100. </style-specification>
  101. <external-specification id="print-stylesheet" document="print-ss">
  102. </style-sheet>
  103. <!-- Local Variables -->
  104. <!-- mode: scheme -->
  105. <!-- End -->