2 !== docbook.txt for Samba 3.0
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
18 What are DocBook documents doing in the Samba Distribution ?
19 -----------------------------------------------------------
21 We have converted all samba docs to XML/DocBook V4.2
22 in order to make them easier to maintain and produce a nicer looking
25 This short note (strange isn't it how it always starts out as a short note
26 and becomes a long one ?) will explain very briefly how and why we have
32 If you are new to xml, regard an xml file as 'source code'. You don't
33 read it directly, but use it to create other formats (like the txt and html
34 included in ../txtdocs and ../htmldocs).
36 Docbook is a particular XML style, particularly suited to producing
39 For more information on DocBook tags and format, see "DocBook: The
40 Definitive Guide" by Walsh and Muellner, (c) O'Reilly Publishing.
41 This book covers DocBook V4.2 and is available on-line
42 at http://www.docbook.org/
46 The current Samba Subversion tree contains the XML/DocBook source files.
48 A regularly generated version can be found at http://samba.org/samba/docs/.
53 To generate the docs, you need to have the following packages installed:
59 * pngtopnm and pnmtops (from the netpbm utilities)
62 For 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.
69 For generating PDF (thru FO):
70 * fop (http://xml.apache.org/fop/)
72 For generating PostScript (thru LaTeX):
80 For generating Palm-viewable docs:
83 For generating texi files:
90 This directory now contains a ./configure script and Makefile to
91 support the automated building of man pages (including HTML versions), and
92 the building of the Samba-HOWTO-Collection and the
93 Samba Developers Guide (HTML,DVI,TeX,PDF,PS,Text versions).
95 The configure script detects which of the required utilities are installed
96 and builds as much docs as it can using these tools.
98 Help! Building the docs generates a lot of HTTP traffic...
100 To be able to build the docs without an internet connection (or faster with
101 a slow internet connection), you need to set up "catalogs".
103 A catalog contains a list of mappings to locally cached documents. E.g. :
104 http://db2latex.sf.net/xsl/ -> /usr/share/sgml/docbook/db2latex/xsl/
106 Add 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/"/>
110 For the Pearson DTD, add something like:
112 <public publicId="-//Pearson//DTD Books//DE" uri="file:///home/jelmer/Xml_dtd_1.1/pearson.dtd"/>
114 For the Samba DTD's, add something like:
115 <rewriteURI uriStartString="http://www.samba.org/samba/DTD" rewritePrefix="file:///home/jelmer/samba-web/DTD"/>
117 (of course, adapt /export/user/me/source/ to whatever path db2latex is
120 catalog entries for the other DTD's and XSL scripts should be present on your
125 http://htmlhelp.berlios.de/howto/mshh4wine.php