Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jun 2001 16:02:14 -0700 (PDT)
From:      Dima Dorfman <dd@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: doc/share/sgml freebsd.dsl
Message-ID:  <200106022302.f52N2EE68980@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 <link> inside another <link>.  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 <title> or <question> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200106022302.f52N2EE68980>