Commit graph

161 commits

Author SHA1 Message Date
Daniel C. Sobral
942e68d5f1 Back out my changes. 1999-02-08 16:06:02 +00:00
Bill Fumerola
da0a95e7ea Back out dcs's addition+fixup. This file isn't open for business yet. 1999-02-07 20:36:39 +00:00
Daniel C. Sobral
442c7c3dce After careful consideration, and lots of examining files, I decided
to resort the non-sorted entry of my "neighborhood", as well as myself.
I still have lingering doubts about the wiseness of moving David Greenman
around, though...

Also, changed other files to include myself as well. And that ends the
Committers 101. I hope I passed. :-) Now, to break the world. Err, "conquer"
the world. :-)
1999-02-04 12:36:13 +00:00
Daniel C. Sobral
24a0ebabcf After careful consideration, and lots of examining files, I decided
to resort the non-sorted entry of my "neighborhood", as well as myself.
I still have lingering doubts about the wiseness of moving David Greenman
around, though...

Committers 101. I hope I passed. :-) Now, to break the world. Err, "conquer"
the world. :-)
1999-02-04 12:35:18 +00:00
Daniel C. Sobral
cfb6d7fbe8 Committers 101, first lesson. I noticed that, at least around my
"neighborhood", the entries are sorted by names, not entities.
1999-02-04 12:02:41 +00:00
Wolfram Schneider
dd1887114b Space typo from last commit. 1999-02-01 18:50:51 +00:00
Wolfram Schneider
13e6340484 Moved from www/en/docs.sgml: FreeBSD 2.2.7 Installation Details for Newbies 1999-02-01 18:49:56 +00:00
Nik Clayton
7321b94099 Suddenly realised none of the
<informalexample>
    <screen>
      ...
    </screen>
  </informalexample>

need the <informalexample> element. So remove it. Simple search and
replace does the trick.
1999-01-30 23:35:05 +00:00
Nik Clayton
844ba003e7 * Add a new FORMAT, 'tar'. If it's used then ${SRC} is bundled up in to
${DOC}.tar. This honours the compression flags, so you can have it
  generate .gz, .zip, etc.

* Instead of only building compressed versions when running the "install"
  target they are now built for the "all" target as well.
1999-01-30 00:10:35 +00:00
Nik Clayton
c73e1d5b63 Merged changes between LINUXDOC_2_DOCBOOK_2 and LINUXDOC_2_DOCBOOK_3
from doc/handbook.

File                 From  ->  To      Merged to files...
---------------------------------------------------------------
anoncvs.sgml         1.1   ->  1.2     cutting-edge/chapter.sgml
authors.sgml         1.128 ->  1.135   authors.ent
bibliography.sgml    1.37  ->  1.38    bibliography/chapter.sgml
contrib.sgml         1.329 ->  1.338   staff/chapter.sgml
current.sgml         1.24  ->  1.25    cutting-edge/chapter.sgml
cvsup.sgml           1.40  ->  1.41    cutting-edge/chapter.sgml
eresources.sgml      1.51  ->  1.53    eresources/chapter.sgml
firewalls.sgml       1.20  ->  1.21    security/chapter.sgml
handbook.sgml        1.95  ->  1.96    handbook.sgml
history.sgml         1.25  ->  1.27    introduction/chapter.sgml
kernelconfig.sgml    1.32  ->  1.33    kernelconfig/chapter.sgml
linuxemu.sgml        1.24  ->  1.25    linuxemu/chapter.sgml
mail.sgml[1]         1.12  ->  1.13    mail/chapter.sgml
mirrors.sgml         1.99  ->  1.101   mirrors/chapter.sgml
pgpkeys.sgml         1.28  ->  1.30    pgpkeys/chapter.sgml
porting.sgml         1.118 ->  1.124   ports/chapter.sgml
ports.sgml           1.33  ->  1.35    ports/chapter.sgml
stable.sgml          1.18  ->  1.19    cutting-edge/chapter.sgml
submitters.sgml      1.261 ->  1.277   contrib/chapter.sgml

[1] Typo fix is another typo! "wait" should be "want"
1999-01-29 22:34:03 +00:00
Nik Clayton
98529a3bbf Add "-V html-manifest" to index.html target rules, so that it's only
generated for this target, and not the generic .html target as well.

