Commit Graph

26 Commits

Author SHA1 Message Date
John Fieber
aeae2333f4 Make -hdr and -ftr options (to include arbitrary HTML at the
top and bottom of output) work with docbook.
1997-01-19 21:21:18 +00:00
John Fieber
3697c8d8a6 Do the Right Thing(TM) with source files that have extensions
other than .sgml.
1997-01-18 01:48:04 +00:00
John Fieber
0e224fbc11 Add rudimentary docbook support:
sgmlfmt -d docbook -f html myfile.docb

Depreciate undocumented -white option (now default).
1997-01-17 23:38:40 +00:00
John Fieber
3a3cc0fe3e Close PR #2453 (illegal tags in HTML <TITLE> element)
2.2 fodder
1997-01-17 21:44:45 +00:00
Wolfram Schneider
da1ff3cb8a Sort cross references. 1997-01-15 23:25:55 +00:00
Jordan K. Hubbard
1130b656e5 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
John Fieber
ad8b2071ac Some new options for the FreeBSD web pages. These are for the moment
not officially documented and are subject to change.

 -hdr and -ftr
	Specify files to insert at the top and bottom of every
	page.  This is similar in result to the existing -ssi
	option but everything happens at build time.  If the
	string @@UPDATED@@ appears in either file it will be
	replaced with "Updated" followed by the current date.

-white
	Make the pages black text on white background.
1996-10-05 23:38:55 +00:00
John Fieber
d0d723ef05 When starting HTML generation, remove any pre-existing link file. 1996-10-01 16:23:39 +00:00
John Fieber
ac82fcdd23 Add a signal handler to clean up files if an INT, HUP, or QUIT
is received.
1996-09-29 19:42:51 +00:00
John Fieber
ab963092e5 Remove some stray debugging code. 1996-09-29 18:27:12 +00:00
John Fieber
dc3fa61ed3 Change the behavior of the -links option. Instead of actually
creating a symbolic link from foo.html (from <label name="foo">) to
the numbered file, a shell script is built that can be used to make
the links at a later time (read: after installation in the target
directory).
1996-09-29 17:34:05 +00:00
John Fieber
eec8e73501 Document the -f ps option.
Suggested by:	Jordan Hubbard <jkh@freebsd.org>
1996-09-09 14:15:28 +00:00
John Fieber
49ee17cbb8 This now uses instant(1) instead of sgmlsasp(2).
It now supports the latin1 and koi8-r groff devices for output.
1996-09-08 20:40:52 +00:00
Mike Pritchard
85cf659a76 Use the .Fx macro where appropriate. 1996-08-23 00:57:08 +00:00
John Fieber
95bb3b9747 Fix a few HTML 2.0 violations. 1996-05-15 17:05:17 +00:00
John Fieber
7b36c4a152 Make sure there is a linefeed at the end of generated HTML files. 1996-03-26 13:26:53 +00:00
Mike Pritchard
4a8d02835c Fix a bunch of spelling errors in a bunch of man pages. 1996-01-30 13:52:50 +00:00
John Fieber
5a288d129a This is now perl5 friendly.
Make server side include hooks for headers and footers controlled
by a command line switch and document the feature.
1995-10-07 22:28:34 +00:00
John Fieber
3b2d7cc9ec Lay some hooks for server side includes in HTML output. Specifically,
hooks for custom headers and footers.
1995-09-22 18:24:32 +00:00
John Fieber
d8c5d59031 Command line arguments are now gathered by NewGetOpt. Command line
syntax is slightly changed:  -format is now -f format.

New option: -i name
This is a switch to control marked sections in SGML documents.  Useful
for multi-lingual documents.
1995-08-31 00:14:02 +00:00
John Fieber
918bad6d52 New Improved navigation controls. 1995-08-29 01:02:12 +00:00
John Fieber
771a16a90f Make the -ascii option generate filename.ascii rather than filename.txt 1995-08-25 23:26:49 +00:00
Bruce Evans
9c0dc173cc Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
John Fieber
bbba09f659 New feature: a -links option, when generating html output, creates
symbolic links for each cross reference label in the source file, thus
allowing external documents to link to a more or less fixed target,
rather that the numbered files which can change whenever the target
document is modified.

Bug fix: warn when a reference is made to a nonexistant label.
1995-06-30 15:19:12 +00:00
John Fieber
1190b57788 Remove extraneous empty paragraphs (<p></p>) from the output. 1995-05-18 03:01:28 +00:00
John Fieber
317be71920 The program that turns sgml files (tagged according to the linuxdoc
DTD) into HTML, LaTeX or ascii.  (the latter is still pretty rough)
Reviewed by:	rgrimes
1995-05-09 23:58:06 +00:00