Re-indented the lines to be more aesthetically pleasing, using XEmacs,

PSGML and a little bit of Lisp. Full details in README.
This commit is contained in:
Nik Clayton 1998-04-01 19:12:43 +00:00
parent aacf62b851
commit 3a23c62491
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=2634
4 changed files with 112474 additions and 112446 deletions

View file

@ -46,3 +46,31 @@ FreeBSD-doc mailing list) if they have specific questions.
% cvs add handbook.sgml
% cvs commit
2. handbook.sgml was loaded into XEmacs 20.30 (straight from the ports
collection) and sgml-mode was turned on. My .emacs file contains the
following hook:
(add-hook 'sgml-mode-hook
(function
(lambda()
(setq sgml-omittag nil)
(setq sgml-indent-data t))))
This configures psgml to not omit any tags that the DTD lists as
omittable, and to indent data in the same way that markup is indented.
The following function was pasted into the *scratch* buffer, and then
"M-x eval-current-buffer" was run.
(defun sgml-indent-buffer
"Indents the current buffer, one line at a time"
(interactive "*")
(save-excursion
(goto-char (point-min))
(while (= (forward-line 1) 0)
(sgml-indent-or-tab))))
In the handbook.sgml buffer, the point was placed on the first character
of the first line, and "M-x sgml-indent-buffer" was run.
The changes were then committed.

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff