再继续执行下面命令:
E:\DevRoot\docbook\tools\fop-1.0\fop.cmd -c E:\DevRoot\docbook\config\fop\fop.xconf -fo ../output/fo/docbook5_demo.fo -pdf ../output/pdf/docbook5_demo.pdf
相应的屏幕输出为:
E:\DevRoot\docbook\books\docbook5_demo\src>E:\DevRoot\docbook\tools\fop-1.0\fop.cmd -c E:\DevRoot\docbook\config\fop\fop.xconf -fo ../output/fo/docbook5_d -pdf ../output/pdf/docbook5_demo.pdf 六月 07, 2012 11:28:38 下午 org.apache.fop.apps.FopFactoryConfigurator configure 信息: Default page-height set to: 11in 六月 07, 2012 11:28:38 下午 org.apache.fop.apps.FopFactoryConfigurator configure 信息: Default page-width set to: 8.26in 六月 07, 2012 11:28:41 下午 org.apache.fop.hyphenation.Hyphenator getHyphenationTree 严重: Couldn't find hyphenation pattern zh_cn
如此,就可以正常生成对应的pdf文件了,截图效果如下: