Commit graph

25 commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
9b0a980469 Add $FreeBSD$ comment.
Submitted by:   billf
1999-11-15 19:44:15 +00:00
Nik Clayton
212679edca Fix a typo in the French localisation of the stylesheets. 1999-11-10 20:32:58 +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
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
Nik Clayton
e1302f8644 Remove the comment about <FAQList>, that's been obsoleted by DocBook 3.1.
Default to labelling questions with "Q:" and answers with "A:" when
processing <qandaset>s.  In the HTML output, render questions in a larger,
bolder font than the answers.  Requested by several people on -doc.

Default to numbering sections. Requested by one person on -doc, who
seemed somewhat confused that I hadn't read his mind and done this three
months previously.
cvs: ----------------------------------------------------------------------
1999-08-23 21:02:01 +00:00
Jun Kuriyama
fad371fe20 Add temporary option %lang.ja.dsssl;.
Current version of dsssl-docbook-modular has Japanese option, but
this doesn't satisfy our needs.
Until I write a patch, Japanese stylesheet should be off.
1999-04-08 14:17:50 +00:00
Nik Clayton
46ad10792f Hmm. I already committed this remotely, it doesn't seem to have 'stuck'.
Explicitly set %lang.ja to "IGNORE", it will need to be turned on with
something like

    jade -ilang.ja ...
1999-04-05 17:24:40 +00:00
Nik Clayton
a49230e352 Remove old hack to indent verbatim environments, and use new, Norm Walsh
sanctioned hack to indent verbatim environments :-)

Explicitly turn off formatting a <variablelist> as a table, it's still
buggy.

Rename "usen-*" to "en-*", as the usage changed in the underlying
stylesheets.  The leader to a <warning> or <caution> should now have
the ":" in the correct position.
1999-04-04 17:08:20 +00:00
Jun Kuriyama
b859c3ea6b Add Japanese specific definitions. 1999-04-04 15:33:23 +00:00
Nik Clayton
6c56672923 Removed the reference to handbook.css, that shouldn't be in there yet.
Turned html-manifest from #t to #f. This can be set to #t via an option
to jade(1), but the reverse is not true.
1999-01-27 23:29:14 +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
Renamed from sgml/freebsd.dsl (Browse further)