Commit graph

382 commits

Author SHA1 Message Date
Murray Stokely
f9ccc49092 Add a new tunable knob 'MIN_SECT_LABELS' and the necessary stylesheet
support.

This option prevents section labels from being numbered after the third
level.

make FORMATS=ps :

  "N.N.N Section Title"
  "N.N.N.N really specific topic"
  "N.N.N.N.N really-really specific topic"

make MIN_SECT_LABELS=1 FORMATS=ps :

  "N.N.N Section Title"
  "really specific topic"
  "really-really specific topic"

The section titles are still bold, spaced away from the text, and
sized according to their nesting level.
2001-07-28 03:00:03 +00:00
Murray Stokely
a7fe7f4563 Use DSSSL's (next-match) function to fall through to next most
specific construction rule instead of duplicating code when we want to
conditionally alter the stylsheets.

Suggested by: Norman Walsh
Referenced in: ISO/IEC 10179:1996(E) p180-181
2001-07-27 21:16:55 +00:00
Chern Lee
2da5194780 Make <envar> show up as monospaced font in printed version.
Reviewed by:	murray
2001-07-24 23:09:25 +00:00
Dima Dorfman
59292e255d Introduce a <port> element that answers the question of how to mark up
a port name.  Right now, it renders as monospace, and with a hyperlink
to the port's pkg-descr file if possible.
2001-07-24 11:07:59 +00:00
Dima Dorfman
de4dca94cc Add two scripts that manipulate man-refs.ent. add-manref.sh inserts a
new man page entity with the right format into the right place.
Revs. 1.82-1.84 of man-refs.ent are a good, although perhaps extreme,
example of what this is trying to prevent.  check-manref.sh makes sure
that the entities in man-refs.ent are in the right order, which is
necessary for add-manref.sh to work properly.
2001-07-24 10:56:11 +00:00
Bruce A. Mah
5a4e6c5809 Add txp(4). 2001-07-24 00:12:20 +00:00
Murray Stokely
bd3a3ce150 Last commit prevented <ulinks> in the index from showing up properly for
printed output.  This fixes indexterms so that page numbers are
displayed following the indexed word/phrase.
2001-07-21 09:09:59 +00:00
Murray Stokely
abaf57a792 Allow NICE_HEADERS to be used in the GEN_INDEX case.
NICE_HEADERS is a set of print-only enhancements, however the HTML
backend is invoked whenever an index is generated, so we should not
touch JADEOPTS directly and should instead modify the .tex-ps target
directly.
2001-07-21 03:44:27 +00:00
Murray Stokely
383c86289e Wrap author attributions in <sect1info> and <sect2info> as
appropriate.

I've specifically left JKH's attribution for the "FreeBSD History"
section in tact, since this is a first person account of the history
of FreeBSD and as such the author needs to be identified in place.
This could probably be marked up differently, but its clear that this
section is different from all of the other "contributed by XXX" in the
Handbook.

Also add support for <sect1info> and <sect2info> to the stylsheet so
that these attributions get displayed as they have been.
2001-07-21 02:29:59 +00:00
Murray Stokely
a6695a0034 Correctly display local file links in the print stylesheet.
Local-file URLs are encoded as file://localhost/path/file which is
fine for HTML but this looks ugly when printed.

Add a function to chop off the "file://localhost" so that the above
URL would be printed as "/path/file" but still link to
"file://localhost/path/file" for HTML output.
2001-07-20 04:59:28 +00:00
Murray Stokely
2a6d5f6c26 Add handlers for <chapterinfo>.
Also add a handler for <contrib> inside of <author> tags.

This should allow us to more formally define contributors to the
Handbook.
2001-07-17 02:22:29 +00:00
Nik Clayton
9524fc725a Add JADEFLAGS to the nsgmls command line, so that any special "-i" settings
get passed down properly.  This fixes "make lint" for the Handbook, now that
the chapters are individually buildable.
2001-07-16 15:11:54 +00:00
Murray Stokely
213a66a8d3 Introduce a 'NICE_HEADERS' tuneable knob that creates customized
chapter headers that you may find more aesthetically pleasing than the
rather spartan chapter headers in Norm's print stylesheets.  This
option only effects print output formats for English language books.

Also move the local-en-label-title-sep customization from share/sgml
to en_blah/share/sgml since the best values for this customization
depend on the locale.

This changes (make FORMATS=ps) :

    Chapter 7. Users and Basic Account Management

    7.1. Synopsis

into (make NICE_HEADERS=1 FORMATS=ps) :

    Chapter 7
    /Users and Basic Account Management/

    7.1  Synopsis

More work needs to be done for the NICE_HEADERS case to enhance the
output, but I think its an improvement.
2001-07-16 05:00:21 +00:00
Murray Stokely
b05f2d4e5b Add an entity &os.numports;, currently set to "5,400", so that we
don't have to keep this number updated at N different places
throughout the doc tree.

Update 3 instances of "4,000" in the Handbook to use this new entity.
2001-07-14 23:09:20 +00:00
Chris Costello
dde382c2b4 Add a dependancy on ${CSS_SHEET} for the docbook.css target. Without this,
one must run a `make clean' (or `rm docbook.css') or the stylesheet is not
updated, regardless of whether or not it's been updated since the last
build.
2001-07-14 18:04:06 +00:00
Nik Clayton
9e7e408f55 Use peps instead of eps2png. 2001-07-13 12:09:59 +00:00
Murray Stokely
5c47dd8654 Introduce a new handbook-specific knob ``WITH_PGPKEYS'' and add the
relevant functions to the DSSSL stylesheet.

