summaryrefslogtreecommitdiffstats
path: root/kdoctools/customization/README
blob: 51ff106146b6f5fc528e714940a9ed0f88e9b4f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
2002-11-12
Some short documentation on the different stylesheets, and how to use them.

kde-chunk.xsl

The standard TDE stylesheet, as used to generate the content for
KHelpCenter.  If you do not specify a stylesheet, this is the default.

This stylesheet includes kde-navig.xsl, which controls the
presentation of the top and bottom of the page graphics, and is reused
in other places.  You should probably not call kde-navig.xsl on it's own.

kde-nochunk.xsl

This is very similar to the standard TDE stylesheet, but it creates
one single html file for the entire document.  This is one way to get
print output, using html2pdf or html2ps.  It's also useable to create
a "printable version" of a document to link to on a website.

kde-style.xsl

All TDE "look and feel" customizations (other than the navigation
graphics in kde-navig.xsl) are here. This is where changes to how
things render are placed.  In most cases, the actual rendering is
controlled by the CSS files, and this file simply has the instructions
to ensure class attributes are written into the HTML as necessary, for
the CSS to display.

kde-ttlpg.xsl

The Title Page layout for the TDE documentation.  This one covers
customizing the TOC, presentation of legal notices, and a slightly
different navigation graphic.

kde-web.xsl
(This stylesheet includes kde-web-navig.xsl, which should not be used
directly on it's own)

Simplified version of the TDE stylesheet, aimed at websites.  Content
is constrained to a 680px wide table.  You could use this for example,
to generate web pages that will print nicely and display on older
browsers nicely.

kde-chunk-online.xsl
(This stylesheet includes kde-web-navig-online.xsl, which should not
be used directly on it's own)

Slightly altered version of the TDE stylesheet, used to generate the
website versions, among others.

kde-man.xsl

A stylesheet for generating *roff output (for manpages) from DocBook
files. It's virtually the same as the original manpages/docbook.xsl file
from the DocBook XSL package, except that the output file's name is
hardcoded to 'manpage.troff', and the 'Writing manpage.troff' message
is suppressed.