From owner-cvs-all Sat Jun 2 16: 2:17 2001
Delivered-To: cvs-all@freebsd.org
Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21])
by hub.freebsd.org (Postfix) with ESMTP
id 353EF37B423; Sat, 2 Jun 2001 16:02:14 -0700 (PDT)
(envelope-from dd@FreeBSD.org)
Received: (from dd@localhost)
by freefall.freebsd.org (8.11.1/8.11.1) id f52N2EE68980;
Sat, 2 Jun 2001 16:02:14 -0700 (PDT)
(envelope-from dd)
Message-Id: <200106022302.f52N2EE68980@freefall.freebsd.org>
From: Dima Dorfman
Date: Sat, 2 Jun 2001 16:02:14 -0700 (PDT)
To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject: cvs commit: doc/share/sgml freebsd.dsl
X-FreeBSD-CVS-Branch: HEAD
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk
List-ID:
List-Archive: (Web Archive)
List-Help: (List Instructions)
List-Subscribe:
List-Unsubscribe:
X-Loop: FreeBSD.ORG
dd 2001/06/02 16:02:13 PDT
Modified files:
share/sgml freebsd.dsl
Log:
The problem is with nested links; quite frankly, they don't work.
This isn't normally an issue because no one in their right mind will
stick a inside another . However, we have entities which
create links, such as &man.*;, &a.*;, etc. It's nice to be able to
use these inside links. To deal with this..
Introduce a create-link procedure which will be used to replace (make
element gi: "A" ...) constructs. This procedure creates a link as
specified only if the can-link-here procecure (described below)
returns #t. If the latter returns #f, it will print the link text
without the link.
The (also new) can-link-here procedure returns #t if it determines
that it's okay to make a link in the current context, and #f
otherwise. Currently, it does its check by figuring out whether the
current context is within a or tag. This is not
ideal because it doesn't catch all cases, but it's a lot better than
nothing. As the other cases are discovered, this procedure can be
modified.
Revision Changes Path
1.31 +38 -4 doc/share/sgml/freebsd.dsl
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message