The default behavior is for print output formats to just display PGP
fingerprints unless you use `make WITH_PGPKEYS=1 FORMATS=ps'.  This new
default behavior reduces the size of Appendix E from 52 pages to 9
pages, and that could be trimmed down more with a more efficient
layout for the fingerprints (does each entry really warrant a new
section header?)

Knob requested by: Chris Costello
Discussed on: -doc
2001-07-12 01:40:31 +00:00
Dima Dorfman
350f5b2b24 Add INDEX_SGML and docbook.css to CLEANFILES as appropriate.
PR:		28864
Submitted by:	Alex Kapranoff <kapr@acm.org>
2001-07-12 00:24:59 +00:00
Murray Stokely
53ea803f4b Add entities for XFree86.1 and startx.1 2001-07-11 15:57:19 +00:00
Nik Clayton
5ad75c7dcb Be a little more conservative with the line height to try and placate those
on -doc who don't share my sense of the aesthetic

Try a better fix at the 'stair stepping' in lists -- the previous fix only
worked for lists that were children of the BODY element, so it didn't have
any effect on those that were (for example) enclosed inside a
<DIV CLASS="PROCEDURE">.
2001-07-11 12:46:50 +00:00
Murray Stokely
088000e692 Slight modification to support the case where a document contains
indexterms, but we don't want to generate the index.

Specifically, touch the ${INDEX_SGML} file if ${GEN_INDEX} is not set.

Suggested by: Nik
2001-07-10 03:06:48 +00:00
Bruce A. Mah
ec901c396a Add fsck_msdosfs(8). 2001-07-09 21:22:06 +00:00
Bruce A. Mah
710a8dd6f0 Add an entry for awi(4). 2001-07-04 05:31:29 +00:00
Nik Clayton
33392641db Hopefully fix the problem where Netscape incorrectly applies styles to
list items, but not to the bullets/marks.  Where it used to appear as

    1.
        This is item one.

    2.
        This is item two.

and so on, it should now appear as

    1.  This is item one.

    2.  This is item two.

Based on a suggestion from Haikal Saadh <wyldephyre2@yahoo.com>.
2001-07-03 12:30:32 +00:00
Dima Dorfman
09a79a5a75 Sort this and add a comment describing how things should be sorted. 2001-06-30 21:15:00 +00:00
Dima Dorfman
470b174633 Correct a paste-o. 2001-06-30 06:13:08 +00:00
Dima Dorfman
ac501794e7 8 != 2 (fix last commit) 2001-06-30 06:02:57 +00:00
Dima Dorfman
b59050bc52 Add entity for kldconfig(8) 2001-06-30 06:01:49 +00:00
Murray Stokely
78c6c53ba0 Image support has been mangled since the move to docbook.css. This
adds a new mediaobject handler to simplify the output HTML so that
images no longer overlap the text and other nearby images.

The output HTML used to look like this :

      <div class="MEDIAOBJECT">
        <p><img src="fig2.png"></p>
      </div>

The problem was that the image would be displayed on top of nearby
text or image elements completely obscuring the previous contents
rather than doing proper page layout.  With this change, the above now
simply looks like this :

      <img src="fig2.png">

An alternative solution would be to fix docbook.css, but I think that
the problem stems from the way that different browsers implement CSS.
It is easier to just fix it here at the DSSSL level.
2001-06-24 02:46:40 +00:00
Bruce A. Mah
d46e1a628f Add getprogname(3) and setprogname(3). 2001-06-22 17:00:57 +00:00
Bruce A. Mah
19045ad358 Add entry for mdmfs(8). 2001-06-22 15:48:31 +00:00
Nik Clayton
6887d21569 Add a new variable, EPS2PNG_RES, to set the resolution eps2png uses to
convert graphics.  Change the default from 82 to 100, for clearer images.

PR:		docs/28237
Submitted by:	G. Adam Stanislav <adam@whizkidtech.net>

While I'm here, include some suffix rules to convert .scr files to .png
files.  Nothing uses these, yet, but should do shortly.
2001-06-22 10:12:23 +00:00
Chris Costello
1d6177220b Null commit:
Apparently either my editor or CVS appended a new-line at the end
  of this file, which was a part of the previous delta.
2001-06-21 03:03:51 +00:00
Chris Costello
5881b7b9ec Remove "Mailing List Entities" from this catalog file, as it belongs in
the individual doc/<lang>/share/sgml/catalog files.
2001-06-21 02:56:51 +00:00
Chris Costello
a7db143730 Include ${LANGUAGECATALOG} in `make validate' nsgmls command line arguments. 2001-06-21 02:55:59 +00:00
Nik Clayton
4ac10587b6 Things wrapped in <PRE> should have a normal line height. 2001-06-20 16:23:30 +00:00
Nik Clayton
e705f83469 Turn on the use of the stylesheet. Remove the code that caries out
special formatting for questions, as the stylesheets now do this.

Interested parties can look at http://people.freebsd.org/~nik/faq-css/
for an idea of how the new stylesheets render.
2001-06-18 14:29:16 +00:00
Nik Clayton
e4bca6fe83 Pull in docbook.css as necessary. 2001-06-18 14:24:08 +00:00
Nik Clayton
2d49a1ca1c A Cascading Stylesheet for use with documents converted from DocBook to
HTML by the Norm Walsh / FreeBSD DSSSL stylesheets.
2001-06-18 14:12:44 +00:00
Nik Clayton
53c24748d7 Select the right .index file depending on whether the output is being
chunked or not.
2001-06-16 21:30:11 +00:00
Nik Clayton
5c75be36bd Rewrite the index generation support -- this seems to do the right thing,
and doesn't break the build in the non-GEN_INDEX case, so it's safe to
commit.  I need more people testing it though.
2001-06-16 14:11:52 +00:00
Bruce A. Mah
5b0709c6e3 Add entry for orm(4). 2001-06-14 17:03:22 +00:00
Andrey A. Chernov
f749b200c1 ISO_* -> ISO* rename 2001-06-11 01:20:40 +00:00
Dima Dorfman
786c87df58 Introduce &os;, &os.current;, and &os.stable; entities. The names
should speak for themselves.  Using these will significantly improve
consistency through the doc tree.  Right now--before most of the
documents use these--there are five or six different spellings of
"FreeBSD-STABLE", even in the same document!  &os; was added for
completeness.

