Commit graph

8 commits

Author SHA1 Message Date
Nik Clayton
7c9a8531bc Turned on the generation of the HTML.manifest file (this used to be on
by default, looks like the default's changed with version 1.30 of the
stylesheets).
1999-01-02 17:08:45 +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
Nik Clayton
92db264b4a Turn on the use of CSS stylesheets, reading from handbook.css (this
will change shortly).

Change the represenation of <warning> and <caution> to be similar to
the representations for <note>, <tip>, and <important>.
1998-12-05 00:38:14 +00:00
Nik Clayton
c8fc15ab23 - Turn on the use of tables to build navigation headers/footers
- Turn off the shading of verbatim environments. Replace with our
  own scheme which wraps these in <blockquote>, more in keeping
  with other documents.

- Specify the root filename for the HTML version as 'index.html'
1998-11-04 22:41:50 +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
5b1efe184f This is a DSSSL stylesheet. It builds upon Norm Walsh's modular
DocBook stylesheet (ports/textproc/dsssl-docbook-modular) and extends it
in three ways.

First, Norm's stylesheets have a number of documented 'knobs' that can be
twiddled to produce specific effects. For example, one of the options I've
turned on names the generated HTML files after the id attribute of a
section. Say goodbye to c01234.html, and wave hello to 'kerneloptions.html'.

Second, some of Norm's design choices don't follow our existing practice.
For example, we indicate application names in bold, command names in a
monospace font. Norm's sheets just render command names in bold. So we
override his definition with our own for some elements.

Thirdly, we tell the stylesheet about elements that don't exist in DocBook
but do exist in our extended DTD.

Tim Vanderhoek is probably sliding off his seat about now :-)

There's more that needs doing to this, but it's enough to get start with.
1998-06-30 08:52:15 +00:00
Nik Clayton
44198605b2 Catalog file to map the FPI "-//FreeBSD//DTD DocBook V3.0-Based Extension//EN"
back to a filename.
1998-06-29 08:10:48 +00:00
Nik Clayton
c6bb359c12 DTD for the FreeBSD Documentation Project.
Extends DocBook v3.0, with (currently) the following additions.

 1. <hostid>, <username>, <devicename>, <makevar>, and <maketarget> have
    been added. Sample uses would be be.

      <para>By convention, the the local machine can always be referred
	to as <hostid>localhost</hostid>, with the IP address
	<hostid role="ipaddr">127.0.0.1</hostid>.</para>

      <para>The most powerful account on the system is
	<username>root</username>, able to leap tall buildings in a single
	bound.</para>

      <para>Some devices have an entry in <filename>/dev</filename>. For
	example, <filename>/dev/cuaa0</filename> corresponds to
	<devicename>sio0</devicename>. Other devices, such as
	<devicename>ed0</devicename> do not have entries in
	<filename>/dev</filename>.

      <para>To rebuild the system, use the <maketarget>world</maketarget>
	target. If you do not want to build profiled libraries then ensure
	that <makevar>NOPROFILE</makevar> is set.</para>

 2. <FAQList> has been added as a new list type, with its own listitem.

    Use like so;

      <FAQList>
	<FAQListItem>
	  <FAQQuestion>
	    <para>I have bad blocks on my hard drive!</para>

	    <!-- Nothing restricting a question to one paragraph -->
          </FAQQuestion>

	  <FAQAnswer>
	    <para>With SCSI drives, the drive should be capable&hellip;</para>

	    <para>&hellip;</para>
          </FAQAnswer>
	</FAQListItem>
      </FAQList>

    Long winded, but comprehensive, and in keeping with the rest of DocBook.

As I convert the handbook from LinuxDoc to DocBook I'm working on an
extensive markup guide for the project, where constructs like these will be
fully documented.
1998-06-29 08:08:52 +00:00