3 This directory contains the source files needed to build the:
5 Ethereal User's guide (almost ready to release, has to be reviewed)
9 Ethereal Developer's Guide (long time unchanged still a very early state).
11 To build the User's Guide, just do 'make', but see requirements below.
12 The Developer's Guide is currently not generated, as it has no content.
15 The guides are written in Docbook/XML (formerly Docbook/SGML). This format is
16 now used by many other documentation projects, e.g. "the linux documentation
19 To get HTML, PDF or other output formats, conversions are done using XSL
20 stylesheets, which provides a flexible way for these conversions.
22 The current Makefile is running under Win32 in the cygwin environment, so it uses
23 GNU make and such. It should be pretty easy to use it in UNIX environments too.
24 Using Microsoft make (nmake) is not supported.
26 By default the Makefile generates HTML in single page and multiple (chunked) formats.
27 Optional output formats are PDF and CHM.
33 Settings in Makefile and catalog.xml
34 ------------------------------------
35 You have to edit the settings in these files, to point to the DTD/XSL files, fop (and possibly hhc).
39 DocBook "official" XML DTD V4.2 from:
40 http://www.oasis-open.org/docbook/xml/
41 (or using cygwin package docbook-xml42)
45 The "official" XSL stylesheets from Norman Walsh:
46 http://docbook.sourceforge.net/
47 (or using cygwin package docbook-xsl)
51 The XSL processor xsltproc.
52 (it seems to be packages libxml2 and libxslt, ... please give comments)
54 FOP processor (for PDF generation only)
55 ---------------------------------------
56 FOP processor from the apache project:
57 http://xml.apache.org/fop/
58 FOP is a JAVA program, so you need to have a JAVA environment installed.
59 I have put the fop-0.20.5 dir right into the sources dir. If you have it somewhere else,
60 you'll have to change the setting in the Makefile.
62 Be sure to also have installed JAI and/or jimi to be able to use/convert the png graphics files.
63 The fop release note webpage tells how to do it:
65 http://java.sun.com/products/jimi/
66 then extract the archive, then copy JimiProClasses.zip to FOP's lib dir and rename it to jimi-1.0.jar.
68 As I got OutOfMemoryException when running fop, I had to insert -Xmx256m into the last line of the fop.bat file from:
69 java -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
71 java -Xmx256m -cp "%LOCALCLASSPATH%" org.apache.fop.apps.Fop %1 %2 %3 %4 %5 %6 %7 %8
73 HTML help compiler (for chm file generation only)
74 -------------------------------------------------
75 hhc compiler from Microsoft:
76 http://msdn.microsoft.com/library/default.asp?url=/library/en-us/htmlhelp/html/hwMicrosoftHTMLHelpDownloads.asp
81 There are several ways and tools to do these conversion, following is a short
82 description of the way the makefile targets are doing things and which output
83 files required for a release in that format.
86 Will generate all output formats (see below).
89 The HTML file is generated using xsltproc and the XSL stylesheets from
90 Norman Walsh. This is a conversion into a single HTML page.
94 The HTML files are generated using xsltproc and the XSL stylesheets from
95 Norman Walsh. This is a conversion into chunked (multiple) HTML pages.
96 output: eug_html_chunked
100 The PDF is generated using an intermediate format named XSL-FO (XSL
101 formatting objects). xsltproc converts the XML to a FO file, and then fop
102 (apache's formatting object processor) is used to generate the PDF document,
103 in US letter or A4 paper format.
104 TIPP: You will get lot's of INFO/WARNING/ERROR messages when generating pdf,
105 but conversation works just fine.
106 output: user-guide.pdf
109 On Win32 platforms, the "famous" HTML help format can be generated by using a
110 special HTML chunked conversion and then use the htmlhelp compiler from
114 The makefile is written to be run with gmake on unix/linux platforms. Win32
115 platforms have to use the cygwin environment (Microsoft nmake is not
119 Docbook web references:
120 -----------------------
121 Some web references to further documentation about Docbook/XML and Docbook XSL conversions:
123 DocBook: The Definitive Guide
124 by Norman Walsh and Leonard Muellner
125 http://www.docbook.org/tdg/en/html/docbook.html
127 DocBook XSL: The Complete Guide
129 http://www.sagehill.net/docbookxsl/index.html
131 Documention with DocBook on Win32
133 http://www.codeproject.com/winhelp/docbook_howto.asp
135 FO Parameter Reference
137 http://docbook.sourceforge.net/release/xsl/current/doc/fo/