Approved by:	-doc
2001-06-08 01:12:28 +00:00
Bruce A. Mah
a80eb47ee4 Add manpage entry for diskcheckd(8). 2001-06-04 17:52:54 +00:00
Dima Dorfman
c99472149c The problem is with nested links; quite frankly, they don't work.
This isn't normally an issue because no one in their right mind will
stick a <link> inside another <link>.  However, we have entities which
create links, such as &man.*;, &a.*;, etc.  It's nice to be able to
use these inside links.  To deal with this..

Introduce a create-link procedure which will be used to replace (make
element gi: "A" ...) constructs.  This procedure creates a link as
specified only if the can-link-here procecure (described below)
returns #t.  If the latter returns #f, it will print the link text
without the link.

The (also new) can-link-here procedure returns #t if it determines
that it's okay to make a link in the current context, and #f
otherwise.  Currently, it does its check by figuring out whether the
current context is within a <title> or <question> tag.  This is not
ideal because it doesn't catch all cases, but it's a lot better than
nothing.  As the other cases are discovered, this procedure can be
modified.
2001-06-02 23:02:13 +00:00
Bruce A. Mah
0a95fdfc90 Add entry for new lge(4) driver. 2001-06-01 15:21:17 +00:00
Bruce A. Mah
73b129b694 Add new isdn4bsd drivers. 2001-05-25 17:22:16 +00:00
Dima Dorfman
94eb26771b Introduce a <groupname> tag similar to <username>. I don't forsee it
being rendered any differently than <username>, but it's very
confusing to write markup with both user and group names in close
proximity, and both marked up with <username>.
2001-05-22 03:32:17 +00:00
Dima Dorfman
8140e08d69 Bump the number of directories traversed to find LANGCODE to 10. This
isn't a problem yet, but I did run into it in my local builds a few
times, and I thought it'd be better to raise it now to make sure
nothing magically breaks later.

Silence by:	-doc
2001-05-22 03:18:38 +00:00
Udo Erdelhoff
f777871dce Add the framework for using <bibliography>. Use the title of the Book
in the text and let it be a link to the bibliography entry.
Note: The functionality needs JADEFLAGS=-Vbiblio-xref-title in the Makefile

Reviewed by:	nik, freebsd-doc (original version)
Original by:	nik
2001-05-20 17:30:44 +00:00
Bruce A. Mah
b2457ddfbd Add fdread(1) entity. 2001-05-14 21:54:48 +00:00
Bruce A. Mah
50d3137f88 Add an entry for the new nge(4) driver. 2001-05-12 03:46:53 +00:00
Nik Clayton
f3866f36b1 Make the eps2png and epstopdf commands OBJDIR safe.
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2001-05-09 19:31:47 +00:00
Udo Erdelhoff
509f575bfd Keep the spirit of PR docs/20130 alive and add a couple hundred entities
for manpages added since then.

PR:		in memoriam of docs/20130
Reviewed by:	alex
2001-05-07 17:45:24 +00:00
Bruce A. Mah
ac51406db0 New entity for nl(1). 2001-05-04 20:10:02 +00:00
Bruce A. Mah
576b38134b New manpage entities for sftp(1) and ssh-keyscan(1). 2001-05-04 14:38:07 +00:00
Bruce A. Mah
4f7f11d9e8 Add an entry for fmtcheck(3). 2001-04-27 14:43:49 +00:00
Bruce A. Mah
f1b8d9df68 Add manpage references for fsck_ffs(8) and fsck_ufs(8). 2001-04-24 22:51:50 +00:00
Dima Dorfman
796d703e73 mkisofs is in section 8, not section 1. A grep through the
translations shows that they don't use this.
2001-04-21 21:34:39 +00:00
Nik Clayton
6b9ded6e4c Fix a typo, and make sure that ISBN numbers in the front matter are
included.
2001-04-09 20:35:47 +00:00
Nik Clayton
82d52622d4 Add a default $create-refentry-xref-link$ function. 2001-04-05 13:19:59 +00:00
Bruce A. Mah
9b288c1e49 Commit a few manpage entries for recent release notes. 2001-03-29 20:21:22 +00:00
Nik Clayton
d058817a01 Fix small error that meant that library images weren't being included in
any generated tarballs.
2001-03-27 16:15:07 +00:00
Nik Clayton
8e5b858d5b Add a new variable, %refentry-xref-link% which determines whether or not
man page references (&man.ls.1;, etc) are converted in to links to the
man->HTML CGI on freebsd.org.  Defaults to off.

Redefine the code for the <citerefentry> element to use this variable.
2001-03-24 09:40:24 +00:00
David E. O'Brien
3cdf03e3f3 If running on the Alpha, use OpenJade.
Forgotten by:	who ever did the doc.docbook.mk Alpha support
Silence by:	doc@freebsd.org
2001-03-22 22:49:01 +00:00
David E. O'Brien
e6e620e787 Separate the Alpha arch test and the OPENJADE test. This also gets
"OPENJADE" exported in the Alpha case so it matches the non-Alpha case.

