Add all the source files from the old CVS tree,
[import/samba-docs-svnimport.git] / docbook.txt
1 !==
2 !== docbook.txt for Samba 3.0
3 !==
4 !== Author:     David Bannon, D.Bannon@latrobe.edu.au  November, 2000
5 !== Updates:    Gerald (Jerry) Carter, jerry@samba.org, Feb. 2001
6 !== Updates:    Jelmer Vernooij, jelmer@samba.org,              Aug, 2002
7 !== Updates:    Jelmer Vernooij, jelmer@samba.org,              Jun, 2003
8
9 What are DocBook documents doing in the Samba Distribution ?
10 -----------------------------------------------------------
11
12 We have converted all samba docs to XML/DocBook V4.2
13 in order to make them easier to maintain and produce a nicer looking
14 product.
15
16 This short note (strange isn't it how it always starts out as a short note
17 and becomes a long one ?) will explain very briefly how and why we have
18 done this.
19
20
21 The format
22 ----------
23 If you are new to xml, regard an xml file as 'source code'. You don't
24 read it directly, but use it to create other formats (like the txt and html
25 included in ../txtdocs and ../htmldocs).
26
27 Docbook is a particular XML style, particularly suited to producing
28 technical manuals. 
29
30 For more information on DocBook tags and format, see "DocBook: The 
31 Definitive Guide" by Walsh and Muellner, (c) O'Reilly Publishing.
32 This book covers DocBook V4.2 and is available on-line
33 at http://www.docbook.org/
34
35 The Output
36 ----------
37 The current Samba CVS tree contains the XML/DocBook source files.
38
39 A regularly generated version can be found at http://samba.org/samba/docs/.
40
41 The Tools
42 ---------
43
44 To generate the docs, you need to have the following packages installed:
45
46  * autoconf
47  * docbook-utils
48  * xsltproc
49  * pngtopnm and pnmtops (from the netpbm utilities)
50  * cvs2cl (for generating the changelog file for the HOWTO)
51
52 For generating PDF (thru LaTeX):
53  * db2latex (from http://db2latex.sf.net/). Make sure to get CVS version
54    dated 20030622 -- it works best. Versions previous to 20030425 are known
55    to have problems, as well as current (as of 20031210) snapshots.
56  * pdflatex
57
58 For generating PostScript (thru LaTeX):
59  * latex
60  * dvips 
61
62 For generating ASCII:
63  * xmlto 
64
65 This directory now contains a ./configure script and Makefile to 
66 support the automated building of man pages (including HTML versions), and 
67 the building of the Samba-HOWTO-Collection and the 
68 Samba Developers Guide (HTML,DVI,TeX,PDF,PS,Text versions).