Use DSSSL's (next-match) function to fall through to next most
specific construction rule instead of duplicating code when we want to conditionally alter the stylsheets. Suggested by: Norman Walsh Referenced in: ISO/IEC 10179:1996(E) p180-181
This commit is contained in:
parent
55d17b252c
commit
a7fe7f4563
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10073
1 changed files with 2 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- $FreeBSD: doc/share/sgml/freebsd.dsl,v 1.41 2001/07/24 11:07:59 dd Exp $ -->
|
||||
<!-- $FreeBSD: doc/share/sgml/freebsd.dsl,v 1.42 2001/07/24 23:09:25 chern Exp $ -->
|
||||
|
||||
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
|
||||
<!ENTITY % output.html "IGNORE">
|
||||
|
@ -249,9 +249,7 @@
|
|||
(if (and (equal? (attribute-string (normalize "role")) "pgpkey")
|
||||
(not withpgpkeys))
|
||||
(empty-sosofo)
|
||||
($verbatim-display$
|
||||
%indent-programlisting-lines%
|
||||
%number-programlisting-lines%)))
|
||||
(next-match)))
|
||||
|
||||
(define %body-start-indent%
|
||||
0pi)
|
||||
|
|
Loading…
Reference in a new issue