From owner-freebsd-doc Mon Jul 24 14:54:25 2000 Delivered-To: freebsd-doc@freebsd.org Received: from scientia.demon.co.uk (scientia.demon.co.uk [212.228.14.13]) by hub.freebsd.org (Postfix) with ESMTP id 200A637BDFF; Mon, 24 Jul 2000 14:53:57 -0700 (PDT) (envelope-from ben@scientia.demon.co.uk) Received: from strontium.scientia.demon.co.uk ([192.168.91.36] ident=exim) by scientia.demon.co.uk with esmtp (Exim 3.15 #1) id 13GpZC-0002Ti-00; Mon, 24 Jul 2000 22:15:14 +0100 Received: (from ben) by strontium.scientia.demon.co.uk (Exim 3.15 #1) id 13GpZB-0008tH-00; Mon, 24 Jul 2000 22:15:13 +0100 Date: Mon, 24 Jul 2000 22:15:13 +0100 From: Ben Smithurst To: Nik Clayton Cc: Alexey Zelkin , freebsd-doc@FreeBSD.ORG Subject: Re: docs/20056: Bad SGML in the "@ sign" entry of the FAQ Message-ID: <20000724221513.G28657@strontium.scientia.demon.co.uk> References: <200007211630.JAA10561@freefall.freebsd.org> <20000721225213.B51580@ark.cris.net> <20000722064931.M64132@strontium.scientia.demon.co.uk> <20000724193521.B57387@catkin.nothing-going-on.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000724193521.B57387@catkin.nothing-going-on.org> Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nik Clayton wrote: > ------------ 8< ------------ 8< ------------ 8< ------------ 8< ------------ > > (element citerefentry > (let ((ref (select-elements (descendants (current-node)) > (normalize "refentrytitle"))) > (vol (select-elements (descendants (current-node)) > (normalize "manvolnum")))) > (make element gi: "a" > attributes: (list (list "href" (string-append > "http://www.FreeBSD.org/cgi/man.cgi?" > (data (node-list-first ref)) > "(" > (data (node-list-first vol)) ")"))) > (process-children)))) > ------------ 8< ------------ 8< ------------ 8< ------------ 8< ------------ Works nicely, except in the case I mentioned in my other mail, where a &man.foo entity is already used within a link, so you get this:
Q: Why does top(1) show very little free memory even when I have very few programs running?
Should these rare cases just be changed, or can you add some more magic to that stuff to make the link not be created if the text is already within a link? -- Ben Smithurst / ben@FreeBSD.org / PGP: 0x99392F7D FreeBSD Documentation Project / To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message