<!--
    plplotdoc-html.dsl.in: DSSSL customization for the HTML PLplot docs

    Copyright (C) 1994  Geoffrey Furnish and Maurice LeBrun
    Copyright (C) 1999, 2000, 2001, 2002, 2003  Alan W. Irwin
    Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004  Rafael Laboissiere
    Copyright (C) 2003  Joao Cardoso

    Redistribution and use in source (XML DocBook) and "compiled" forms
    (HTML, PDF, PostScript, DVI, TeXinfo and so forth) with or without
    modification, are permitted provided that the following conditions are
    met:

       1. Redistributions of source code (XML DocBook) must retain the
          above copyright notice, this list of conditions and the following
          disclaimer as the first lines of this file unmodified.

       2. Redistributions in compiled form (transformed to other DTDs,
          converted to HTML, PDF, PostScript, and other formats) must
          reproduce the above copyright notice, this list of conditions and
          the following disclaimer in the documentation and/or other
          materials provided with the distribution.

    Important: THIS DOCUMENTATION IS PROVIDED BY THE PLPLOT PROJECT "AS IS"
    AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
    THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
    PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PLPLOT PROJECT BE LIABLE
    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
    CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
    SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
    BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
    WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
    OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,
    EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->

<!DOCTYPE style-sheet PUBLIC "@DSSSL_DTD_PUBID@" [
<!ENTITY dbstyle
  PUBLIC "@DB_SS_HTML_PUBID@"
  CDATA DSSSL>
]>

<style-sheet>
<style-specification use="docbook">
<style-specification-body>

(define %stylesheet% "stylesheet.css")

(element funcprototype
  (make element gi: "TABLE"
	attributes: '(("CLASS" "funcprototype"))
    (make element gi: "TR"
      (make element gi: "TD"
        (process-children)))))

(element variablelist
  (make element gi: "TABLE"
	attributes: '(("CLASS" "variablelist"))
    (make element gi: "TR"
      (make element gi: "TD"
	(make element gi: "DL"
          (process-children))))))

(define %shade-verbatim% #t)

(define ($shade-verbatim-attr$)
  (list
   (list "CLASS" "verbatim")))

(element lineannotation
  (make sequence
    font-posture: 'italic
    (literal "<")
    (process-children)
    (literal ">")))

(element anchor
  (if (equal? "over-under"
              (attribute-string (normalize "id") (current-node)))
    (make sequence
      (make element gi: "SPAN"
	    attributes: '(("CLASS"  "overline"))
        (literal "S"))
      (literal "(")
      (make element gi: "SPAN"
	    attributes: '(("CLASS"  "underline"))
        (literal "freq"))
      (literal ")"))
    (make sequence (literal ""))))

(define %html-ext% ".@HTML_EXT@")

(define %root-filename% "index")
(define html-manifest #t)
(define html-manifest-filename "@HTML_MANIFEST@")
(define use-output-dir #t)
(define %use-id-as-filename% #t)


</style-specification-body>
</style-specification>
<external-specification id="docbook" document="dbstyle">
</style-sheet>