Silence by:	doc@freebsd.org
2001-03-22 22:47:32 +00:00
Alexander Langer
b250ca7d11 Now really do use openjade on alpha.
PR:		25891
Submitted by:	Christian Weisgerber <naddy@mips.inka.de>
2001-03-18 15:48:10 +00:00
Dima Dorfman
fbecbd3f16 Add an entry for links(1).
Approved by:	nik
2001-03-13 23:10:25 +00:00
Nik Clayton
e64d4df877 Finish off the previous commit by removing the -S flag from the links
command line, which is not supported in links (but was in w3m).
2001-03-13 18:29:06 +00:00
Nik Clayton
ff2f53e45a Honour $LOCALBASE when setting $PREFIX.
PR:		docs/25496
Submitted by:	Mike Meyer <mwm@mired.org>
2001-03-13 09:54:34 +00:00
Jim Mock
c371a0a7a7 w3m -> links
Submitted by:	jkh, dd
2001-03-13 03:03:46 +00:00
Nik Clayton
66417ff8b0 Use openjade if we're on an Alpha. Use links instead of w3m. 2001-03-11 18:26:06 +00:00
Nik Clayton
59595c172d In the print stylesheet, keep the ToC to 3 levels of depth or less, and
don't indent body text.  This reduces the size of the Handbook's PS file
by about 1MB, and has similar (although less dramatic) effects on the
other documents.
2001-03-04 18:05:19 +00:00
Nik Clayton
3df699389c Use a different mechanism to specify the input file to TeX.
<aph>  running, for instance, "jadetex '\nonstopmode\input{$<}'" is much
       better since it won't crash out an automated build as badly
<nik_> Huh?
<aph>  it will fail rather than kick you into a TeX prompt and wait for output
<aph>  I guess in BSD make that would be:
<aph>  jadetex '\nonstopmode\input{${.ALLSRC}'

Submitted by:	Adam di Carlo <adam@onshore.com>
2001-02-26 22:56:59 +00:00
Nik Clayton
1629d37bce Add an entry for xdm(1). 2001-02-26 21:47:23 +00:00
Nik Clayton
fc20bd6c53 1. Add a new knob, GEN_INDEX. If defined (nothing does yet), collateindex.pl
will be run to generate index.sgml, an automatically generated index for
the document.  This is also added to the list of dependencies.

2. Add a DOCBOOKSUFFIX variable, defaulting to "sgml", so we can write

   MASTERDOC?=  ${.CURDIR}/${DOC}.${DOCBOOKSUFFIX}

Requested by:   Michael Wiedmann <mw@miwie.in-berlin.de>
                Linux Documentation Project

3. Set the DSSSL 'openjade' variable to #t if we're processing with
   OpenJade.

4. Work around a bug in the stylesheets.  If we split the <legalnotice>
   out in to a separate file it isn't added to the HTML.manifest.  Check
   for it by hand, and include it if necessary.
2001-02-22 15:42:41 +00:00
Bruce A. Mah
bc7949d00e Entries for some new manpages. 2001-02-21 22:47:15 +00:00
Nik Clayton
2aa8b87288 Oops. That last commit bought in some more stuff from my development
tree that I wasn't quite ready for.  It may as well stay in now though.

In order.

 1.  Pull out the code that deals with <segmentedlist>, the regular
     stylesheets handle that now.

 2.  Change how $email-footer$ is handled.  This requires changes to the
     <lang>/share/sgml/freebsd.dsl files, to come very shortly.

 3.  Redo warning and caution label support.  This is no-op, as Norm's
     sheets don't support this the way I want yet.

 4.  Remove a useless comment.

 5.  Pull out the experimental docinfo stuff, it doesn't work.

 6.  Pull out the special handling of <literallayout>, the regular
     stylesheets handle that now too.
2001-02-20 19:38:25 +00:00
Nik Clayton
ebb3148dbd Turn off the 'heading level characteristic' option. It breaks the Handbook
PDF build.
2001-02-20 19:17:26 +00:00
Nik Clayton
cfce6aed38 Add an FPI for the FreeBSD/DocBook 4.1 DTD. 2001-02-20 19:10:47 +00:00
Nik Clayton
e06261c405 FreeBSD customisation layer of the DocBook 4.1 DTD. 2001-02-20 19:10:26 +00:00
Nik Clayton
18f94d697b Hack to select the right image scaling based on the 'format' attribute
of the 'imagedata' element.
2001-02-20 19:09:50 +00:00
Nik Clayton
88abf1e8bb Better image support. Use Ghostscript and NetPBM, rather than simply
relying on ImageMagick.
2001-02-20 19:08:58 +00:00
Nik Clayton
4e9b64c5f7 Turn on %generate-legalnotice-link%. This makes the word "Copyright" in
generated HTML link to the legalnotice, if the document has one.

Requested by several people on -doc (all of whom probably thought this
would be quite a lot of effort, heh heh heh).
2001-02-13 19:21:31 +00:00
Nik Clayton
378340c7fe Use epstopdf (from teTeX) rather than ImageMagick to convert EPS to PDF
files.  The results seem to be nicer.
2001-02-12 17:03:54 +00:00
Bruce A. Mah
fe8bbd1aca Add a few more entries that crept in from recent release notes. 2001-01-29 23:08:31 +00:00
Nik Clayton
5a65a99ceb Set the heading-level characteristic to '2' if we're generating PDF output.
This has the useful side effect of generating bookmarks in the PDF file,
which programs like Adobe Acrobat Reader can use to provide a navigable
table of contents in a side window.  This only seems to work with OpenJade,
but the option doesn't cause Jade any problems.
2001-01-08 12:40:52 +00:00
Alexander Langer
81329ff230 Use a document independent list of translators.
Obtained from:	FreeBSD German Documentation Project
Obtained from:	FreeBSD French Documentation Project
2001-01-06 18:39:27 +00:00
Alexander Langer
0e17cb35be Add entries for the German translation. 2001-01-06 18:26:46 +00:00
Alexander Langer
c26577ed14 Add "bdquo", which is supposed to be used in German texts.
Submitted by:	nik, months ago
2001-01-06 18:26:11 +00:00
Bruce A. Mah
1500794443 A few more entries in man-refs.ent. 2001-01-03 23:38:28 +00:00
Bruce A. Mah
3204d89866 Restore the removed svr4(8) and linux(8) entries, and add one for the
now-deprecated osf1(8).  -CURRENT doesn't have these anymore, but the
-STABLE branches do; plus it's a little odd to try to write about the
scripts' removal without these entries.
2001-01-02 23:57:50 +00:00
Bruce A. Mah
7f046f705f Add in a few more manual pages. 2001-01-02 23:54:59 +00:00
Bruce A. Mah
3242c4fb74 Add another handful of manpage entities, culled from the release notes. 2000-12-20 22:38:40 +00:00
Bruce A. Mah
d3cb48cf21 Add a handful of manpage entities. 2000-12-19 20:27:11 +00:00
Jim Mock
78991380db Add the cvs-committers and developers mailing lists to the Who's Who
section of the committer's guide.  While I'm here, change some
instances of freebsd.org to FreeBSD.org.

