Commit graph

310 commits

Author SHA1 Message Date
Nik Clayton
aefedf6246 Removed white space after <title> and before </title>. Use two search and
replaces

    \s-+</title>  ->  </title>
    <title>\s-+   ->  <title>
1998-10-26 23:50:34 +00:00
Nik Clayton
bf13e1a617 <emphasis remap=..> -> <emphasis>
<literal remap=..>  -> <literal>
<command remap=..>  -> <command>

Or deleted <emphasis ..> altogether in some cases.

More redundant <para>..</para>'s removed.
1998-10-26 23:49:59 +00:00
Nik Clayton
84100bea23 As previous commits, to end of file. 1998-10-26 23:49:18 +00:00
Nik Clayton
78a4c3d87a As previous commit, to line 35973. 1998-10-22 23:07:02 +00:00
Nik Clayton
0e0b8f123f As earlier commits, to line 30118 1998-10-22 23:06:05 +00:00
Nik Clayton
00731dde7d Small changes to keep it validating. 1998-10-22 23:03:53 +00:00
Nik Clayton
9b4366d812 As previous commit, to line 24997 1998-10-22 23:03:04 +00:00
Nik Clayton
3ea0381580 As previous commit, to line 20370. 1998-10-21 22:05:23 +00:00
Nik Clayton
eb020dff6d As previous commit, to line 15126 1998-10-21 22:02:39 +00:00
Nik Clayton
6d7e38c02a As previous commit, now to up to line 11490. 1998-10-21 22:00:19 +00:00
Nik Clayton
cfb82ba9ca With the agreement of the Japanese team, a change in the way I'm doing
things.

I'm now working through from the beginning of the handbook to end,
correcting as I go. I'll commit in chunks of 5,000 lines (or
thereabouts).

Most of the changes fall into the following categories.

  * <emphasis remap=bf> --> <emphasis>

  * Spurious <para>s around <*list>s deleted (but not reformatted)

    "C-c -" in Emacs SGML mode (when the point is on an element starting
    or end tags) will delete that element's starting or end tags.

  * Marked smileys with <!-- smiley --> for possible future deletion

  * Deleting <emphasis>, around

    <term><emphasis>...</emphasis></term> -> <term>...</term>

  * Fine tuning markup choices in some cases

    - <filename>C:</filename>  ->  <devicename>C:</devicename>

  * Extra <note>s here and there.

  * Some <*list>s to <procedure> (and <listitem>s to <step>)

  * ASCII emphasis converted to <emphasis>

    i.e.,   do it like *this*  ->  do it like <emphasis>this</emphasis>

  * <symbol> -> <replaceable>

There are very few whitespace changes, although a few have probably
cropped up. The vast majority of the whitespace changes will happen in
one megacommit, hopefully some time next week.

This does the first 5,000 lines or so.
1998-10-21 21:58:40 +00:00
Nik Clayton
2a882be047 A lot of </para> tags have leading whitespace before them. Remove it. Do
this (in Emacs) by searching for

    \s-+</para>

and replacing with

    </para>

Do this for all occurences *except* where the element immediately before
the </para> is one of <itemizedlist>, <orderedlist>, <variablelist>,
<procedure>. The <para>...</para> wrapping these elements is mostly
redundant, and will be removed later.
1998-10-21 21:53:36 +00:00
Nik Clayton
f0b535db82 Some paragraphs have leading space(s). E.g.,
<para>  There is some leading space here.</para>

Get rid of it, doing an emacs search/replace for

    <para> +\([^ ]\)

and replacing with

    <para>\1

This can be done globally.
1998-10-21 21:52:28 +00:00
Nik Clayton
2d91cbead9 Removed double whitespace from the end of stops -- . , ! ? : ;
Some parts of the handbook had single spaces after stops, some had double
or triple. While the typographical convention for monospaced fonts may
be to use double spaces after them, that doesn't apply here. TeX will
ignore them, as will HTML. If we need them for a plain text version of the
Handbook then the stylesheet / conversion mechanism can insert them
as necessary.

Searching for

   _\([;:!\.\?,]\)  +_

in Emacs and replacing with

   _\1 _

