File: qtiplot.dsl

package info (click to toggle)
qtiplot 0.9.8.9-18
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 36,424 kB
  • sloc: cpp: 129,847; ansic: 5,781; python: 861; makefile: 60
file content (87 lines) | stat: -rw-r--r-- 2,379 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<!--
	Style sheet for producing the HTML version of the Qtiplot manual using OpenJade
	(http://openjade.sourceforge.net) and the Docbook stylesheets from
	http://docbook.sourceforge.net/projects/dsssl
-->
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [

<!-- Path to main Docbook->html stylesheet. You have to adapt this to your installation. -->
<!ENTITY docbook-html-stylesheet SYSTEM "/usr/share/sgml/docbook/stylesheet/dsssl/modular/html/docbook.dsl" CDATA DSSSL>

<!-- Stylesheet function library for creating Windows HTML help and Qt Assistant profiles. -->
<!ENTITY docbook-help-stylesheet SYSTEM "./help.dsl" CDATA DSSSL>
]>

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

(define %html-ext% 
	;; extension of HTML output files
	".html")

(define %root-filename%
	;; name of main HTML file (without extension)
	"index")

(define %stylesheet%
	;; CSS stylesheet to be used in HTML pages
	"qtiplot.css")

(define %css-decoration% #t)

(define %body-attr% 
	(list))

(define use-output-dir
	#t)

(define %output-dir%
	;; directory to place all output files in (if not specified on the command line)
	"html")

(define %adp-filename%
 ;; File name of Qt Assistant profile (without extension).
  "qtiplot")

(define %htmlhelp-filename%
	;; Base name of HTML-Help output fiels (.chm, .hhp, .hhc and .hhk)
	"qtiplot")

;(define (chunk-skip-first-element-list)
;  ;; forces the Table of Contents on separate page
;  '())

(define %document-name%
	"QtiPlot_manual_en")
(define %document-title%
	"QtiPlot Help Browser")
(define %adp-icon%
	"./common/qtiplot_logo.png")
(define %adp-startpage%
	"./index.html")
(define %adp-aboutpage%
	"./index.html")
(define %adp-aboutmenutext%
	"Handbook")

;; Overrides the root node definition (taken from docbook.dsl, v1.76)
;; This is a hack to add generation of HTML help and Qt Assistant files.

(root
 (make sequence
   (process-children)
   (with-mode manifest
     (process-children))
   (if html-index
       (with-mode htmlindex
	 (process-children))
       (empty-sosofo))
;;   (make-htmlhelp-project)
   (make-qt-assistant-project)
	))
</style-specification-body>
</style-specification>
<external-specification id="docbook-html" document="docbook-html-stylesheet">
<external-specification id="docbook-help" document="docbook-help-stylesheet">
</style-sheet>