Submitted by:	obrien
2000-12-05 21:39:14 +00:00
Sheldon Hearn
3c1a15236c Revert rev 1.56 for fear of breaing translations.
Reported by:	nik
2000-11-29 15:27:17 +00:00
Sheldon Hearn
8b9852e397 Remove the entry for the soon-to-be-removed ibcs2(8). 2000-11-29 10:43:41 +00:00
Sheldon Hearn
b4676be084 Replace the entry for the soon-to-be-removed svr4(8) with the new
svr4(4).
2000-11-29 10:39:50 +00:00
John Baldwin
4a58f51374 Add manual references needed for the kernel locking chapter of the
developer's handbook.
2000-11-29 04:14:02 +00:00
Ben Smithurst
5fc5caec39 imake(1) 2000-11-23 11:27:59 +00:00
Nik Clayton
71197e65e9 Add "IP6Addr" as a valid option for the role attribute on <hostid>. Nothing
uses this yet, but lets try and stay ahead of the curve for a change :-)
2000-11-20 10:43:53 +00:00
Nik Clayton
a42c0acc76 Preamble for the .tex files that will be converted to PDF to get them to
look for .pdf images in preference to .png images.
2000-11-07 10:23:41 +00:00
Bruce A. Mah
b92d604c5a Add entries for pcn(4) and mly(4). 2000-11-03 23:17:11 +00:00
Sheldon Hearn
9e6e37ef9e Retire the joy(8) script. Using shell scripts to load kernel loadable
modules is out of fashion.

There is still a joy(4) manual page to clue people into the existence of
the joy of FreeBSD.
2000-11-02 14:15:30 +00:00
Sheldon Hearn
49882e8444 The linux(8) page has been retired. The recently add linux(4) takes
its place, although neither appears to be used in the doc tree.
2000-11-02 14:04:47 +00:00
Jun Kuriyama
a2bdbe7902 Remove ${.TARGET} if jade failed. 2000-10-31 14:39:13 +00:00
Nik Clayton
7c4206c1aa Support installing images where the document and images are split up over
multiple directories, the way (for example) that the Handbook is.
2000-10-29 18:01:54 +00:00
Nik Clayton
324f84d204 LIB_IMAGES -> IMAGES_LIB, to be consistent with IMAGES_PNG and IMAGES_EPS
Extend the image support.  Now handles the "install" part for HTML, PS, and
PDF, as well as packaging.

Better support for images in the PDF output.  I'm still trying to figure out
how to get good quality PDF from EPS source though.
2000-10-29 02:39:10 +00:00
Nik Clayton
6c424d3554 Put down the crack pipe long enough to revert back to labelling questions
with a number, and not just a big "Q".  No idea what the hell I was
thinking when I did that.

Override generate-anchor in the master stylesheets, so that the names
(i.e., the <a name="...">) in the HTML output for questions is Qx.y.,
where x.y is the question number.  This is much less likely to change
than the AENxxxx format, which changes with every addition or deletion
to the FAQ, so it's much easier for people to link to specific questions
within the FAQ now.

A few whitespace/indentation changes with existing code.
2000-10-28 21:14:44 +00:00
Nik Clayton
b5fbe0e00e Remove a gratuitous output.print.pdf section, a hang over from some of my
earlier testing.

Redefine the literallayout element handling, so that 'class=monospaced' is
handled properly.
2000-10-23 14:41:46 +00:00
Jun Kuriyama
5daef3227b Temporary fix to make this buildable.
Submitted by:	crossd@cs.rpi.edu
2000-10-10 06:16:56 +00:00
Nik Clayton
3197343458 Support images in the documentation.
For producing text-only docs, we need to have a second HTML target.

The PS and PDF targets (which depended on a .tex file) have been split
out so that they each depend on their own .tex-${format} file, to get
the image formats correct.
2000-10-08 19:19:09 +00:00
Nik Clayton
107896244a Initial support for images within the documentation. Support EPS and PNG
format images.  Assume that ImageMagick has been installed -- this is a
big requirement, and will be refined before this gets much further.
2000-10-08 19:17:42 +00:00
Nik Clayton
4d20c32be9 Add a comment to sync this with my local repository. 2000-10-08 19:16:32 +00:00
Nik Clayton
749c7f2deb Initial image support. 2000-10-08 19:15:54 +00:00
Nik Clayton
895a6d904c Reorganise things a little bit.
Redefine two functions in <[ %output.print; [ ... ]]> to support image
handling.
2000-10-08 19:15:06 +00:00
Neil Blakey-Milner
a15fa475b5 Make 'make lint' work again. Obviously no-one uses it. (:
(I forgot to set NSGMLS)
2000-10-07 16:31:04 +00:00
Neil Blakey-Milner
c97832896f If OPENJADE is defined, use the openjade replacement tools like
'openjade', 'onsgmls', like 'osgmlnorm'.
2000-09-28 23:34:49 +00:00
Neil Blakey-Milner
1c78f1c07d a) "Fix" out-of-tree builds by not hard-coding locations of dsl files
with SYSTEM, and using instead PUBLIC entities gained from the catalog
in the directory of the language the document belongs to, or the
language-neutral entity.  Now we always use default.dsl as our dsl
master, and it grabs the necessary magic from the catalogs.

