This is the mail archive of the docbook-apps@lists.oasis-open.org mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: NewBie Question


/ 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 |


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]