File: dbmsgset.dsl

package info (click to toggle)
docbook-stylesheets 1.49-1
  • links: PTS
  • area: main
  • in suites: potato
  • size: 7,576 kB
  • ctags: 33
  • sloc: perl: 444; xml: 115; makefile: 98; sh: 27
file content (49 lines) | stat: -rw-r--r-- 1,326 bytes parent folder | download
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
;; $Id: dbmsgset.dsl,v 1.2 1998/05/13 17:30:21 nwalsh Exp $
;;
;; This file is part of the Modular DocBook Stylesheet distribution.
;; See ../README or http://www.berkshire.net/~norm/dsssl/
;;

;; ======================== ERROR MESSAGES (ETC.) =======================

(element msgset (process-children))

(element msgentry ($informal-object$))

(element msg
  (make display-group
	font-weight: 'bold
	font-family-name: %mono-font-family%
	(process-children)))

(element msgmain (process-children))

(element msgsub
  (make display-group
	start-indent: (+ (inherited-start-indent) (ILSTEP))
	(process-children)))

(element msgrel (empty-sosofo))

(element msgtext (process-children))

(element msginfo ($indent-para-container$))

(define ($genhead-para$ headtext)
  (make paragraph
	space-before: %para-sep%
	space-after: %para-sep%
	(make sequence
	      font-weight: 'bold
	      (literal
	        (string-append headtext ": ")))
	(process-children)))

(element msglevel ($genhead-para$ (gentext-element-name (current-node))))
(element msgorig ($genhead-para$ (gentext-element-name (current-node))))
(element msgaud ($genhead-para$ (gentext-element-name (current-node))))

(element msgexplan ($indent-para-container$))
(element (msgexplan title) ($runinhead$))
(element (msgexplan para) (make sequence (process-children)))