b) Fix the always-out-of-date imagelib problem with some make(1)-fu.

Approved by:	nik (ages ago)
2000-09-28 23:29:48 +00:00
Nik Clayton
a9b9a2fe08 Add ${DSSSLCATALOG} and ${JADECATALOG} to the list of catalogs the lint:
target uses -- this ensures that any options (such as "OMITTAG NO") that
are used when building the docs are also used when linting them, so that
errors don't slip through the cracks.

Prompted by r1.93 of the FAQ.
2000-09-25 08:17:03 +00:00
Ben Smithurst
bc7dd81816 Add emacs(1). 2000-08-25 18:34:30 +00:00
Jun Kuriyama
61306ad2cc Add &man.vim.1; entry.
Fix bugs in using <screen> element.
Use $FreeBSD$ instead of $Date$.
2000-08-15 01:39:52 +00:00
Ben Smithurst
a1a8a70906 Fix some entities added in rev 1.45. ("c" -> "c++", likewise for lex++,
flex++ and g++)
2000-07-27 19:17:31 +00:00
Ben Smithurst
a3ab85bc59 Fix the doc build by adding back less(1) and more(1), which were
mysteriously removed in the last commit.
2000-07-26 22:09:55 +00:00
Jim Mock
3b254dbc55 Add entities for the few thousand man pages not already in this file.
PR:		20130
Submitted by:	Udo Erdelhoff <ue@nathan.ruhr.de>
2000-07-26 20:04:20 +00:00
Ben Smithurst
e1ae582ceb Add more(1) and less(1), which will be needed when I add des' mini
CVS primer to the committers-guide.
2000-07-26 00:57:20 +00:00
Ben Smithurst
846c848b3d Add some magic which puts double quotes around <errorname> text.
Submitted by:	nik
2000-07-25 18:23:45 +00:00
Nik Clayton
c0ca318851 Turn on callout graphics. Forgot this from about a week ago. 2000-07-25 10:31:35 +00:00
Nik Clayton
460016ce35 Fix the handling of unsupported formats (like "html-split") in doc.html.mk.
Output a non-fatal warning for these.  For unknown formats output a fatal
error.
2000-07-23 16:27:58 +00:00
Ben Smithurst
7047aab304 Add crontab(5). 2000-07-20 00:14:29 +00:00
Alexander Langer
1a67368c0d sleep(1) 2000-07-19 08:38:39 +00:00
John Baldwin
3ac389f2d4 Don't allow html-split to be treated as a format during install.
Admittedly, this is a hack, and the real solution is to sanitize FORMATS
by removing any words that aren't in KNOWN_FORMATS.  This fixes release
since releases uses 'html html-split txt' for FORMATS when it compiles and
installs the docs.
2000-07-19 01:46:48 +00:00
Nik Clayton
f631452350 doc.images.mk
LOCAL_LIB_IMAGES_DIR should be a path component, not a complete path, so
remove ${.CURDIR}.

doc.docbook.mk

Set the directory for image installation correctly, and ensure that the
directory exists before we try and do anything with it.

These should fix the installation problems people are having with the
primer.  There's still an outstanding bug -- make(1) thinks that the
local library images are out-of-date with respect to the ones in
share/images for some reason.  This forces a rebuild each time.  I'm
still looking at that.
2000-07-18 16:30:45 +00:00
Nik Clayton
693df4dc05 Fix the problem where <foo>.html.gz was being listed as a dependency, and
we don't need it anymore.

I'm fixing this from Kirk's tutorial at the O'Reilly Open Source conference.
He was no help at all. . .
2000-07-17 22:30:03 +00:00
Neil Blakey-Milner
279c23a44c LANGCODE, not LANG_CODE. Of course, it passed testing, because
doc//share/sgml/freebsd.dsl exists.
2000-07-17 08:51:38 +00:00
Nik Clayton
f516af4dd2 Pull out <faqlist>, it was a local hack and shouldn't have gone in.
Add <co> in a new context, so it can be used inside <userinput>.  This
should be fixed in the next version of DocBook.
2000-07-16 22:56:52 +00:00
Nik Clayton
69a59546e0 Make sure the LOCAL_LIB_IMAGES_DIR directory is cleaned appropriately. 2000-07-16 16:34:08 +00:00
Nik Clayton
57f6bf9869 Support library images. Do this by
1.  Listing LIB_IMAGES as a dependency on certain targets, to ensure
    that library images are pulled in correctly.

2.  Create a new FORMAT, html.tar, to cater for the case where we might
    be producing a single .html file, but we need to tar that up for
    distribution and the tar file needs to include all the images.

3.  Update the various install-* targets to include the images.

4.  Update the package-* targets to include the images

While I'm here, pull out the .doc target.  For some reason I thought our
tool chain could produce Microsoft Word .doc files.  It can't.
2000-07-16 16:32:27 +00:00
Nik Clayton
03f0782120 Pull in doc.images.mk as necessary.
Also pull in doc.html.mk when DOCFORMAT==html, something I missed from
an earlier commit.
2000-07-16 16:29:18 +00:00
Nik Clayton
f24bb0a201 Image support in the documentation. For the time being, just support
library images (and in particular the callout bugs).
2000-07-16 16:27:30 +00:00
Ben Smithurst
702e4ca0b5 The textproc/docproj port uses w3m these days, not Lynx, so update
the FDP Primer accordingly.
2000-07-15 17:34:21 +00:00
Neil Blakey-Milner
2d8415a9de 1) Use non-relative path to the DSL location, which makes external
document building work again.

