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
19 What are DocBook documents doing in the Samba Distribution ?
20 -----------------------------------------------------------
22 We have converted all samba docs to XML/DocBook V4.2
23 in order to make them easier to maintain and produce a nicer looking
26 This short note (strange isn't it how it always starts out as a short note
27 and becomes a long one ?) will explain very briefly how and why we have
33 If you are new to xml, regard an xml file as 'source code'. You don't
34 read it directly, but use it to create other formats (like the txt and html
35 included in ../txtdocs and ../htmldocs).
37 Docbook is a particular XML style, particularly suited to producing
40 For more information on DocBook tags and format, see "DocBook: The
41 Definitive Guide" by Walsh and Muellner, (c) O'Reilly Publishing.
42 This book covers DocBook V4.2 and is available on-line
43 at http://www.docbook.org/
47 The current Samba Subversion tree contains the XML/DocBook source files.
49 A regularly generated version can be found at http://samba.org/samba/docs/.
54 To generate the docs, you need to have the following packages installed:
59 * pngtopnm and pnmtops (from the netpbm utilities)
61 For generating PDF (thru LaTeX):
62 * db2latex (from http://db2latex.sf.net/). Make sure to get CVS version
63 dated 20030622 -- it works best. Versions previous to 20030425 are known
64 to have problems, as well as current (as of 20031210) snapshots.
68 For generating PostScript (thru LaTeX):
75 This directory now contains a ./configure script and Makefile to
76 support the automated building of man pages (including HTML versions), and
77 the building of the Samba-HOWTO-Collection and the
78 Samba Developers Guide (HTML,DVI,TeX,PDF,PS,Text versions).
80 The configure script detects which of the required utilities are installed
81 and builds as much docs as it can using these tools.
83 Help! Building the docs generates a lot of HTTP traffic...
85 To be able to build the docs without an internet connection (or faster with
86 a slow internet connection), you need to set up "catalogs".
88 A catalog contains a list of mappings to locally cached documents. E.g. :
89 http://db2latex.sf.net/xsl/ -> /usr/share/sgml/docbook/db2latex/xsl/
91 Add the following two lines to /etc/xml/catalog for db2latex:
92 <rewriteURI uriStartString="http://db2latex.sourceforge.net/xsl/" rewritePrefix="/export/user/me/source/docbook/db2latex/xsl/"/>
93 <rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="/export/user/me/source/docbook/docbook-xsl/"/>
95 For the Pearson DTD, add something like:
97 <public publicId="-//Pearson//DTD Books//DE" uri="file:///home/jelmer/Xml_dtd_1.1/pearson.dtd"/>
99 (of course, adapt /export/user/me/source/ to whatever path db2latex is
102 catalog entries for the other DTD's and XSL scripts should be present on your
107 http://htmlhelp.berlios.de/howto/mshh4wine.php