source: branches/samba-3.2.x/docs-xml/README

Last change on this file was 203, checked in by Herwig Bauernfeind, 16 years ago

Missing 3.2.2 client and HOWTO files

File size: 3.9 KB
Line 
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!== Updates: Jelmer Vernooij, jelmer@samba.org, May, 2004
9!== Updates: Jelmer Vernooij, jelmer@samba.org, May, 2005
10
11Quick start
12-----------
13
14Run:
15
16make all
17
18What are DocBook documents doing in the Samba Distribution ?
19-----------------------------------------------------------
20
21We have converted all samba docs to XML/DocBook V4.2
22in order to make them easier to maintain and produce a nicer looking
23product.
24
25This short note (strange isn't it how it always starts out as a short note
26and becomes a long one ?) will explain very briefly how and why we have
27done this.
28
29
30The format
31----------
32If you are new to xml, regard an xml file as 'source code'. You don't
33read it directly, but use it to create other formats (like the txt and html
34included in ../txtdocs and ../htmldocs).
35
36Docbook is a particular XML style, particularly suited to producing
37technical manuals.
38
39For more information on DocBook tags and format, see "DocBook: The
40Definitive Guide" by Walsh and Muellner, (c) O'Reilly Publishing.
41This book covers DocBook V4.2 and is available on-line
42at http://www.docbook.org/
43
44The Output
45----------
46The current Samba Subversion tree contains the XML/DocBook source files.
47
48A regularly generated version can be found at http://samba.org/samba/docs/.
49
50The Tools
51---------
52
53To generate the docs, you need to have the following packages installed:
54
55 * GNU Make
56 * GNU autoconf
57 * docbook-utils
58 * xsltproc
59 * pngtopnm and pnmtops (from the netpbm utilities)
60 * inkscape
61
62For generating PDF (thru LaTeX):
63 * db2latex (from http://db2latex.sf.net/). Make sure to get CVS version
64 dated 20030622 -- it works best. Versions previous to 20030425 are known
65 to have problems, as well as current (as of 20031210) snapshots.
66 * pdflatex
67 * thumbpdf
68
69For generating PDF (thru FO):
70 * fop (http://xml.apache.org/fop/)
71
72For generating PostScript (thru LaTeX):
73 * db2latex
74 * latex
75 * dvips
76
77For generating ASCII:
78 * html2text
79
80For generating Palm-viewable docs:
81 * plucker-build
82
83For generating texi files:
84 * docbook2x-texi
85 * makeinfo
86
87For validating:
88 * xmllint
89
90This directory now contains a ./configure script and Makefile to
91support the automated building of man pages (including HTML versions), and
92the building of the Samba-HOWTO-Collection and the
93Samba Developers Guide (HTML,DVI,TeX,PDF,PS,Text versions).
94
95The configure script detects which of the required utilities are installed
96and builds as much docs as it can using these tools.
97
98Help! Building the docs generates a lot of HTTP traffic...
99-------------
100To be able to build the docs without an internet connection (or faster with
101a slow internet connection), you need to set up "catalogs".
102
103A catalog contains a list of mappings to locally cached documents. E.g. :
104http://db2latex.sf.net/xsl/ -> /usr/share/sgml/docbook/db2latex/xsl/
105
106Add the following two lines to /etc/xml/catalog for db2latex:
107<rewriteURI uriStartString="http://db2latex.sourceforge.net/xsl/" rewritePrefix="/export/user/me/source/docbook/db2latex/xsl/"/>
108<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="/export/user/me/source/docbook/docbook-xsl/"/>
109
110For the Pearson DTD, add something like:
111
112 <public publicId="-//Pearson//DTD Books//DE" uri="file:///home/jelmer/Xml_dtd_1.1/pearson.dtd"/>
113
114For the Samba DTD's, add something like:
115 <rewriteURI uriStartString="http://www.samba.org/samba/DTD" rewritePrefix="file:///home/jelmer/samba-web/DTD"/>
116
117(of course, adapt /export/user/me/source/ to whatever path db2latex is
118 installed in...)
119
120catalog entries for the other DTD's and XSL scripts should be present on your
121system already.
122
123Windows Help files
124----------
125http://htmlhelp.berlios.de/howto/mshh4wine.php
Note: See TracBrowser for help on using the repository browser.