Software Requirements
To run ezDocBook you will need the following
software:
- Java - Needed to make PDF and PS files
- python
- xsltproc
Installation
Linux
- Download the latest ezdocbook-X.X.X.tar.bz2
- cd /path/to/applications
- tar xjvf /path/to/ezdocbook-X.X.X.tar.bz2
- Setup the environment variable EZDOCBOOK with the name of the
installation directory.
- For csh/tcsh: Add this to your .cshrc: setenv
EZDOCBOOK /path/to/ezdocbook
- For bash/sh: Add this to your .bashrc: export
EZDOCBOOK=/path/to/ezdocbook
- Copy /path/to/ezdocbook/ezdoc to /usr/bin
Windows
- Install Cygwin and make sure to install docbook
- Follow the Linux instructions
MacOS X
- Install docbook from fink.sourceforge.net
- Follow the Linux intructions
Usage
Linux
- Go to the directory of your choice
- Type: ezdoc create my_book
- Type: cd my_book
- Edit your my_book.xml
- Once finished, you can just type:
- ezdoc pdf my_book.xml
- or: ezdoc txt my_book.xml
- or: ezdoc html my_book.xml
- or: ezdoc htmlchunk my_book.xml