1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/docs
Karolin Seeger b475749aa0 Fix typos found by Bjoern Jacke <bj@sernet.de>
Karolin
(This used to be commit bf9364ec06)
2008-04-23 08:47:34 -05:00
..
archives adding the THANKS and history files back after talking to jht 2008-04-23 08:45:47 -05:00
linux-client minor updates to linux client user guide 2008-04-23 08:47:25 -05:00
manpages-3 Fix typos found by Bjoern Jacke <bj@sernet.de> 2008-04-23 08:47:34 -05:00
registry femoving outdated registry file to prevent confusion 2008-04-23 08:47:11 -05:00
Samba3-ByExample Fix provided by Gavin Henry. 2008-04-23 08:47:34 -05:00
Samba3-Developers-Guide Fix Samba documentation build for manpages 2008-04-23 08:47:33 -05:00
Samba3-HOWTO Fix typo notified by 2008-04-23 08:47:34 -05:00
Samba4-HOWTO Add a couple of missing files 2008-04-23 08:46:33 -05:00
scripts Autogenerate parts of the makefile rather then calling seperate shell scripts. 2008-04-23 08:46:22 -05:00
smbdotconf Remove the docs for "open files database hash size" 2008-04-23 08:47:34 -05:00
templates Fix Samba documentation build for manpages 2008-04-23 08:47:33 -05:00
test Add simple test document used for testing the docs build system 2008-04-23 08:47:06 -05:00
xslt And more fixes for slashes: use <literal/> in <command/> and <value/> automatically 2008-04-23 08:47:33 -05:00
.bzrignore Use default autoconf extension, add some ignore files. 2008-04-23 08:47:30 -05:00
aclocal.m4 Update list of (possible) dependencies 2008-04-23 08:46:22 -05:00
configure.ac Use default autoconf extension, add some ignore files. 2008-04-23 08:47:30 -05:00
db2latex-xslt-strict.diff Add patch for db2latex that fixes problems with newer versions of xsltproc 2008-04-23 08:46:17 -05:00
htmldocs.html fixing up some links in the html documentation 2008-04-23 08:47:06 -05:00
Makefile Fix Samba documentation build for manpages 2008-04-23 08:47:33 -05:00
Makefile.settings.in Fix support for ph-style pages - use ./configure --enable-prentice-hall to enable. 2008-04-23 08:46:47 -05:00
README Move existing samba4 documentation to Samba-docs trunk 2008-04-23 08:46:33 -05:00
Samba-EventLog-HOWTO.txt Eventlog HOWTO - temporary copy, 2008-04-23 08:47:14 -05:00
Samba.desktop Added polish translation of the comment. 2008-04-23 08:45:52 -05:00
structure.dia Add structure diagram 2008-04-23 08:46:32 -05:00

!==
!== docbook.txt for Samba 3.0
!==
!== Author:	David Bannon, D.Bannon@latrobe.edu.au  November, 2000
!== Updates:	Gerald (Jerry) Carter, jerry@samba.org, Feb. 2001
!== Updates:	Jelmer Vernooij, jelmer@samba.org,		Aug, 2002
!== Updates:	Jelmer Vernooij, jelmer@samba.org,		Jun, 2003
!== Updates: 	Jelmer Vernooij, jelmer@samba.org,		May, 2004
!== Updates:    Jelmer Vernooij, jelmer@samba.org,              May, 2005

Quick start
-----------

Run:

make all

What are DocBook documents doing in the Samba Distribution ?
-----------------------------------------------------------

We have converted all samba docs to XML/DocBook V4.2
in order to make them easier to maintain and produce a nicer looking
product.

This short note (strange isn't it how it always starts out as a short note
and becomes a long one ?) will explain very briefly how and why we have
done this.


The format
----------
If you are new to xml, regard an xml file as 'source code'. You don't
read it directly, but use it to create other formats (like the txt and html
included in ../txtdocs and ../htmldocs).

Docbook is a particular XML style, particularly suited to producing
technical manuals. 

For more information on DocBook tags and format, see "DocBook: The 
Definitive Guide" by Walsh and Muellner, (c) O'Reilly Publishing.
This book covers DocBook V4.2 and is available on-line
at http://www.docbook.org/

The Output
----------
The current Samba Subversion tree contains the XML/DocBook source files.

A regularly generated version can be found at http://samba.org/samba/docs/.

The Tools
---------

To generate the docs, you need to have the following packages installed:

 * GNU Make
 * GNU autoconf
 * docbook-utils
 * xsltproc
 * pngtopnm and pnmtops (from the netpbm utilities)
 * dia

For generating PDF (thru LaTeX):
 * db2latex (from http://db2latex.sf.net/). Make sure to get CVS version
   dated 20030622 -- it works best. Versions previous to 20030425 are known
   to have problems, as well as current (as of 20031210) snapshots.
 * pdflatex
 * thumbpdf

For generating PDF (thru FO):
 * fop (http://xml.apache.org/fop/)

For generating PostScript (thru LaTeX):
 * db2latex
 * latex
 * dvips 

For generating ASCII:
 * html2text

For generating Palm-viewable docs:
 * plucker-build

For generating texi files:
 * docbook2x-texi
 * makeinfo

For validating:
 * xmllint

This directory now contains a ./configure script and Makefile to 
support the automated building of man pages (including HTML versions), and 
the building of the Samba-HOWTO-Collection and the 
Samba Developers Guide (HTML,DVI,TeX,PDF,PS,Text versions).

The configure script detects which of the required utilities are installed 
and builds as much docs as it can using these tools.

Help! Building the docs generates a lot of HTTP traffic...
-------------
To be able to build the docs without an internet connection (or faster with 
a slow internet connection), you need to set up "catalogs".

A catalog contains a list of mappings to locally cached documents. E.g. :
http://db2latex.sf.net/xsl/ -> /usr/share/sgml/docbook/db2latex/xsl/

Add the following two lines to /etc/xml/catalog for db2latex:
<rewriteURI uriStartString="http://db2latex.sourceforge.net/xsl/" rewritePrefix="/export/user/me/source/docbook/db2latex/xsl/"/>
<rewriteURI uriStartString="http://docbook.sourceforge.net/release/xsl/current/" rewritePrefix="/export/user/me/source/docbook/docbook-xsl/"/>

For the Pearson DTD, add something like:

  <public publicId="-//Pearson//DTD Books//DE" uri="file:///home/jelmer/Xml_dtd_1.1/pearson.dtd"/>

For the Samba DTD's, add something like:
  <rewriteURI uriStartString="http://www.samba.org/samba/DTD" rewritePrefix="file:///home/jelmer/samba-web/DTD"/>

(of course, adapt /export/user/me/source/ to whatever path db2latex is 
 installed in...)

catalog entries for the other DTD's and XSL scripts should be present on your 
system already.

Windows Help files
----------
http://htmlhelp.berlios.de/howto/mshh4wine.php