Date: Wed, 21 Aug 2002 22:45:48 -0700 (PDT) From: Joseph Koshy <jkoshy@FreeBSD.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: docs/41879: [patch] minor cleanup to DOCROOT/share/sgml/freebsd.dsl Message-ID: <20020822054548.9F36737B400@hub.freebsd.org>
index | next in thread | raw e-mail
>Number: 41879
>Category: docs
>Synopsis: cleanup to DOCROOT/share/sgml/freebsd.dsl
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Wed Aug 21 22:50:01 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
(with textproc/docproj installed)
>Description:
We don't need a project specific version of procedure $callout-bug$;
setting %callout-graphics-extension% to ".png" ``just works''
with v1.73 of dsssl-docbook-modular.
>How-To-Repeat:
>Fix:
Patch supplied.
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 06:10:42 -0000
@@ -174,7 +174,7 @@
;; Use graphics in callouts?
#t)
- (define %callout-graphics-ext%
+ (define %callout-graphics-extension%
;; The extension to use for callout images. This is an extension
;; to the stylesheets, they do not support this functionality
;; natively.
@@ -184,32 +184,6 @@
;; Path to callout graphics
"./imagelib/callouts/")
- ;; Redefine $callout-bug$ to support the %callout-graphic-ext%
- ;; variable.
- (define ($callout-bug$ conumber)
- (let ((number (if conumber (format-number conumber "1") "0")))
- (if conumber
- (if %callout-graphics%
- (if (<= conumber %callout-graphics-number-limit%)
- (make empty-element gi: "IMG"
- attributes: (list (list "SRC"
- (root-rel-path
- (string-append
- %callout-graphics-path%
- number
- %callout-graphics-ext%)))
- (list "HSPACE" "0")
- (list "VSPACE" "0")
- (list "BORDER" "0")
- (list "ALT"
- (string-append
- "(" number ")"))))
- (make element gi: "B"
- (literal "(" (format-number conumber "1") ")")))
- (make element gi: "B"
- (literal "(" (format-number conumber "1") ")")))
- (make element gi: "B"
- (literal "(??)")))))
]]>
<!-- Two-sided Print output ....................................... -->
>Release-Note:
>Audit-Trail:
>Unformatted:
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?20020822054548.9F36737B400>