Additional "-" before TeX and PDFTeX calls, which also return non-zero
status codes (almost called them errorlevels, how long since I last wrote
a .bat file?)
1999-01-27 23:39:47 +00:00
Nik Clayton
c3d01106d6 Add frame="none" attribute to two <informaltable>s.
Minor whitespace change within a <screen>.
1999-01-27 23:35:54 +00:00
Nik Clayton
829eb2cc4b Pull a footnote out of an <informaltable> and into a <note> at the end
of the table, to work around a JadeTeX bug.
1999-01-27 23:32:48 +00:00
Nik Clayton
eaafdbfe54 Added a link to Mark Ovens' FreeBSD NTFS tutorial.
PR: docs/9687
Submitted by: Mark Ovens <marco@uk.radan.com>
1999-01-27 00:13:53 +00:00
Nik Clayton
2ae76bc6be Add missing </para> from previous commit by dwhite.
doc/en/handbook/ is still not ready for prime time. Please no commits
in here. Thanks.
1999-01-27 00:02:23 +00:00
Nik Clayton
04ecd1203c Currently the first two calls to tex return a non-zero status code. This
is expected, so prefix them with "-" so make(1) ignores it.
1999-01-25 22:00:40 +00:00
Nik Clayton
99901d638a Move doc/sgml/* to doc/share/sgml/*, so it better follows the layout of
Doc. Proj. related ports under $PREFIX/share. Update en/handbook/Makefile
with the new paths.

Didn't seem worthwhile to do a repository copy for only three files moved.
1999-01-25 21:58:59 +00:00
Nik Clayton
7e09961472 The JadeTeX macros appear to have problems dealing with footnotes in tables.
Rather than delay any longer for a fix from Sebastien Rahtz (my TeX is not
up to fixing it, natch) replace footnotes in tables with <note>...</note>
after the table.

When the JadeTeX macros DTRT, this change can be reverted.
1999-01-20 22:15:52 +00:00
Nik Clayton
8c0c06682a Extra support in the Makefile. Now builds html, html-split, rtf, ps, and pdf
versions (modulo bugs in JadeTex). "make install" and "make clean" now also
seem to do the right thing.

Extensive documentation included, comments welcomed.
1999-01-03 21:19:03 +00:00
Nik Clayton
dd921ed279 Added output.html and output.print as parameter entities to freebsd.dtd.
Default to "IGNORE", you should set them to "INCLUDE" by whatever
mechanism your SGML parser supports as necessary (i.e., Jade's -i
flag).

Added redefinitions for some ISO entities that aren't understood by
most web browsers. Since this is for HTML output only, wrap it in a
%output.html; marked section.

Use these marked sections to put both print and HTML stylesheets in one
.dsl file (freebsd.dsl). The print stylesheet now understands about the
elements that have been added to DocBook (and won't try and render them
in red).

Updated Makefile to use output.html and output.print on the command
line to Jade, instead of the earlier "html" and "print.

Note: producing .tex (and thence .ps and .pdf) versions of the Handbook
is broken. The Handbook tickles several bugs in the JadeTeX macros.
Sebastian Rahz, the JadeTeX author, knows about this, and is working on
fixing them.
1998-12-20 20:33:49 +00:00
Doug White
61635727dc Add entry for the 3Com xl driver.
Submitted by:	"Sameer R. Manek" <manek@ecst.csuchico.edu>
1998-12-15 08:08:23 +00:00
Doug White
69fc7c6ce4 Update maximum number of pty's from 64 to 256.
Submitted by:	 "Sameer R. Manek" <manek@ecst.csuchico.edu>
1998-12-15 08:03:14 +00:00
Nik Clayton
9fc2fa5197 * Added boothelp.sgml
* Merged in changes between tags LINUXDOC_2_DOCBOOK and
  LINUXDOC_2_DOCBOOK_2. The merges are as follows (if a file isn't listed
  here it's because there are no changes to merge since the
  LINUXDOC_2_DOCBOOK tag was put down).

  File                 From  ->  To      Merged to files...
  ---------------------------------------------------------------
  authors.sgml         1.118 ->  1.128   authors.ent
  boothelp.sgml        Added
  contrib.sgml         1.312 ->  1.329   staff/chapter.sgml
  eresources.sgml      1.50  ->  1.51    eresources/chapter.sgml
  handbook.sgml        1.91  ->  1.95    handbook.sgml
  mirrors.sgml         1.92  ->  1.99    mirrors/chapter.sgml
  porting.sgml         1.112 ->  1.118   [1]
  ports.sgml           1.31  ->  1.33    ports/chapter.sgml
  printing.sgml        1.22  ->  1.23    printing/chapter.sgml
  stable.sgml          1.17  ->  1.18    cutting-edge/chapter.sgml [2]
  submitters.sgml      1.246 ->  1.261   contrib/chapter.sgml

  [1] Merged changes. Part of these changes are the migration of the
      "Making a port" section from contrib/chapter.sgml to
      ports/chapter.sgml

  [2] Merged some changes. 1.18 demotes some of the section headings so
      that the -stable section will appear on one HTML page. This is not
      the case with the DocBook stylesheets we're using, so wasn't
      necessary. For the time being, the -stable headings will follow
      the -current headings. This can be revisited after the migration
      is complete.

  There will be one more merge pass once the Handbook in doc/handbook/ is
  frozen, and then a pass to reformat (refill) most of the lines in the
  Handbook so it's more aesthetically pleasing. The SGML parsers don't
  care, but it makes it easier to follow the structure when editing the
  documents.

* Removed

      sgml-shorttag: nil
      sgml-minimize-attributes: max

  from the Emacs local variables at the bottom of each file. It didn't
  do quite what I was expecting.
1998-12-10 20:44:09 +00:00
Nik Clayton
80780d78ab Support making multiple output formats from the Handbook (RTF, HTML,
Text, PS, PDF)
1998-12-10 20:42:26 +00:00
Bill Fumerola
e317b4bfd8 64 cylinders -> 64 sectors/track
PR:		docs/8820
Submitted by:	Ming-I Hsieh <PA@FreeBSD.ee.ntu.edu.tw>
1998-11-30 23:14:55 +00:00
Doug White
56f3748106 Amend HP text filter to use HP eject page command instead of formfeed (and
possibly wasting a page).
Submitted by:	 Stephen Montgomery-Smith <stephen@showme.missouri.edu>
1998-11-18 21:50:47 +00:00
Nik Clayton
276c9344d5 Merged in the following changes. This was done by taking diffs between the
tags LINUXDOC_2_DOCBOOK_START and LINUXDOC_2_DOCBOOK from doc/handbook/.

Note that the LINUXDOC_2_DOCBOOK tag is not necessarily at the HEAD of
the file. So some files won't show changes because changes were applied
after I laid down the LINUXDOC_2_DOCBOOK tag.

Not everything was merged. In some cases, URLs had been shortened;

    http://www.freebsd.org/docproj/

becomes

     ../docproj/

This is a mistake, since users browsing the Handbook on their own machine
can't be expected to have links like this work. Of course, for mirrors,
they'll end up pointing back to the main site. For the mean time, do
nothing -- this will need an entity defined to reference the base URL
of the FreeBSD site, individual mirrors can set this as necessary.

Notice how some files (on the left) are merged to the same file (on
the right). This is because the new Handbook file structure is organised
on DocBook chapter lines.

Files with no revision number in the "From" column didn't exist when I
started the conversion.

File                 From  ->  To      Merged to files...
---------------------------------------------------------------
anoncvs.sgml               ->  1.1     cutting-edge/chapter.sgml
authors.sgml         1.93  ->  1.118   authors.ent
backups.sgml               ->  1.4     backups/chapter.sgml
bibliography.sgml    1.33  ->  1.37    bibliography/chapter.sgml
contrib.sgml         1.274 ->  1.312   staff/chapter.sgml
ctm.sgml             1.22  ->  1.23    cutting-edge/chapter.sgml
cvsup.sgml           1.36  ->  1.40    cutting-edge/chapter.sgml
disks.sgml                 ->  1.3     disks/chapter.sgml
eresources.sgml      1.39  ->  1.50    eresources/chapter.sgml
firewalls.sgml       1.19  ->  1.20    security/chapter.sgml
handbook.sgml        1.83  ->  1.91    handbook.sgml
history.sgml         1.24  ->  1.25    introduction/chapter.sgml
install.sgml         1.65  ->  1.67    install/chapter.sgml
isdn.sgml            1.12  ->  1.15    advanced-networking/chapter.sgml
kerberos.sgml        1.12  ->  1.13    security/chapter.sgml
kernelconfig.sgml    1.31  ->  1.32    kernelconfig/chapter.sgml
kerneldebug.sgml     1.17  ->  1.19    kerneldebug/chapter.sgml
linuxemu.sgml        1.22  ->  1.24    linuxemu/chapter.sgml
memoryuse.sgml       1.11  ->  1.12    internals/chapter.sgml
mirrors.sgml         1.80  ->  1.92    mirrors/chapter.sgml
nutshell.sgml        1.14  ->  1.15    introduction/chapter.sgml
pgpkeys.sgml         1.25  ->  1.28    pgpkeys/chapter.sgml
policies.sgml        1.16  ->  1.18    policies/chapter.sgml
porting.sgml         1.93  ->  1.112   contrib/chapter.sgml
ports.sgml           1.29  ->  1.31    ports/chapter.sgml
printing.sgml        1.21  ->  1.22    printing/chapter.sgml
relnotes.sgml        1.24  ->  1.28    introduction/chapter.sgml  [1]
submitters.sgml      1.161 ->  1.246   contrib/chapter.sgml
synching.sgml        1.12  ->  1.13    cutting-edge/chapter.sgml
userppp.sgml         1.28  ->  1.30    ppp-and-slip/chapter.sgml

[1] A chunk of relnotes.sgml is in an IGNORED marked section. Why?

Submitted by:	A bunch (~ 50%) of merging done by Charles A. Wimmer
                (cawimm@FreeBSD.ORG), rest by Nik.
1998-11-12 01:26:39 +00:00
Nik Clayton
80e2e9e012 The beginnings of a friendlier Makefile. Doesn't do much except let you
build the HTML and RTF formats.
1998-11-12 01:20:35 +00:00
Archie Cobbs
973885e8a3 Add myself to the list of developers (in doc/handbook and doc/en/handbook). 1998-11-09 17:42:36 +00:00
Nik Clayton
ecebc455bf Fixed up front matter on the Handbook;
- Remove the <bookbiblio> element, it's not needed

  - Added a <copyright> element and sub-elements. Based on the CVS logs
    the Handbook dates back to 1995.

  - Changed the <xref> to a <link> in the abstract.

  - Reformatted abstract to be neater (sorry translators, but it's only
    one paragraph).

This lets the stylesheets generate a nice front page.
1998-11-07 15:05:49 +00:00
Nik Clayton
6ff34ef882 Replace
<xref linkend="target" remap="foo">

with

    <link linkend="target">foo</link>

Internal links within the Handbook now do the right thing.
1998-11-05 23:28:48 +00:00
Nik Clayton
93f20f9382 Removed "sgml-declaration" line from Emacs variables.
I blame the keyboard pixies for putting it in there when I wasn't
looking.
1998-11-05 20:22:38 +00:00
Nik Clayton
97d01a3567 Managed to miss adding this file somehow. It's had the Emacs local variables
added to the bottom.
1998-11-04 22:40:58 +00:00
Nik Clayton
607a3f4ed3 Added missing "/chapter" to advanced-networking entity definition. 1998-11-04 22:38:06 +00:00
Nik Clayton
97bffaedea Fix line 125 of kerneldebug/chapter.sgml, & -> &amp; 1998-11-03 23:49:40 +00:00
Nik Clayton
6a33e87af9 Add <!ENTITY rel.current CDATA "2.2.6"> to handbook.sgml, from
r1.83 of doc/handbook/handbook.sgml
1998-11-03 23:48:03 +00:00
Nik Clayton
457b40e56b Take version 1.8 of doc/handbook/lists.sgml, apply the same search/replace
as to authors.ent, and add an ENTITY line to handbook.sgml.
1998-11-03 23:46:32 +00:00
Nik Clayton
5a9b07f407 Removed the prompt.* entities from handbook.sgml and added them to
freebsd.dtd.
1998-11-03 23:40:13 +00:00
Nik Clayton
8572d2aff8 Added authors.ent. This is v1.93 of doc/handbook/authors.sgml, with
these changes;

 1. Remove '<tt>' and '</tt>'.

 2. Search/replace

      \s-+<htmlurl url='mailto:\([^']+\)'\s-+name='[^']+'>

    with

       <email>\1</email>

    (there's a leading space before <email>)

Added an ENTITY line to handbook.sgml to use the new entities.
1998-11-03 23:35:41 +00:00
Nik Clayton
3494b32030 Added
<!--
     Local Variables:
     mode: sgml
     sgml-indent-data: t
     sgml-omittag: nil
     sgml-shorttag: nil
     sgml-always-quote-attributes: t
     sgml-minimize-attributes: max
     End:
-->

to handbook.sgml
1998-11-03 23:31:21 +00:00
Nik Clayton
336215d4e6 Added chapter.decl, which contains a declaration for a DocBook chapter.
Added

<!--
     Local Variables:
     mode: sgml
     sgml-declaration: "../chapter.decl"
     sgml-indent-data: t
     sgml-omittag: nil
     sgml-shorttag: nil
     sgml-always-quote-attributes: t
     sgml-minimize-attributes: max
     sgml-parent-document: ("../handbook.sgml" "part" "chapter")
     End:
-->

to the bottom of each chapter.sgml file so that Emacs can do the right
thing.
1998-11-03 23:28:30 +00:00
Nik Clayton
2207769022 Split the handbook into individual files. Each chapter is in a file called
chapter.sgml in a directory named according to the value the id
attribute on that chapter.

Added chapters.ent, which lists the entities for each chapter.

Updated handbook.sgml to use these entities.
1998-11-03 23:17:06 +00:00
Nik Clayton
05dc329be3 Added values to the 'id' attribute for <chapter>s which don't have them. 1998-11-03 23:07:57 +00:00
Nik Clayton
14a83515e5 * \s-+</programlisting> replaced with </programlisting> globally.
* Fixup use of <symbol> with more appropriate element

  * Fixup wrong occurence of $Id$

  * Fixup references to 'make' variables, and strim off the surrounding
    &#36;{...}, it can be added back by the stylesheet at presentation time.

  * More insertions or deletions of <para>...</para> as appropriate.

And with this commit, ladies and gentlemen, we're almost there as far as
the DocBook conversion goes. I still need to:

  - Split the big handbook.sgml into its constituent files and directories.

  - Sort out the files that will contain entities, and put in the correct
    SGML to use them.

  - Merge in the changes that have happened to doc/handbook over the past
    7 or so months.

  - Build the Makefile framework and supporting apps to do .txt, .ps, .rtf
    and .pdf conversions.

But the mind numbingly tedious stuff is over. Of course, there's
always more to do (like the whole bibliography section should be marked
up as a bibliography) and I'm putting together the "This is how the
handbook should be marked up" document as well. Oh, and organising my
notes on how the Handbook could be re-arranged. But apart from that,
it's done :-)
1998-10-28 23:42:39 +00:00
Nik Clayton
de52a66a3c <quote> -> &rdquo;
</quote> -> &ldquo;
1998-10-26 23:54:18 +00:00
Nik Clayton
0992677d94 Where kernel options ("options INET" for example) are listed, wrap them
in <literal>...</literal>.
1998-10-26 23:53:48 +00:00
Nik Clayton
dd7b7abb9d <foo
id="bar">
       ...

changed to

    <foo id="bar">
       ...

Before people complain that "Hang on, now you can't find out what the
allocated ID values are with a simple 'grep'" I'll say that's not a
problem. I plan to introduce a target in the Makefile (probably
something like 'handbook.id' which will automatically generate this
list doing a proper SGML parse.
1998-10-26 23:53:22 +00:00
Nik Clayton
e27aad9d1f Fixup erroneous or extraneous <para>...</para> elements. 1998-10-26 23:52:48 +00:00
Nik Clayton
a02c3d7f5e <abbrev> -> <acronym> in some cases. 1998-10-26 23:52:05 +00:00
Nik Clayton
84712fedb0 Step 1. Find <ulink url="mailto:...">...</ulink> and change the <ulink>
to <email>.

        Can't do this globally. Some of the links are odd (i.e,. the link
        is not their e-mail address but is their name, eg

          <ulink url="mailto:nik@freebsd.org">Nik Clayton</ulink>

        which would turn to

          <email>Nik Clayton</email>

        which isn't very useful. Ignore these ones, and do the others.
        (i.e., the ones that look like

           <ulink url="mailto:nik@freebsd.org">nik@freebsd.org</ulink>

        )

        This Emacs regexp does the job.

            Search for: <ulink\s-+url="mailto[^>]+>\([^<]+\)</ulink>
          Replace with: <email>\1</email>

Step 2. A lot of the <email>...</email> sets will have '<' and '>' embedded
        in them (as entities). These can be removed, since the stylesheet
        will add them;

            Search for: <email>&lt;\([^&]+\)&gt;</email>
          Replace with: <email>\1</email>

Step 3. The trick now is to turn

            <ulink url="mailto:nik@freebsd.org">Nik Clayton</ulink>

        into

            Nik Clayton <email>nik@freebsd.org</email>

        This step could (possibly) have been done first, and then steps
        1 and 2 could be done globally. I haven't done this because of
        concerns about the ordering of names within languages. This
        transformation is fairly simple in English, I've no idea what
        it's like in Japanese.

            Search for: <ulink\s-+url="mailto:\([^"]+\)">\([^<]+\)</ulink>
          Replace with: \2 <email>\1</email>

Step 4. Remove leading and trailing spaces that may have slipped in

            Search for: <email>\s-+
          Replace with: <email>

            Search for: \s-+</email>
          Replace with: </email>
1998-10-26 23:51:34 +00:00