Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Aug 1995 23:53:02 -0500 (EST)
From:      John Fieber <jfieber@grendel.csc.smith.edu>
To:        chuckr@Glue.umd.edu (Chuck Robey)
Cc:        doc@freebsd.org
Subject:   Re: how to do this?
Message-ID:  <199508290453.XAA11178@fieber-john.campusview.indiana.edu>
In-Reply-To: <Pine.SUN.3.91.950829004155.12626K-100000@latte.eng.umd.edu> from "Chuck Robey" at Aug 29, 95 00:45:12 am

next in thread | previous in thread | raw e-mail | index | archive | help
Chuck Robey writes:
> The sgmlfmt page says the sgmlfmt command takes two sets of flags, 
> -format and -links, but doesn't explain what the -links are..  Could you 
> either explain, or tell me I don't need them?

Huh?  It should say something.  The -link option didn't exist in
the version that came with 2.0.5.  Anyway...

     -links  When used with the -html option, for each <label id="foo"> in the
             document source sgmlfmt generates a symbolic link foo.html point-
             ing to the numbered .html file containing the reference.  Since
             the number of the file containing a particular section can change
             when a document is modified, this provides a convenient hook by
             which separate documents can provide links into another document
             without the links becoming invalid when the target document is
             modified.  When creating a symbolic link, any occurence of a
             slash (/) in label is replaced with percent (%), while any oc-
             curence of a space is replaced with an underscore (_).

Its very useful if you want to put these documents in a WWW
server and have links between them.  

-john

== jfieber@cs.smith.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?199508290453.XAA11178>