Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Aug 2001 19:45:12 -0700 (PDT)
From:      Peter Johnson <freebsd@bilogic.org>
To:        freebsd-gnats-submit@freebsd.org
Subject:   docs/29657: NICE_HEADERS conflicts with authorgroup generation
Message-ID:  <200108130245.f7D2jCX63749@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         29657
>Category:       docs
>Synopsis:       NICE_HEADERS conflicts with authorgroup generation
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 12 19:50:01 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Peter Johnson
>Release:        4.3-STABLE
>Organization:
>Environment:
FreeBSD matrix.bilogic.org 4.3-STABLE FreeBSD 4.3-STABLE #6: Sun Jul  1 20:41:50 CDT 2001     peter@matrix.bilogic.org:/usr/obj/usr/src/sys/WORKSTATION  i386

>Description:
When NICE_HEADERS=1 is used in combination with a chapter that has a 
chapterinfo section (which triggers the authorgroup stuff), the author
information is placed with parts overlapping the NICE_HEADERS line.  The
problem appears to be caused by no spacing after the NICE_HEADERS rule
output.
>How-To-Repeat:
Combine NICE_HEADERS=1, print output, and a chapter with a chapterinfo
section.
>Fix:
I fixed it by adding a space-after: parameter to the NICE_HEADERS make
rule, as the patch below does.  There's probably a better way to do
this, and this may have unintended side-effects (I haven't tested it
very much).  Plus, I'm not exactly sure what HSIZE # I should use, I
chose 1 arbitrarily.
--- doc/en_US.ISO8859-1/share/sgml/freebsd.dsl	Sun Aug 12 21:11:05 2001
+++ doc/en_US.ISO8859-1/share/sgml/freebsd.dsl.patched	Sun Aug 12 21:42:34 2001
@@ -160,6 +160,7 @@
 	  length: 475pt
 	  display-alignment: 'start
 	  space-before: (* (HSIZE 5) %head-before-factor%)
+	  space-after: (* (HSIZE 1) %head-after-factor%)
 	  line-thickness: 0.5pt)))))
 
       (element authorgroup
>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200108130245.f7D2jCX63749>