(ignore the '_', they're just to delineate the regexps) does the job
quite nicely. However, you can't do this everywhere, since some of the
double spaces might be in program listings or other literal sections
(e.g., the BSD Copyright), so you need to sit and bounce on the 'y' or
'n' key as appropriate for each occurance of a stop.
1998-10-21 21:51:11 +00:00
Nik Clayton
ce7ee35d24 Finished sweep. If it's white space sensitive (examples, program
listings, PGP signatures...) the white space is now correct. I may
have missed one or two on the way, I'll catch them later.
1998-10-21 21:48:30 +00:00
Nik Clayton
63d609a2b1 Continuing on from the previous commit -- this takes it up to the beginning
of chapter 16. . .
1998-10-16 23:58:33 +00:00
Doug White
f078b5a32a Fix incorrect ccdconfig command line.
Noticed most recently by: Bill Richter <richterb@binkley.wellsfargo.com>
1998-10-14 03:25:31 +00:00
Nik Clayton
1afc0ec7a2 Reviewing the use of <informalexample> and <screen>.
In some cases <informalexample> wasn't appropriate, and the markup was
changed to <programlisting> or other.

In some cases there were spurious <para> elements before and after the
<informalexample>. These were removed.

Reformatted text within <screen> elements because the whitespace *is*
significant.

Added <prompt> and <userinput> elements within <screen> where necessary.

If I spotted inappropriate use of markup within the immediate vicinity
of the <informalexample> elements then I fixed that (mostly the use of
<emphasis remap="...">).

This is part one of these changes -- there's a load of them, and this
goes up to line 11,284 or thereabouts, roughly one third of the way
through.
1998-10-12 21:56:14 +00:00
Nik Clayton
a497ab6892 After an extended absence (quit job, set up company, get girlfriend, get
contract, start contract, work too many hours per day) I'm back working
on the DocBook conversion :-)

Create two new entities, prompt.root and prompt.user. Use these where the
user is shown an OS prompt, to indicate whether they should be a normal
user or do it as root.

Everything else that looks like a prompt (e.g., C:\> which occurs here
and there) is also marked up as <prompt>.
1998-10-01 06:11:44 +00:00
Nik Clayton
775d061074 <ulink url="...man.cgi?...">...</ulink> -> <citerefentry>...</citerefentry> 1998-08-25 09:06:27 +00:00
Nik Clayton
bab9c37eab Fix up some uses of <screen> and the use of <emphasis> elements within
and near it. Most of the time this consisted of replacing the <emphasis>
with <replaceable> or <userinput>. Sometimes <screen> is the wrong element
to use, and will need replacing with something like <programlisting> or
<literallayout>.
1998-08-25 09:01:24 +00:00
Wolfram Schneider
1be10e6538 change footer E-Mail address www -> freebsd-questions 1998-08-24 23:47:10 +00:00
Wolfram Schneider
159c929bcb Converted from HTML to docbook. 1998-08-24 23:43:17 +00:00
Nik Clayton
94c41b401a <emphasis remap=..>...</emphasis> -> <maketarget>...</maketarget> 1998-08-11 08:30:38 +00:00
Nik Clayton
e1b4ca8f64 <emphasis remap=..>...</emphasis> -> <makevar>...</makevar> 1998-08-11 08:29:39 +00:00
Nik Clayton
ef411ca3f4 <emphasis remap=..>...</emphasis> -> <literal>...</literal> 1998-08-11 08:28:42 +00:00
Wolfram Schneider
b5d07eae94 Use relative URLs. 1998-08-09 22:53:56 +00:00
Wolfram Schneider
28bbc4b306 Fix links due repository copy. 1998-08-04 14:24:23 +00:00
Wolfram Schneider
e4acca8a48 Set WEBBASE variable. 1998-08-03 14:44:26 +00:00
Nik Clayton
e51e782dab Convert things that look like man page references (i.e.,
command(number)) from the variety of different existing markup
(which included <command>, <emphasis>, and <ulink>s to man2html
CGI scripts) to a common format, which is

    <citerefentry>
      <refentrytitle>command</refentrytitle>
      <manvolnum>number</manvolnum>
    </citerefentry>

