Table of Contents
Description of the Windows/Unix batch files located in '<enhydra_root>/multiserver/enhydra/bin' :
Used for 'html' document generation based on DocBook source.
It receipt's two command line parameters. First is, actual, file name of DocBook source (XML file which contains document source organized by DocBook defined xml-tags) - extension included. Second is resulting file name, file that will be created (overwriten) as a result of DocBook generation process - extension included.
Used for 'xhtml' document generation based on DocBook source.
It receipt's two command line parameters. First is file name of DocBook source (extension included). Second is resulting file name (extension included).
Used for 'fo' document generation based on DocBook source.
It receipt's two command line parameters. First is file name of DocBook source (extension included). Second is resulting file name (extension included).
Used for 'pdf' document generation based on 'fo' document.
It receipt's two command line parameters. First is file name of input 'fo' source (extension included). Second is resulting 'pdf' file name (extension included).
Used for 'pdf' document generation based on DocBook source.
Composed of previous two commands.
It receipt's two command line parameters. First is file name of DocBook source (extension included). Second is resulting file name (extension included).
Used for generation of HTML Help file from DocBook sources
It receipt's one command line parameters - file name of DocBook source (extension included).
Used for generation of Java Help file from DocBook sources
It receipt's one command line parameters - file name of DocBook source (extension included).
All mentioned batch files use Enhydra integrated DocBook templates for document generation.
EXAMPLE
Here is simple example of Enhydra DocBook db2html bach/shell script file use. These sample generates 'html' document based on DocBook 'xml' document source:
'cd' to the directory in which your DocBook source document is (eg. index.xml).
Windows:
'db2html.bat index.xml index.html'
Unix:
'./db2html index.xml index.html'
As a result of these process we will get two, newly generated, files in current directory. First, 'db2html.log' file that containes transformation process messages. Second, resulting 'index.html' page containing our document source.
IMPORTANT NOTE: Please, include '<enhydra_root>/multiserver/enhydra/bin' directory in your PATH environment variable.