[
https://issues.apache.org/jira/browse/DBF-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12528828
]
Fred Muhlenberg commented on DBF-3:
-----------------------------------
Now that I've had more time to look, I realize this patch doesn't really change
anything.
The org.apache.fop.cli.Main will accept the ${pdf.target.file}.xml and
${target.dir}/${docbook.dir}/pdf/${docbook.file}.pdf
as is (ie without the -fo and -pdf parameters).
However, I would argue that for the sake of clarity the addition of the -fo and
-pdf flags is needed.
> Patch to build-docbook.xml to support FOP 0.94
> ----------------------------------------------
>
> Key: DBF-3
> URL: https://issues.apache.org/jira/browse/DBF-3
> Project: DocBook Framework
> Issue Type: Improvement
> Affects Versions: 1.1
> Environment: Win XP 2000 SP2, Cygwin, Java 1.6.0_02-b06, Apache Ant
> 1.7.0
> docbook-xml-4.5, docbook-xsl-snapshot
> Reporter: Fred Muhlenberg
>
> The following is a patch to the build-docbook.xml to support PDF generation
> using Apache FOP 0.94
> plato% svn diff build-docbook.xml
> Index: build-docbook.xml
> ===================================================================
> --- build-docbook.xml (revision 575675)
> +++ build-docbook.xml (working copy)
> @@ -265,8 +265,10 @@
> <java classname="org.apache.fop.cli.Main" fork="true" maxmemory="256m"
> dir="${basedir}" classpathref="dbf.classpath">
> - <arg value="${pdf.target.file}.xml"/>
> - <arg value="${target.dir}/${docbook.dir}/pdf/${docbook.file}.pdf"/>
> + <arg value="-fo"/>
> + <arg value="${pdf.target.file}.xml"/>
> + <arg value="-pdf"/>
> + <arg value="${target.dir}/${docbook.dir}/pdf/${docbook.file}.pdf"/>
> </java>
> </target>
> Additional steps:
> 1) Delete lib/fop-0.93.jar
> 2) Add fop-0.94.jar to lib
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]