Date: Mon, 20 Nov 1995 21:22:23 -0500 (EST) From: John Fieber <jfieber@indiana.edu> To: Ollivier Robert <roberto@keltia.freenix.fr> Cc: FreeBSD documentation list <doc@freebsd.org> Subject: Re: sgmlfmt naming scheme Message-ID: <Pine.BSF.3.91.951120211740.12290A-100000@fieber-john.campusview.indiana.edu> In-Reply-To: <199511202223.XAA03434@keltia.freenix.fr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 20 Nov 1995, Ollivier Robert wrote: > John, I have a problem with sgmlfmt's output file naming scheme. I've put > link in the FAQ to several section in the handbook but as the filenames are > automatically generated by sgmlfmt, there is no garantee that the link will > be always pointing at the right thing... Or have I missing something ? Yup. With the -links option to sgmlfmt, if a <label id="foo"> occurs, and it corresponds with mydocument-98.html, a symbolic link will be generated foo.html -> mydocument-98.html. The numbering of the latter will change, but foo.html will always point to the right one. The hitch I ran into is that install can't install a symbolic link. I'm going to have to re-think how it is done, but for the WWW server it works. In the handbook directory, do a make FORMATS=html SGMLOPTS="-links" and see what links are there. Alternately, grep for <label> tags. -john == jfieber@indiana.edu =========================================== == http://fieber-john.campusview.indiana.edu/~jfieber ============
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.951120211740.12290A-100000>