Quick Start Guide
DEP4E
1. Prerequisites
To complete the procedures in this guide the following software systems are required.
-
A Java Platform, Standard Edition 7 Runtime Environment (JRE 7)
Download Site: http://www.oracle.com/technetwork/java/javase/downloads/
-
An Eclipse IDE Kepler Release (4.3)
Download Site: http://www.eclipse.org/downloads/
2. Installation
-
Launch Eclipse.
-
Open the Screenshot Install New Software).
menu and select (See:Figure 1. Screenshot Install New Software
-
Insert the URL of the DEP4E Update Site (P2 Repository) http://sourceforge.net/projects/dep4e/files/repository/ into the Work with text box and press Enter (See: Screenshot URL).
Figure 2. Screenshot URL
-
Click the Screenshot Selection).
button to select DEP4E for installation (See:Figure 3. Screenshot Selection
-
The "Review Page" appears. Click the Screenshot Review).
button to continue (See:Figure 4. Screenshot Review
-
The "License Page" appears. Click the Screenshot License).
to select "I accept the terms of the license agreement". Click the button to continue (See:Figure 5. Screenshot License
Eclipse starts to download the packages.
-
The "Security Warning Dialog" appears. Click the Screenshot Security Warning).
button to continue the installation (See:Figure 6. Screenshot Security Warning
Eclipse continues the installation.
-
The "Restart Dialog" appears. Click the Screenshot Restart).
button to restart Eclipse (See:Figure 7. Screenshot Restart
Eclipse restarts. After the restart DEP4E is ready to work.
3. Getting Started
-
Open the Screenshot New Project).
menu and select → (See:Figure 8. Screenshot New Project
-
The "Wizard Selection Page" appears. Expand the category Screenshot Wizard Selection).
and select . Click the button (See:Figure 9. Screenshot Wizard Selection
-
The "DocBook 5.0 Project Wizard Page" appears. Edit the Project Name and click the Screenshot DocBook Project Wizard).
button (See:Figure 10. Screenshot DocBook Project Wizard
-
The "Open Perspective Dialog" appears. Click the Screenshot Open Perspective).
button to open the DocBook Perspective (See:Figure 11. Screenshot Open Perspective
-
Eclipse opens the DocBook Perspective (See: Screenshot DocBook Perspective).
Figure 12. Screenshot DocBook Perspective
The DocBook perspective contains the tools needed to work with DocBook and consists of the following parts.
-
Navigator View
-
Ant View
-
DocBook XML Editor
-
Problems View
-
Console View
-
Outline View
-
Snippets View
-
-
To start the processing of a DocBook 5.0 Project double click on the entry of the projects build file in the Ant View (See: Screenshot Start Ant Build).
Figure 13. Screenshot Start Ant Build
Eclipse starts the Ant build.
-
Follow the Ant build in the Console View until it is finished (See: Screenshot Ant Build).
Figure 14. Screenshot Ant Build
-
After the Ant build is finished select the project in Navigator View and press F5 . Eclipse refreshes the project and the target directory appears. Expand the target directory and explore the results of the processing (See: Screenshot Build Results).
Figure 15. Screenshot Build Results
-
Have fun with DocBook!
4. References
-
DocBook 5 - The Definitive Guide
-
DocBook XSL - The Complete Guide
-
DocBook XSL Stylesheets - Reference Documentation
-
The DoCookBook - Recipes for DocBook Developers and Writers
-
DocBook.org - Help!