This is the mail archive of the
docbook-apps@lists.oasis-open.org
mailing list .
Re: NewBie Question
- From: Norman Walsh <ndw at nwalsh dot com>
- To: fbeauregard at pyxis-tech dot com
- Cc: docbook-apps at lists dot oasis-open dot org
- Date: Fri, 01 Mar 2002 00:00:06 +0100
- Subject: DOCBOOK-APPS: Re: NewBie Question
- References: <NBBBLHOLFGPJJKAPMAJIKEKJCJAA.fbeauregard@pyxis-tech.com>
/ François Beauregard <fbeauregard@pyxis-tech.com> was heard to say:
| I have managed to generate documents to HTML using docbook-xsl using SAXON
| Here is a little part of my ant build file
| <!-- Generate HTML from XML -->
| <touch file="${basedir}/docs/${document.name}"/>
| <style processor="trax"
| basedir="${basedir}/docs"
| destdir="${dist.dir}"
| style="${basedir}/lib/docbook/html/chunk.xsl"
| includes="${document.name}"
| classpathref="project.class.path"
| />
|
| I would like to generate pdf using FOP.
Well, something like this:
<style processor="trax"
basedir="${basedir}/docs"
destdir="${dist.dir}"
style="${basedir}/lib/docbook/fo/docbook.xsl"
includes="${document.name}"
classpathref="project.class.path"
/>
should get you an FO file. And then it's probably possible to plug FOP into
Ant, but I can't say how off the top of my head. Maybe the FOP or Ant
docs say how?
Be seeing you,
norm
--
Norman Walsh <ndw@nwalsh.com> | Exuberance is beauty.--Blake
http://www.oasis-open.org/docbook/ |
Chair, DocBook Technical Committee |