ldp.dsl now generated by configure
authoroes <oes@users.sourceforge.net>
Fri, 3 May 2002 14:36:28 +0000 (14:36 +0000)
committeroes <oes@users.sourceforge.net>
Fri, 3 May 2002 14:36:28 +0000 (14:36 +0000)
doc/source/ldp.dsl.in [new file with mode: 0644]

diff --git a/doc/source/ldp.dsl.in b/doc/source/ldp.dsl.in
new file mode 100644 (file)
index 0000000..3065904
--- /dev/null
@@ -0,0 +1,380 @@
+<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [\r
+<!ENTITY % html "IGNORE">\r
+<![%html;[\r
+<!ENTITY % print "IGNORE">\r
+<!ENTITY docbook.dsl SYSTEM "@DKPREFIX@/html/docbook.dsl" CDATA dsssl>\r
+]]>\r
+<!ENTITY % print "INCLUDE">\r
+<![%print;[\r
+<!ENTITY docbook.dsl SYSTEM "@DKPREFIX@/print/docbook.dsl" CDATA dsssl>\r
+]]>\r
+]>\r
+\r
+<!--\r
+\r
+;; borrowed from the LDP stylesheet, with modifications, HB.\r
+;; Added support for css 03/20/02, and other mods.\r
+\r
+-->\r
+\r
+<style-sheet>\r
+\r
+<style-specification id="print" use="docbook">\r
+<style-specification-body> \r
+\r
+;; ==============================\r
+;; customize the print stylesheet\r
+;; ==============================\r
+;;\r
+;; see http://docbook.sourceforge.net/projects/dsssl/doc/print.html\r
+;;\r
+\r
+(define %generate-part-toc-on-titlepage%\r
+  ;; Should the Part TOC appear on the Part title page?\r
+  #f)\r
+\r
+(define %generate-article-toc-on-titlepage%\r
+  ;; Should the Article TOC appear on the Article title page?\r
+  #f)\r
+\r
+(define %indent-screen-lines%\r
+  ;; Indent lines in a 'Screen'?\r
+  #t)\r
+\r
+(define %callout-fancy-bug% \r
+  ;; Use fancy callout bugs?\r
+  #t)\r
+\r
+(define %chap-app-running-heads% \r
+  ;; Generate running headers and footers on chapter-level elements?\r
+  #t)\r
+\r
+(define %chap-app-running-head-autolabel% \r
+  ;; Put chapter labels in running heads?\r
+  #t)\r
+\r
+;; this is necessary because right now jadetex does not understand\r
+;; symbolic entities, whereas things work well with numeric entities.\r
+(declare-characteristic preserve-sdata?\r
+  "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"\r
+  #f)\r
+\r
+;; put the legal notice in a separate file\r
+(define %generate-legalnotice-link%\r
+  #t)\r
+\r
+;; use graphics in admonitions, and have their path be "stylesheet-images"\r
+;; NO: they do not yet look very good\r
+(define %admon-graphics-path%\r
+  "./stylesheet-images/")\r
+\r
+(define %admon-graphics%\r
+  #f)\r
+\r
+(define %funcsynopsis-decoration%\r
+  ;; make funcsynopsis look pretty\r
+  #t)\r
+\r
+(define %generate-article-toc% \r
+  ;; Should a Table of Contents be produced for Articles?\r
+  ;; If true, a Table of Contents will be generated for each 'Article'.\r
+  #t)\r
+\r
+(define %generate-part-toc%\r
+  #t)\r
+\r
+;;(define %shade-verbatim%\r
+;;  #t)\r
+\r
+(define %section-autolabel% #t)\r
+  ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)\r
+  \r
+;; HB changed TOC depth to 3 levels.\r
+(define (toc-depth nd)\r
+  3)\r
+\r
+;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
+\r
+(define %body-attr% \r
+  ;; REFENTRY body-attr\r
+  ;; PURP What attributes should be hung off of BODY?\r
+  ;; DESC\r
+  ;; A list of the the BODY attributes that should be generated.\r
+  ;; The format is a list of lists, each interior list contains the\r
+  ;; name and value of a BODY attribute.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  (list\r
+   (list "BGCOLOR" "#EEEEEE")\r
+   (list "TEXT" "#000000")\r
+   (list "LINK" "#0000FF")\r
+   (list "VLINK" "#840084")\r
+   (list "ALINK" "#0000FF")))\r
+\r
+(define %stylesheet%\r
+  ;; REFENTRY stylesheet\r
+  ;; PURP Name of the stylesheet to use\r
+  ;; DESC\r
+  ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to\r
+  ;; suppress the stylesheet LINK.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  "../p_doc.css")\r
+\r
+(define %stylesheet-type%\r
+  ;; REFENTRY stylesheet-type\r
+  ;; PURP The type of the stylesheet to use\r
+  ;; DESC\r
+  ;; The type of the stylesheet to place in the HTML LINK TAG.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  "text/css")\r
+\r
+(define %css-liststyle-alist%\r
+  ;; REFENTRY css-liststyle-alist\r
+  ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS\r
+  ;; DESC\r
+  ;; If '%css-decoration%' is turned on then the list-style-type property of\r
+  ;; list items will be set to reflect the list item style selected in the\r
+  ;; DocBook instance.  This associative list maps the style type names used\r
+  ;; in your instance to the appropriate CSS names.  If no mapping exists,\r
+  ;; the name from the instance will be used.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  '(("bullet" "disc")\r
+    ("box" "square")))\r
+\r
+(define %css-decoration%\r
+  ;; REFENTRY css-decoration\r
+  ;; PURP Enable CSS decoration of elements\r
+  ;; DESC\r
+  ;; If '%css-decoration%' is turned on then HTML elements produced by the\r
+  ;; stylesheet may be decorated with STYLE attributes.  For example, the\r
+  ;; LI tags produced for list items may include a fragment of CSS in the\r
+  ;; STYLE attribute which sets the CSS property "list-style-type".\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  #t)\r
+\r
+;; swa1\r
+\r
+;; This seems to have no affect\r
+(define %generate-article-titlepage-on-separate-page% #t)\r
+\r
+(define %body-start-indent%\r
+  ;; Default indent of body text\r
+  2pi)\r
+\r
+(define %para-indent-firstpara%\r
+  ;; First line start-indent for the first paragraph\r
+  0pt)\r
+\r
+;; swa2\r
+\r
+(define %para-indent%\r
+  ;; First line start-indent for paragraphs (other than the first)\r
+  0pt)\r
+\r
+(define %block-start-indent%\r
+  ;; Extra start-indent for block-elements\r
+  2pt)\r
+\r
+;;Define distance between paragraphs\r
+(define %para-sep% \r
+ (/ %bf-size% 2.0))\r
+\r
+;; with swa2 no effects\r
+\r
+;; swa3\r
+\r
+;;Define distance between block elements (figures, tables, etc.).\r
+(define %block-sep% \r
+ (* %para-sep% 1.0))\r
+;; (* %para-sep% 2.0))\r
+\r
+(define %hyphenation%\r
+  ;; Allow automatic hyphenation?\r
+  #t)\r
+\r
+(define %left-margin% 5pi)\r
+(define %right-margin% 5pi)\r
+(define %top-margin% 5pi)\r
+(define %bottom-margin% 5pi)\r
+(define %footer-margin% 2pi)\r
+(define %header-margin% 2pi)\r
+\r
+(define %line-spacing-factor% 1.3)\r
+  ;; Factor used to calculate leading\r
+  ;; The leading is calculated by multiplying the current font size by the \r
+  ;; '%line-spacing-factor%'. For example, if the font size is 10pt and\r
+  ;; the '%line-spacing-factor%' is 1.1, then the text will be\r
+  ;; printed "10-on-11".\r
+\r
+(define %head-before-factor% \r
+  ;; Factor used to calculate space above a title\r
+  ;; The space before a title is calculated by multiplying the font size\r
+  ;; used in the title by the '%head-before-factor%'.\r
+;;  0.75)\r
+  0.5)\r
+\r
+(define %head-after-factor% \r
+  ;; Factor used to calculate space below a title\r
+  ;; The space after a title is calculated by multiplying the font size used\r
+  ;; in the title by the '%head-after-factor%'.\r
+  0.5)\r
+\r
+(define %input-whitespace-treatment% 'collapse)\r
+\r
+(define ($generate-article-lot-list$)\r
+  ;; Which Lists of Titles should be produced for Articles?\r
+  (list ))\r
+\r
+\r
+</style-specification-body>\r
+</style-specification>\r
+\r
+\r
+<!--\r
+;; ===================================================\r
+;; customize the html stylesheet; borrowed from Cygnus\r
+;; at http://sourceware.cygnus.com/ (cygnus-both.dsl)\r
+;; ===================================================\r
+-->\r
+\r
+<style-specification id="html" use="docbook">\r
+<style-specification-body> \r
+\r
+;; this is necessary because right now jadetex does not understand\r
+;; symbolic entities, whereas things work well with numeric entities.\r
+(declare-characteristic preserve-sdata?\r
+  "UNREGISTERED::James Clark//Characteristic::preserve-sdata?"\r
+  #f)\r
+\r
+;; put the legal notice in a separate file\r
+(define %generate-legalnotice-link%\r
+  #t)\r
+\r
+;; use graphics in admonitions, and have their path be "stylesheet-images"\r
+;; NO: they do not yet look very good\r
+(define %admon-graphics-path%\r
+  "./stylesheet-images/")\r
+\r
+(define %admon-graphics%\r
+  #f)\r
+\r
+(define %funcsynopsis-decoration%\r
+  ;; make funcsynopsis look pretty\r
+  #t)\r
+\r
+(define %html-ext%\r
+  ".html")\r
+\r
+(define %generate-article-toc% \r
+  ;; Should a Table of Contents be produced for Articles?\r
+  ;; If true, a Table of Contents will be generated for each 'Article'.\r
+  #t)\r
+\r
+(define %root-filename%\r
+  ;; The filename of the root HTML document (e.g, "index").\r
+  "index")\r
+\r
+(define %generate-part-toc%\r
+  #t)\r
+\r
+(define %shade-verbatim%\r
+  #t)\r
+\r
+(define %use-id-as-filename%\r
+  ;; Use ID attributes as name for component HTML files?\r
+  #t)\r
+\r
+(define %graphic-default-extension% \r
+  "gif")\r
+\r
+(define %section-autolabel% #t)\r
+  ;; For enumerated sections (1.1, 1.1.1, 1.2, etc.)\r
+  \r
+;; HB changed TOC depth to 3 levels.\r
+(define (toc-depth nd)\r
+  3)\r
+\r
+;; HB added 03/20/02, see dbparam.dsl ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;\r
+\r
+(define %body-attr% \r
+  ;; REFENTRY body-attr\r
+  ;; PURP What attributes should be hung off of BODY?\r
+  ;; DESC\r
+  ;; A list of the the BODY attributes that should be generated.\r
+  ;; The format is a list of lists, each interior list contains the\r
+  ;; name and value of a BODY attribute.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  (list\r
+   (list "BGCOLOR" "#EEEEEE")\r
+   (list "TEXT" "#000000")\r
+   (list "LINK" "#0000FF")\r
+   (list "VLINK" "#840084")\r
+   (list "ALINK" "#0000FF")))\r
+\r
+(define %stylesheet%\r
+  ;; REFENTRY stylesheet\r
+  ;; PURP Name of the stylesheet to use\r
+  ;; DESC\r
+  ;; The name of the stylesheet to place in the HTML LINK TAG, or '#f' to\r
+  ;; suppress the stylesheet LINK.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  "../p_doc.css")\r
+\r
+(define %stylesheet-type%\r
+  ;; REFENTRY stylesheet-type\r
+  ;; PURP The type of the stylesheet to use\r
+  ;; DESC\r
+  ;; The type of the stylesheet to place in the HTML LINK TAG.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  "text/css")\r
+\r
+(define %css-liststyle-alist%\r
+  ;; REFENTRY css-liststyle-alist\r
+  ;; PURP Map DocBook OVERRIDE and MARK attributes to CSS\r
+  ;; DESC\r
+  ;; If '%css-decoration%' is turned on then the list-style-type property of\r
+  ;; list items will be set to reflect the list item style selected in the\r
+  ;; DocBook instance.  This associative list maps the style type names used\r
+  ;; in your instance to the appropriate CSS names.  If no mapping exists,\r
+  ;; the name from the instance will be used.\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  '(("bullet" "disc")\r
+    ("box" "square")))\r
+\r
+(define %css-decoration%\r
+  ;; REFENTRY css-decoration\r
+  ;; PURP Enable CSS decoration of elements\r
+  ;; DESC\r
+  ;; If '%css-decoration%' is turned on then HTML elements produced by the\r
+  ;; stylesheet may be decorated with STYLE attributes.  For example, the\r
+  ;; LI tags produced for list items may include a fragment of CSS in the\r
+  ;; STYLE attribute which sets the CSS property "list-style-type".\r
+  ;; /DESC\r
+  ;; AUTHOR N/A\r
+  ;; /REFENTRY\r
+  #t)\r
+\r
+\r
+</style-specification-body>\r
+</style-specification>\r
+\r
+<external-specification id="docbook" document="docbook.dsl">\r
+\r
+</style-sheet>\r