although in the interests of keeping the changes as simple as possible
for the translators, the above was flattened on to one line.
1998-08-03 08:53:53 +00:00
Nik Clayton
52f07f3229 Removed the Makefile and SGML source for this (old and outdated) copy of
my "make world" tutorial.
1998-07-24 13:32:05 +00:00
Nik Clayton
e43d54cdc3 Remove the listing for my "make world" tutorial. Nothing on the site seems
to link to it any more, and the version on my website is currently more
up to date. An AltaVista search to see if any one else had linked to it
didn't turn up anything, so I think this is pretty safe. I'll 'cvs remove'
the directory and its files shortly.
1998-07-24 13:31:04 +00:00
Nik Clayton
fdf212e121 <emphasis remap=bf>...</emphasis> --> <command>...</command> 1998-07-14 13:17:31 +00:00
Nik Clayton
08e30a4fe7 As per chapter 18 of the handbook (which I should know back to front by now)
formally list myself as MAINTAINER.
1998-06-30 09:09:23 +00:00
Nik Clayton
ef83a54132 Use the new freebsd.dsl file when converting the Handbook. 1998-06-30 09:04:12 +00:00
Nik Clayton
d800c05cd2 Fix the use of `` and '' in the section that explains kernel options. Use
'"' to ease cut-n-paste.
1998-06-30 08:43:42 +00:00
Nik Clayton
b91811480c Replace the last few occurences of curly quoted items (`` and '')
with the right markup.
1998-06-29 09:48:32 +00:00
Nik Clayton
f4e931897c <emphasis remapt=it> -> <emphasis> in some cases. 1998-06-29 09:46:44 +00:00
Nik Clayton
1454451780 Mark up domain names, hostnames, IP addresses, netmasks and MAC addresses
using the new <hostid> element (with appropriate roles).
1998-06-29 09:43:53 +00:00
Nik Clayton
4649264b1d More things that should be filenames marked up as such. 1998-06-29 09:38:56 +00:00
Nik Clayton
190d8f54c8 Use the new FreeBSD Doc. Project DTD. 1998-06-29 08:23:33 +00:00
Nik Clayton
a805131f7a A cleanup to get it to validate. Fixed some invalid and missplet markup.
Lots of undefined entities still exist, but they will be fixed with a
later commit.
1998-06-26 11:37:37 +00:00
Nik Clayton
7fe8560d70 Replaced double quotes with appropriate elements. 1998-06-26 11:33:59 +00:00
Joseph Koshy
8a73f30eab Make the fonts tutorial upto-date with respect to TrueType support in FreeBSD.
PR:		docs/7049
Reviewed by:	the -doc list.
Spl-thanks-to: 	CHOI Junho <junker@jazz.snu.ac.kr> for information
		about Asian font support.
1998-06-26 10:47:27 +00:00
Nik Clayton
a053b05e64 Another sweep for "" and "`" (and their closing equivalents), replacing
them with the correct markup.

The only quotes left now are either around items for which I'm not 100%
sure which element to use, or in literal blocks as part of commands the
user types in.
1998-06-19 08:48:37 +00:00
Nik Clayton
b1405c0516 Examine text marked up as <acronym>, alter markup as appropriate. 1998-06-19 08:39:18 +00:00
Wolfram Schneider
3a1e6bb0f4 In the example for mydevselect the switch statement never closes.
nit pick nit pick... :) by Mike Tesch <tesch@malibu.caida.org>
1998-06-18 13:20:41 +00:00
Nik Clayton
cf82da2a44 A quick hack to build the HTML version of the DocBook handbook -- partly
so I can check my progress, partly so that others can offer comments on
the result of the conversion.

See <URL:http://www.freebsd.org/~nik/handbook/book01.htm> for the first
results. Keep in mind that the conversion has not been fine tuned in any
way. That said, comments are welcome.
1998-06-18 09:06:04 +00:00
Nik Clayton
bd9330d762 Swept through looking for explanatory notes and marking them up as 'note'
elements.
1998-06-18 08:42:02 +00:00
Eivind Eklund
082f0d19a9 Document d_poll() and d_select(). 1998-06-12 13:59:49 +00:00
Nik Clayton
0c371d6340 <emphasis remap=tt>...</emphasis> -> <command>...</command> where
necessary.
1998-06-11 08:28:38 +00:00
Nik Clayton
f89eaac31c Converted appropriate occurences of <emphasis remap=tt>...</emphasis> to
<filename>...</filename>

