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: [PATCH] Slowdown with DSSSL stylesheets v1.77 Message-ID: <20020822105128.6937D37B400@hub.freebsd.org>
index | next in thread | raw e-mail
>Submitter-Id: current-users
>Originator: Joseph Koshy
>Organization: The FreeBSD Project
>Confidential: no
>Synopsis: Patch to fix slowdowns of documentation builds
>Severity: serious
>Priority: medium
>Category: docs
>Class: sw-bug
>Release: FreeBSD 4.6-RC i386
>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")
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020822105128.6937D37B400>
