Turn off the rule beneath the chapter title if the chapter is an

index.  Our index is layed out differently (two columns) so the rule
overlaps text.  This only affects the NICE_HEADERS option for print
output.

PR:		29403
Submitted by:	Peter Johnson <peter@bilogic.org>
This commit is contained in:
Murray Stokely 2001-08-03 19:11:16 +00:00
parent b5a03159ab
commit cb76e5c4e0
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10148

View file

@ -1,4 +1,4 @@
<!-- $FreeBSD: doc/en_US.ISO8859-1/share/sgml/freebsd.dsl,v 1.11 2001/07/20 02:53:08 murray Exp $ --> <!-- $FreeBSD: doc/en_US.ISO8859-1/share/sgml/freebsd.dsl,v 1.12 2001/07/28 03:00:03 murray Exp $ -->
<!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [ <!DOCTYPE style-sheet PUBLIC "-//James Clark//DTD DSSSL Style Sheet//EN" [
<!ENTITY freebsd.dsl PUBLIC "-//FreeBSD//DOCUMENT DocBook Language Neutral Stylesheet//EN" CDATA DSSSL> <!ENTITY freebsd.dsl PUBLIC "-//FreeBSD//DOCUMENT DocBook Language Neutral Stylesheet//EN" CDATA DSSSL>
@ -154,11 +154,13 @@
(make sequence (make sequence
(process-node-list subtitles)))) (process-node-list subtitles))))
(make rule (if (equal? (gi) (normalize "index"))
length: 475pt (empty-sosofo)
display-alignment: 'start (make rule
space-before: (* (HSIZE 5) %head-before-factor%) length: 475pt
line-thickness: 0.5pt)))) display-alignment: 'start
space-before: (* (HSIZE 5) %head-before-factor%)
line-thickness: 0.5pt)))))
(element authorgroup (element authorgroup
(empty-sosofo)) (empty-sosofo))