html.dsl 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
  2. <!ENTITY walsh-style PUBLIC "-//Norman Walsh//DOCUMENT DocBook HTML Stylesheet//EN" CDATA DSSSL>
  3. ]>
  4. <style-sheet>
  5. <style-specification id="html" use="docbook">
  6. <style-specification-body>
  7. (define %root-filename% "index") ;; name for the root html file
  8. (define %html-ext% ".html") ;; default extension for html output files
  9. (define %html-prefix% "hue") ;; prefix for all filenames generated (except root)
  10. ; Use the section id as the filename rather than
  11. ; cryptic filenames like x1547.html
  12. (define %use-id-as-filename% #t)
  13. (define %gentext-nav-use-tables%
  14. ;; Use tables to build the navigation headers and footers?
  15. #t)
  16. ; Repeat the section number in each section to make it easier
  17. ; when browsing the doc
  18. (define %section-autolabel% #t)
  19. ; Use CSS to make the look of the documentation customizable
  20. (define %stylesheet% "docbook.css")
  21. (define %stylesheet-type% "text/css")
  22. ; === Rendering ===
  23. (define %admon-graphics% #t) ;; use symbols for Caution|Important|Note|Tip|Warning
  24. (define %admon-graphics-path% "images/");; path to the admonitions graphics
  25. (define %admon-graphics-extension% ".png");; extension for admon graphics
  26. (define %admon-graphic-default-extension% ".png");;
  27. (define %stock-graphics-extension% ".png");;
  28. ; === Books only ===
  29. (define %generate-book-titlepage% #t)
  30. (define %generate-book-toc% #t)
  31. (define ($generate-chapter-toc$) #f) ;; never generate a chapter TOC in books
  32. ; === Articles only ===
  33. (define %generate-article-titlepage% #t)
  34. (define %generate-article-toc% #t) ;; make TOC
  35. (define (toc-depth nd) 5)
  36. </style-specification-body>
  37. </style-specification>
  38. <external-specification id="docbook" document="walsh-style">
  39. </style-sheet>