2) Add support for building html documents, which is required for
ipsec-must document.
2000-07-14 08:42:49 +00:00
Alexey Zelkin
7e1cea278c Add in first Russian FPI (bookinfo) 2000-07-08 16:31:28 +00:00
Nik Clayton
2ee393d1be Support infrastructure for HTML documents in the doc/ tree. 2000-06-26 09:04:24 +00:00
Kevin Lo
b6ae9ba9d7 Add the dockbook man entities for exit, write, and as.
PR: 19425
Submitted by: Thomas M. Sommers <tms2@mail.ptd.net>
2000-06-22 01:01:31 +00:00
Alexander Langer
f62c5833d0 Add syscons(4) 2000-06-20 09:56:02 +00:00
Nik Clayton
a42eebcfca bridge(4), dummynet(4) 2000-06-19 13:27:23 +00:00
Nik Clayton
47d09477ce Add natd(8), rc.conf(5), mergemaster(8). 2000-06-07 23:16:15 +00:00
Nik Clayton
7056d587a8 lp(4) and lpt(4). 2000-05-24 20:02:38 +00:00
Nik Clayton
22ac8a6302 Add entity for pkg_info(1). 2000-05-23 00:41:35 +00:00
Jun Kuriyama
931dd61f12 Do xargs only if HTML.manifest is exist. 2000-04-29 07:46:15 +00:00
Andrey A. Chernov
252ca0b927 add multibyte.3 2000-04-16 21:39:50 +00:00
Jim Mock
41ce8dd6a7 Add bits for the kernel config chapter. 2000-04-06 00:07:41 +00:00
Bill Swingle
b5f643dd92 Added dhcp related manpages to man-refs.
Submitted by:	gsutter
Reviewed by:	jim
2000-04-03 08:59:01 +00:00
Jim Mock
8e652b2217 Add an entity for the exports(5) man page, which is needed for the NFS
section of the advanced networking handbook chapter.
2000-03-30 23:57:12 +00:00
Jim Mock
22eb175baf Add references needed for the security chapter. 2000-03-25 00:20:03 +00:00
Neil Blakey-Milner
4dfd8b3329 Fix the new localized dsl stuff for the obj build case. 2000-03-24 19:31:34 +00:00
Nik Clayton
a595525171 Give each language and encoding it's own freebsd.dsl, to contain style
sheet definitions for that language only.  Each file reads in the defaults
from the master share/sgml/freebsd.dsl file, and adds overrides, or new
definitions, as necessary.

Move the per-language hacks from share/sgml/freebsd.dsl in to
<lang>/share/sgml/freebsd.dsl as necessary.

Add links to the -questions and -doc mailing lists to the bottom of the
generated HTML output for some languages.  The -questions link will
become a link to Greg's "Getting the most from questions" document when
I bring that in, but I haven't done that yet, and I didn't want these
patches hanging around my local tree.

This was the real reason for making freebsd.dsl language local, as it
makes it much easier to translate generated text, such as the text of
the links, without polluting share/sgml/freebsd.dsl.

Update doc.docbook.mk to use the new, per-language freebsd.dsl file when
building the docs.  While I'm here, update .pdb generation so that it
creates a symlink to ${CURDIR:T}.pdb as well (e.g., the Handbook generates
"book.pdb" and "handbook.pdb").  This makes it easier to install more than
one document on a Palm, because two docs called "book.pdb" or "article.pdb"
can not co-exist.
2000-03-23 09:00:17 +00:00
Jim Mock
dad13be17e Add bits needed for the quota section of the disks chapter. 2000-03-20 21:00:59 +00:00
Chris Costello
9a59860a1f Add an entry for fetch(1). 2000-03-12 06:50:10 +00:00
Andrey A. Chernov
5372e2895e Fix value of man.mount.msdos.8 entity
"mount.msdos" -> "mount_msdos"
2000-03-12 04:09:58 +00:00
Neil Blakey-Milner
f563d86a5b manual reference for chflags for miscellaneous cleanups in the handbook. 2000-03-11 19:30:16 +00:00
Alexey Zelkin
ef3c77dc32 Add bunch of entities required for future import of IPv6/IPsec related
handbook sections.
2000-03-10 22:41:32 +00:00
John Baldwin
66be53c66d Amend the section on wheeled mice in X to include a tutorial on installing
and configuring the imwheel port.  Also, add a man-ref entry for imwheel(1).

Reviewed by:	chris, jim
2000-03-09 05:52:04 +00:00
Neil Blakey-Milner
5d2e8b1141 Fix an obj error in the lint/validate target. 2000-03-08 11:21:37 +00:00
Neil Blakey-Milner
b34292794a Add necessary man page entities for users chapter 2000-03-08 11:17:59 +00:00
Nik Clayton
b8a86a79da Add entities for xmodmap(1) and lpd(8).
PR:             docs/16841
Submitted by:   Mark Ovens <mark@ukug.uk.freebsd.org>
2000-03-07 13:33:53 +00:00
Jim Mock
e5cc1d1296 Add the changes needed for the handbook to build correctly after my last
commit to the PPP and SLIP chapter.  Hopefully I caught my stupidity
before it tried to build and ended up failing.
2000-03-02 06:23:23 +00:00
Jim Mock
82843ed876 Add in the bits relevant to the closing of docs/15300. Without these the
build is broken.
2000-02-17 21:20:42 +00:00
Nik Clayton
67c7006408 Back out part of the previous commit; remove the code that generates HTML
expecting to find a docbook.css stylesheet file, which I committed a bit
too soon.

Pointed out by:	jim
2000-02-15 01:57:17 +00:00
Nik Clayton
fc766b7388 Add definitions for the osversionmin, osversionmax, and osversionin
attributes.  We don't use these yet, but they've been hanging around my
tree for ages, and it's time other people got to play with them.