As with most of these conversions, I won't have got all of them in this
first pass.
1998-06-11 08:24:07 +00:00
Nik Clayton
9c96eae1b7 Remove the quotes from constructs like ``<option>...</option>'' 1998-06-09 08:30:31 +00:00
Nik Clayton
5f46042637 Replace `` '' with <command> ... </command> where appropriate. 1998-06-09 08:28:03 +00:00
Nik Clayton
5c3f03274b Replace some (not all) occurences of `` and '' with <quote> and </quote>. 1998-06-09 08:25:59 +00:00
Stefan Bethke
6c1f5aa3b3 Fixed various broken links.
The file:/usr/src/sys/i386/boot/biosboot/README.386BSD is probably false,
but I don't have a checked out tree at hand, and I'd rather would let that
point to some http or ftp source (at least alternatively). Will check later
today.

Submitted by:	"SSC Webmaster" <wwwadmin@ssc.com>
1998-05-19 13:39:50 +00:00
Eivind Eklund
5c0e475e10 Update to refer to rc.conf instead of sysconfig (including updating
the examples).
1998-04-21 00:47:14 +00:00
Wolfram Schneider
35dca46390 Add new variable DOCBOOK_ONLY. If set and not empty, the linuxdoc tutorials
are not build.
1998-04-16 08:53:48 +00:00
Nik Clayton
01a9af0f16 Finished the first sweep for <filename>...</filename>.
My next commit opportunity will probably be this time next Monday. Stay
tuned. . .
1998-04-03 21:21:55 +00:00
Nik Clayton
5d78f265df This is the first commit that starts changing the markup. All these changes
markup something that looks like a filename as <filename>...</filename>,
rather than <emphasis role="tt">...</emphasis> or whatever.

These changes can not be automated, the Japanese team will need to go
through the diffs to see which bits of markup have changed.

I'm halfway through (line 16704). It's been quite instructive, and I'm
learning lots about printing with FreeBSD :-)

Join me tomorrow, when I'll be doing the same thing to the other half of
the Handbook -- same Bat time, same Bat channel.
1998-04-02 21:35:07 +00:00
Nik Clayton
635b4a340e Another automated change. Remove <para></para> from the generated
source, it's a legacy from the LinuxDoc formatting.

