Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Aug 2002 03:51:28 -0700 (PDT)
From:      Joseph Koshy <jkoshy@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Cc:        freebsd-doc@FreeBSD.org
Subject:   docs/41892: [PATCH] Slowdown with DSSSL stylesheets v1.77
Message-ID:  <20020822105128.6937D37B400@hub.freebsd.org>

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

>Number:         41892
>Category:       docs
>Synopsis:       Patch to fix slowdowns of documentation builds
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Aug 22 04:00:07 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     Joseph Koshy
>Release:        FreeBSD 4.6-RC i386
>Organization:
The FreeBSD Project
>Environment:
System: FreeBSD ob9714.india.hp.com 4.6-RC FreeBSD 4.6-RC #2: Mon Jun 10 11:56:40 IST 2002 root@ob47191.india.hp.com:/home/obj-stable/home/src-stable/sys/OB47191 i386

>Description:

The function $verbatim-line-by-line$ in the DSSSL modular stylesheets
seems to be culprit.

>How-To-Repeat:

>Fix:

This is a workaround patch: don't use user-defined indents for
screen and programlisting elements.

Index: share/sgml/freebsd.dsl
===================================================================
RCS file: /home/ncvs/doc/share/sgml/freebsd.dsl,v
retrieving revision 1.64
diff -u -r1.64 freebsd.dsl
--- share/sgml/freebsd.dsl	27 Feb 2002 04:56:44 -0000	1.64
+++ share/sgml/freebsd.dsl	22 Aug 2002 11:21:36 -0000
@@ -600,11 +600,15 @@
       (define %may-format-variablelist-as-table%
         #f)
       
-      (define %indent-programlisting-lines%
-        "    ")
- 
-      (define %indent-screen-lines%
-        "    ")
+;;;
+;      Defining a user defined indent triggers a slowdown 
+;      in the DSSSL Modular stylesheets v1.77.
+;      (define %indent-programlisting-lines%
+;        "    ")
+; 
+;      (define %indent-screen-lines%
+;        "    ")
+;;;
 
       (define (article-titlepage-recto-elements)
         (list (normalize "title")
>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?20020822105128.6937D37B400>