Date: Wed, 30 Apr 2003 04:29:11 +0900 (JST) From: Hiroki Sato <hrs@eos.ocn.ne.jp> To: shamrock@cypherpunks.to Cc: freebsd-docs@freebsd.org Subject: Re: SGML tag to link to other sections? Message-ID: <20030430.042911.45262085.hrs@eos.ocn.ne.jp> In-Reply-To: <002201c30e80$bfbca580$6601a8c0@VAIO650> References: <20030430.031614.59733918.hrs@eos.ocn.ne.jp> <002201c30e80$bfbca580$6601a8c0@VAIO650>
next in thread | previous in thread | raw e-mail | index | archive | help
"Lucky Green" <shamrock@cypherpunks.to> wrote in <002201c30e80$bfbca580$6601a8c0@VAIO650>: shamrock> Thanks. I will use this xref if I can't find a tag that will make the shamrock> words "Mandatory Access Control" the hyperlink. Any ideas? Hmmm, currently it is not possible. If the <sect1> is defined with xreflabel attr like <sect1 id="mac" xreflabel="Mandatory Access Control">, the label appears as <a href="...">Mandatory Access Control</a>. Or if the <title> is defined with id attr like <sect1 id="mac">...<title id="mac-title">Mandatory Access Control (MAC)</title>, <xref linkend="mac" endterm="mac-title"> is rendered as what you want. I think we can accept the latter as a new convention if doc writers want to use a section title as the hyperlink label. Or, do you think it is something that breaks consistency? -- | Hiroki SATO <hrs@eos.ocn.ne.jp> / <hrs@FreeBSD.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030430.042911.45262085.hrs>