From owner-freebsd-doc Wed Aug 21 22:50:11 2002 Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBCC637B400 for ; Wed, 21 Aug 2002 22:50:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67BEB43E72 for ; Wed, 21 Aug 2002 22:50:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7M5o2JU099833 for ; Wed, 21 Aug 2002 22:50:02 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7M5o2gx099832; Wed, 21 Aug 2002 22:50:02 -0700 (PDT) Received: by hub.freebsd.org (Postfix, from userid 729) id 9F36737B400; Wed, 21 Aug 2002 22:45:48 -0700 (PDT) Message-Id: <20020822054548.9F36737B400@hub.freebsd.org> Date: Wed, 21 Aug 2002 22:45:48 -0700 (PDT) From: Joseph Koshy Reply-To: Joseph Koshy To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/41879: [patch] minor cleanup to DOCROOT/share/sgml/freebsd.dsl Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >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 "(??)"))))) ]]> >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message