/usr/share/sgml/docbook/stylesheet/dsssl/modular/print/dbmath.dsl is in docbook-dsssl 1.79-6ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 88 89 90 91 | ;; $Id: dbmath.dsl,v 1.2 2003/01/15 08:24:23 adicarlo Exp $
;;
;; This file is part of the Modular DocBook Stylesheet distribution.
;; See ../README or http://docbook.sourceforge.net/projects/dsssl/
;;
(define %equation-autolabel% #f)
(element equation
;; derived from $semiformal-object$
(if (node-list-empty? (select-elements (children (current-node))
(normalize "title")))
($informal-object$ %informalequation-rules% %informalequation-rules%)
($formal-object$ %informalequation-rules% %informalequation-rules%)))
(element (equation title) (empty-sosofo))
(element (equation alt) (empty-sosofo))
(element (equation graphic)
(make paragraph
space-before: 0pt
space-after: 0pt
($img$ (current-node) #t)))
(element informalequation
;; Derived from informal-object
(let ((rule-before? %informalequation-rules%)
(rule-after? %informalequation-rules%))
(if %equation-autolabel%
(make display-group
space-before: %block-sep%
space-after: %block-sep%
start-indent: (+ %block-start-indent%
(inherited-start-indent))
keep-with-next?: (object-title-after)
(if rule-before?
(make rule
orientation: 'horizontal
line-thickness: %object-rule-thickness%
display-alignment: 'center
space-after: (/ %block-sep% 2)
keep-with-next?: #t)
(empty-sosofo))
(make table
(make table-column
column-number: 1
width: (- %text-width%
(+ (inherited-start-indent)
(inherited-end-indent)
1in)))
(make table-column
column-number: 2
width: 1in)
(make table-row
(make table-cell
cell-row-alignment: 'center
start-indent: 0pt
end-indent: 0pt
(process-children))
(make table-cell
cell-row-alignment: 'center
quadding: 'end
start-indent: 0pt
end-indent: 0pt
(make paragraph
(literal "(" (element-label (current-node)) ")")))))
(if rule-after?
(make rule
orientation: 'horizontal
line-thickness: %object-rule-thickness%
display-alignment: 'center
space-before: (/ %block-sep% 2)
keep-with-previous?: #t)
(empty-sosofo)))
($informal-object$ rule-before? rule-after?))))
(element (informalequation alt) (empty-sosofo))
(element (informalequation graphic)
(make paragraph
space-before: 0pt
space-after: 0pt
quadding: 'end
($img$ (current-node) #t)))
(element inlineequation ($inline-object$))
(element (inlineequation alt) (empty-sosofo))
(element (inlineequation graphic)
(make sequence
($img$ (current-node) #f)))
|