Add (HTML) entity defs for lsquo and rsquo, ` and ' respectively.
2000-02-14 01:30:48 +00:00
Nik Clayton
0aa5ee0c69 Add "legalnotice" to the list of elements that are included on the title
page of articles.  This necessitates duplicating the entire list in the
customisation layer, which will need to be kept up to date as the master
stylesheets change.
2000-02-14 01:29:17 +00:00
Nik Clayton
811a3b7b1f Add system.3 and popen.3. 2000-02-14 01:17:34 +00:00
Jun Kuriyama
4182f5b9e7 Add NO_TIDY variable to disable tidy.
Tidy cannot handle EUC-JP codepoint range correctly with -raw option.
I will try to fix this problem, but temporary disable to use tidy in
Japanese Handbook and FAQ.
2000-02-03 03:10:43 +00:00
Nik Clayton
8be525f5f5 Allow DSLHTML and DSLPRINT to be overridden ("...=" -> "...?=").
Requested by:	Chris Costello
2000-01-24 20:02:50 +00:00
Jim Mock
b9951cd883 Add entry for pcm.4 which is needed for the updates made to
kernelconfig/chapter.sgml
2000-01-21 21:25:26 +00:00
Nik Clayton
120eb24177 Add definition for man.moused.8. 2000-01-19 22:42:15 +00:00
Neil Blakey-Milner
eaba090d03 Add rc.8 for the boot process description 2000-01-14 10:35:17 +00:00
Nik Clayton
e4fb9fb481 Use w3m instead of lynx to format the text versions. It's table handling
is superior, and the various translation teams are fine with it.

Use iSilo instead of pilot-makedoc to produce Palm compatible files.  It
works from the HTML and retains the formatting (including the internal
links) making it much nicer to work with than the output from pilot-makedoc.
1999-12-24 01:25:27 +00:00
Chris Costello
b8b8695fbe Add ch(4) and chio(1) for dark secret FAQ rewriting project. 1999-12-23 18:35:12 +00:00
Jeroen Ruigrok van der Werven
172e589c8f Add missing manual page entity for dd. 1999-12-17 21:25:44 +00:00
Nik Clayton
85eff2b01e Nuke this. It's been superceded by the doc.*.mk files. It should have
been wiped some time ago.
1999-12-14 16:54:32 +00:00
Nik Clayton
535b364c47 Experimental support for building Palm Pilot DOC format files. The result
works, but isn't great (at least in SmartDOC).  Still, if you want to carry
the FreeBSD FAQ on your Palm (or the Handbook for that matter) it's a start.

PR:             docs/13439
Submitted by:   Slaven Rezic <eserte@cs.tu-berlin.de>
1999-12-13 18:14:41 +00:00
Nik Clayton
9b0a980469 Add $FreeBSD$ comment.
Submitted by:   billf
1999-11-15 19:44:15 +00:00
Nik Clayton
2ee8a10ad2 Sample .vimrc and associated files for editing FDP documentation, and
maintaining structure, and so on.

Submitted by:   Robert Brive <brive@freebsd-fr.org
1999-11-15 19:41:09 +00:00
Nik Clayton
d71066fb87 Knew I'd miss something. Add in entities for French <abstract> and
<artheader> elements.
1999-11-14 17:57:31 +00:00
Nik Clayton
212679edca Fix a typo in the French localisation of the stylesheets. 1999-11-10 20:32:58 +00:00
Nik Clayton
ab3a40fe62 Change the invocation of tidy(1) in the index.html target to only update
the .html files that have been built, instead of all of them.  Fixes a bug
where "make FORMATS='html-split html'" would only update the split HTML
files.

Reported by:    Mark Ovens <mark@ukug.uk.FreeBSD.org>
Submitted by:   Neil Blakey-Milner <nbm@mithrandir.moria.org>
1999-11-01 19:41:02 +00:00
Alexey Zelkin
33fd5935c2 Ask jade(1) about additional META in header of Russian FAQ:
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">

Requested by: wosch
1999-10-31 22:13:58 +00:00
Alexey Zelkin
b9ae21e11c Typo fixes
Remove duplicated DOCDIR description in comments
1999-10-13 00:42:21 +00:00
John Baldwin
8e1a8ece3f A collection of man-ref entries needed for the NIS article, and also the
revamp of the fonts article.

PR:		docs/14193
Submitted by:	Neil Blakey-Milner <nbm@rucus.ru.ac.za>
1999-10-10 17:57:41 +00:00
Jesus Rodriguez Cuesta
f8da7adcf2 Fix handbook symlink install problem with old version installed
PR:		docs/14163
Submitted by:	nbm@rucus.ru.ac.za
1999-10-06 14:00:17 +00:00
John Baldwin
c2f66c7ff1 Add an entity for portlint(1) which is needed by the ports-specific
section of the committers' guide.
1999-09-29 02:09:42 +00:00
Nik Clayton
5aa7029e00 Added entities for
awk(1) date(1) gcc(1) grep(1) script(1) top(1) fastboot(8) ifconfig(8)
    sysctl(8)

Needed for the "make world" section.
1999-09-26 18:34:33 +00:00
Jim Mock
250a692ba9 Added entity for gunzip. This is needed for the updated handbook entry in
docs/13605 that I'll be committing shortly.

Reviewed by:	nik
1999-09-10 00:51:29 +00:00
Wolfram Schneider
40231e0ef1 Use install opiton -C for installing files. 1999-09-09 17:11:28 +00:00
Peter Wemm
5ff728b8ca $Id$ -> $FreeBSD$ 1999-09-06 06:53:43 +00:00
Nik Clayton
10922add2f Rudimentary support for <segmentedlist>. Just builds a table for the
entries, and works for HTML output only.
1999-09-03 17:12:43 +00:00