[ Rats, I could've sworn I committed this and the README together ]
1998-04-02 19:33:32 +00:00
Nik Clayton
21d6a16c81 Another automated change. Remove <para></para> from the generated
source, it's a legacy from the LinuxDoc formatting.
1998-04-02 19:22:01 +00:00
Nik Clayton
1fc3409e9d Refilled the paragraphs. This is the last big change for a while, the
next batch are fairly small. And they'll have to wait until tomorrow,
as I'm off home.
1998-04-01 19:24:47 +00:00
Nik Clayton
3a23c62491 Re-indented the lines to be more aesthetically pleasing, using XEmacs,
PSGML and a little bit of Lisp. Full details in README.
1998-04-01 19:12:43 +00:00
Nik Clayton
aacf62b851 This is first step in the Handbook migration from the LinuxDoc DTD to
the DocBook DTD. Details on how this was carried out are in the README
file.
1998-04-01 18:25:32 +00:00
Nik Clayton
bfee44da24 As discussed in -doc, this jumpstarts the doc/en/ hierarchy for documentation
in English, to be consistent with the doc/ja/ hierarchy.

Rather than moving the existing FAQ and Handbook over to this directory,
they will be converted to the DocBook DTD, and the results of the conversion
will be committed to this new hierarchy. The existing doc/faq and
doc/handbook can then be removed.

The README file will be used to explain the current state of the DocBook
conversion process for the Handbook, so that people without easy access
to the CVS logs can keep track of what's going on, and lend a hand where
appropriate.

I plan to start converting the Handbook around 1830 BST.
1998-04-01 10:24:11 +00:00
Eivind Eklund
505b82349f Change upgrade-from-source tutorial to point at the Nik Clayton
(the author)'s website as the tutorial is more up-to-date there.

PR:		5806
Submitted by:	Nick Clayton <nik@nothing-going-on.demon.co.uk>
1998-02-21 16:14:40 +00:00
John Fieber
9ac04d647b In the process of re-constructing the FreeBSD web site automatic-update,
clean up the build process a wee bit.

The basic change: instead of cheacking out bits and pieces of the
doc tree into the web build tree, check out the doc tree somewhere
else and put in a few symlinks from the web tree to the doc tree.

On catfish (soon to be hub) for example:

  /usr/local/www/build/doc/...
  /usr/local/www/build/www/...

where

  /usr/local/www/build/www/data/handbook -> ../../doc/handbook

You have to manually put in the symlinks at the moment, but it
works better than the evil CVS hackery.

Also, install with -C to help avoid gratuitous cache-busting due to
gratuitous timestamp twiddling.
1998-01-18 22:27:43 +00:00
Brian Somers
2836922efe Suggest the internal ``alias enable yes'' command as an
alternative to the -alias command line switch.
1997-12-31 12:40:59 +00:00
Brian Somers
d8ed81fa61 Make it clear that "set login" is used to do the expect/send
bit when getting past a `login:' prompt.
1997-12-30 02:47:15 +00:00
John Fieber
bb176de47c Added section on creating ccd(4) volumes. Commands submitted by Stan
Brown (stanb@awod.com).

Submitted by:	Doug White <dwhite@resnet.uoregon.edu>
1997-11-28 21:48:46 +00:00
Wolfram Schneider
99914ca1fa s/jayrich@in.net/jayrich@sysc.com/g 1997-10-24 19:33:28 +00:00
Wolfram Schneider
bea9d4e38c Add links to manpages. 1997-10-03 20:53:38 +00:00
John Fieber
20daeed9a9 Correct Greg Lehey's name. Adjust to use his FreeBSD.ORG email
address.

Submitted by:	dwhite@resnet.uoregon.edu
1997-09-20 05:34:02 +00:00
John Fieber
afe034d8a4 Changes:
. Removed references that dangerously dedicated disks won't boot.  Several
  people on -questions have proved me wrong.
. Add credit to Greg Lemis for the above note.

Submitted by:	Doug White <dwhite@gdi.uoregon.edu>
1997-09-18 13:27:22 +00:00
John Fieber
eb0cfbead0 Patches from the author.
PR:		4512
Submitted by:	Nik Clayton <nik@iii.co.uk>
1997-09-14 03:53:16 +00:00
John Fieber
7ee5688134 New disk formatting tutorial.
Submitted by:	dwhite@resnet.uoregon.edu
1997-09-13 04:24:28 +00:00
John Fieber
613703f518 Ad a <br clear=all> after the image map.
Submitted by:	Christopher G Mann <r3cgm@cdrom.com>
1997-08-29 14:11:29 +00:00
John Fieber
9ef229c6c5 Change C-c C-x to C-x C-.
Submitted by:	Ben <ben@cs.washington.edu>
1997-08-17 17:33:49 +00:00
John Fieber
183ccdcf66 New Improved!
Submitted by:	Annelise Anderson <andrsn@andrsn.stanford.edu>
1997-08-15 17:11:49 +00:00
Masafumi Max NAKANE
451112f9b4 $FreeBSD$ -> $Id$. 1997-07-01 21:38:45 +00:00
Masafumi Max NAKANE
a0125fd74b Add $Id$. 1997-07-01 05:38:16 +00:00
Masafumi Max NAKANE
409fc57f1d Add $Id$.
Also, separate the header section from the body by inserting a blank line.
1997-07-01 03:52:21 +00:00
John Fieber
d98d30388c Link in the new upgrade tutorial. 1997-06-25 16:59:50 +00:00
John Fieber
89fd5bd633 A nifty new tutorial on how to upgrade a system using a "make world".
I have not personally done a "make world" since the 386BSD + patchkit days
so additional reviews from people who have would be good.

Submitted by:	Nik Clayton <nik@blueberry.co.uk>
1997-06-25 16:57:02 +00:00
John Fieber
4a80f8a976 Update header/footer graphics for tutorials. 1997-06-10 12:32:34 +00:00
Paul Richards
f1946547fb Allow DOCS and SUBDIR to be overriden (same fix for building from
new structure as was done for the releases).
1997-05-18 22:39:23 +00:00
John Fieber
f4c83f14f2 Typo.
Submitted by:	Thamer Al-Herbish <shadows@whitefang.com>
1997-04-07 13:51:15 +00:00
John Fieber
47a93628dd Another tutorial converted to Docbook. 1997-03-23 16:27:47 +00:00
Ade Barkah
1e9fe1cd7a Fix URL for IP Aliasing document. 1997-03-19 07:28:32 +00:00
John Fieber
7752550372 Fonts tutorial goes from linuxdoc to docbook. 1997-02-15 18:02:20 +00:00
Jordan K. Hubbard
87e55266d8 Clean up some punctuation hair I noticed.
<code> seems to be not-liked by our HTML conversion right now, so I've
switched over to <tscreen><verb> sections which should accomplish the
same effect (and also look consistent with other examples).
1997-01-21 05:49:54 +00:00
John Fieber
4ad5e9dffe Oops, mh is now an ordinary SUBDIR instead of a DOCSUBDIR. 1997-01-20 14:32:00 +00:00
John Fieber
e7838ea273 Another tutorial goes Docbook.
Add the standard header and footer graphics/links to HTML generated
from Docbook.
1997-01-19 21:30:25 +00:00
Jordan K. Hubbard
6ce0dccea0 This clearly got somewhat mashed on its way through the mail to me.
Try and fix it.
1997-01-19 15:39:16 +00:00
John Fieber
60d3ff5df2 Add some standard comments. 1997-01-19 15:30:34 +00:00
John Fieber
da3d36c3ef Another tutorial switches to docbook. 1997-01-19 15:30:07 +00:00
John Fieber
eddbbfc8c0 The first of the tutorials to be docbookified. 1997-01-18 02:24:21 +00:00
John Fieber
bef570adc9 Remove -white option. 1997-01-18 01:29:46 +00:00
Jordan K. Hubbard
ea56062c34 Steve Sims's "Pedantic PPP Primer" (I thought I comitted this 3 days ago;
whoops!  Sorry, Steve!) tutorial.
Submitted by:	Steve Sims <SimsS@IBM.NET>
1997-01-17 15:01:03 +00:00
John Fieber
0fff620cbf fix url for ip aliasing document. 1997-01-13 18:05:53 +00:00
Mike Pritchard
1f9a9b2730 Avoid the use of contractions and fix some grammar problems
that were revealed.  Note:  I didn't go through all of
the tutorials, so there is still some work to be
done here.

Made mailing addresses consistent with the handbook.

E.g:

freebsd-questions@FreeBSD.ORG

instead of:

questions@freebsd.org
1996-12-31 22:31:13 +00:00
Mike Pritchard
04564716a7 Spelling police. 1996-12-28 23:36:54 +00:00
John Fieber
dbb5820239 We have postscript versions of the tutorials, so make links to them. 1996-11-17 15:21:55 +00:00
John Fieber
d113693038 Use &mdash; where appropriate. 1996-11-17 15:20:46 +00:00
John Fieber
4cd5159141 --- -> &mdash; 1996-11-17 15:09:08 +00:00
John Fieber
76aa45de46 Fix lots of typos, add $Id$s.
Submitted by:	Wolfram "typo police" Schneider <wosch@cs.tu-berlin.de>
1996-10-06 20:17:19 +00:00
John Fieber
2b85ee6295 Cosmetic fixes to page headers -- center the top bar. It looked
pretty hideous if the display was wider than the graphic.
Fix a couple things that looked less than stunning when viewed with Lynx.
1996-10-06 03:49:09 +00:00
John Fieber
31b246f88d Wire up the new sgmlfmt options. 1996-10-06 00:08:28 +00:00
John Fieber
f285ed5bf8 Web pages, may I introduce you to CVS. CVS, these are the web pages.
Yes, this is supposed to be a new top level in the repository.

For the moment any changes to this area must be cleared by myself
or Jordan.  Once the kinks are worked out, the policy will probably
be relaxed.
1996-09-24 17:46:04 +00:00