最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】给cygwin的docbook环境中安装和配置hhc

Docbook crifan 2518浏览 0评论

【问题】

折腾:

【记录】尝试恢复基于cygwin的docbook环境

期间,找不到hhc了。

【解决过程】

1. 即,此处终于可以实现:

make后,可以完整的编译docbook中的book。

包括调用fop,调用ant去编译webhelp等等内容:

Administrator@PC-20130611GART /cygdrive/e/Dev_Root/docbook/dev/books/arm_vs_mips                                                  /src
$ make release_copy
=============================== generating pdf ==============================
fop –execdebug -c E:/Dev_Root/docbook/dev/config/fop/conf/fop.xconf ../output/fo/arm_vs_mips.fo -pdf ../output/pdf/arm_vs_mips.pdf
exec "/cygdrive/c/Program Files/Java/jdk1.7.0_25/bin/java" -classpath "E:/Dev_Root/docbook/tools/fop-1.0/lib/xmlgraphics-commons-1.4.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/xml-apis-ext-1.3.04.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/xml-apis-1.3.04.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/xercesImpl-2.7.1.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/xalan-2.7.0.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/serializer-2.7.0.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/fop-hyph.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/commons-logging-1.0.4.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/commons-io-1.3.1.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/batik-all-1.7.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/avalon-framework-4.2.0.jar;E:/Dev_Root/docbook/tools/fop-1.0/build/fop.jar;E:/Dev_Root/docbook/tools/fop-1.0/build/fop-sandbox.jar;E:/Dev_Root/docbook/tools/fop-1.0/build/fop-hyph.jar;.;C;E:/Program Files/Java/jdk1.7.0_25/jre/lib/rt.jar" org.apache.fop.cli.Main "-c" "E:/Dev_Root/docbook/dev/config/fop/conf/fop.xconf" "../output/fo/arm_vs_mips.fo" "-pdf" "../output/pdf/arm_vs_mips.pdf"
七月 09, 2013 8:58:49 下午 org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-height set to: 11in
七月 09, 2013 8:58:49 下午 org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-width set to: 8.26in
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Batang <– selected
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: BatangChe
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Gungsuh
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: GungsuhChe
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Batang
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: BatangChe <– selected
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Gungsuh
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: GungsuhChe
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Batang
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: BatangChe
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Gungsuh <– selected
七月 09, 2013 8:58:50 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: GungsuhChe
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Batang
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: BatangChe
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Gungsuh
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: GungsuhChe <– selected
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: capHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: xHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 2 fonts
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Cambria <– selected
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Cambria Math
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 2 fonts
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Cambria
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Cambria Math <– selected
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Gulim <– selected
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: GulimChe
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Dotum
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: DotumChe
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Gulim
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: GulimChe <– selected
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Dotum
七月 09, 2013 8:58:51 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: DotumChe
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Gulim
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: GulimChe
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Dotum <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: DotumChe
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Gulim
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: GulimChe
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Dotum
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: DotumChe <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: capHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Italic <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Italic <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Bold <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Bold Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Bold
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Bold Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Bold
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Bold Italic <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Bold
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Bold Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Bold
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Bold Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Bold <– selected
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Bold Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 4 fonts
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Bold
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo Bold Italic
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Bold
七月 09, 2013 8:58:52 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Meiryo UI Bold Italic <– selected
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU <– selected
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: PMingLiU
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU_HKSCS
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: PMingLiU <– selected
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU_HKSCS
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: PMingLiU
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU_HKSCS <– selected
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU-ExtB <– selected
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: PMingLiU-ExtB
七月 09, 2013 8:58:53 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU_HKSCS-ExtB
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU-ExtB
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: PMingLiU-ExtB <– selected
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU_HKSCS-ExtB
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU-ExtB
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: PMingLiU-ExtB
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MingLiU_HKSCS-ExtB <– selected
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS Gothic <– selected
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS PGothic
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS UI Gothic
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS Gothic
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS PGothic <– selected
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS UI Gothic
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 3 fonts
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS Gothic
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS PGothic
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS UI Gothic <– selected
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 2 fonts
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS Mincho <– selected
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS PMincho
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 2 fonts
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS Mincho
七月 09, 2013 8:58:54 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: MS PMincho <– selected
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: capHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: xHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 2 fonts
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: SimSun <– selected
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: NSimSun
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 2 fonts
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: SimSun
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: NSimSun <– selected
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: capHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: xHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: capHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: xHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: capHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: xHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: capHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: xHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: capHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:55 下午 org.apache.fop.fonts.truetype.TTFFile guessVerticalMetricsFromGlyphBBox
WARNING: xHeight value could not be determined. The font may not work as expected.
七月 09, 2013 8:58:57 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Font "Cambria Math,normal,700" not found. Substituting with "Cambria Math,normal,400".
七月 09, 2013 8:58:57 下午 org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn’t find hyphenation pattern zh_cn
七月 09, 2013 8:58:57 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Line 1 of a paragraph overflows the available area by 6274 millipoints. (See position 574:47)
七月 09, 2013 8:58:57 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Line 1 of a paragraph overflows the available area by 6274 millipoints. (See position 670:47)
七月 09, 2013 8:58:57 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 2 fonts
七月 09, 2013 8:58:57 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:57 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Cambria
七月 09, 2013 8:58:57 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Cambria Math <– selected
七月 09, 2013 8:58:59 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: This is a TrueType collection file with 2 fonts
七月 09, 2013 8:58:59 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Containing the following fonts:
七月 09, 2013 8:58:59 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Cambria
七月 09, 2013 8:58:59 下午 org.apache.fop.fonts.truetype.TTFFile checkTTC
INFO: Cambria Math <– selected
=============================== release pdf ==============================
cp -a ../output/pdf/arm_vs_mips.pdf ../release/pdf
7z a -mx9  ../release/pdf/arm_vs_mips.pdf.7z ../output/pdf/arm_vs_mips.pdf

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C.GBK@cjknarrow,Utf16=on,HugeFiles=on,4 CPUs)
Can’t load ‘/usr/lib/p7zip/Codecs/.keep-p7zip’ (Permission denied)
Scanning

Creating archive ../release/pdf/arm_vs_mips.pdf.7z

Compressing  arm_vs_mips.pdf

Everything is Ok
=============================== generating rtf ==============================
#cp -a
fop –execdebug -c E:/Dev_Root/docbook/dev/config/fop/conf/fop.xconf ../output/fo/arm_vs_mips.fo -rtf ../output/rtf/fop/arm_vs_mips.rtf
exec "/cygdrive/c/Program Files/Java/jdk1.7.0_25/bin/java" -classpath "E:/Dev_Root/docbook/tools/fop-1.0/lib/xmlgraphics-commons-1.4.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/xml-apis-ext-1.3.04.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/xml-apis-1.3.04.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/xercesImpl-2.7.1.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/xalan-2.7.0.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/serializer-2.7.0.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/fop-hyph.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/commons-logging-1.0.4.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/commons-io-1.3.1.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/batik-all-1.7.jar;E:/Dev_Root/docbook/tools/fop-1.0/lib/avalon-framework-4.2.0.jar;E:/Dev_Root/docbook/tools/fop-1.0/build/fop.jar;E:/Dev_Root/docbook/tools/fop-1.0/build/fop-sandbox.jar;E:/Dev_Root/docbook/tools/fop-1.0/build/fop-hyph.jar;.;C;E:/Program Files/Java/jdk1.7.0_25/jre/lib/rt.jar" org.apache.fop.cli.Main "-c" "E:/Dev_Root/docbook/dev/config/fop/conf/fop.xconf" "../output/fo/arm_vs_mips.fo" "-rtf" "../output/rtf/fop/arm_vs_mips.rtf"
七月 09, 2013 8:59:02 下午 org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-height set to: 11in
七月 09, 2013 8:59:02 下午 org.apache.fop.apps.FopFactoryConfigurator configure
INFO: Default page-width set to: 8.26in
七月 09, 2013 8:59:02 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Only simple-page-masters are supported on page-sequences. Using default simple-page-master from page-sequence-master "titlepage". (See position 247:310)
七月 09, 2013 8:59:03 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Only simple-page-masters are supported on page-sequences. Using default simple-page-master from page-sequence-master "lot". (See position 788:307)
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Only simple-page-masters are supported on page-sequences. Using default simple-page-master from page-sequence-master "lot". (See position 1120:307)
七月 09, 2013 8:59:04 下午 org.apache.fop.render.rtf.TextAttributesConverter convertLeaderAttributes
WARNING: RTF: fo:leader reference-area not supported
七月 09, 2013 8:59:04 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Only simple-page-masters are supported on page-sequences. Using default simple-page-master from page-sequence-master "back". (See position 1398:244)
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Only simple-page-masters are supported on page-sequences. Using default simple-page-master from page-sequence-master "body". (See position 1685:308)
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.datatypes.LengthBase getBaseLength
SEVERE: getBaseLength called without context
七月 09, 2013 8:59:04 下午 org.apache.fop.events.LoggingEventListener processEvent
WARNING: Only simple-page-masters are supported on page-sequences. Using default simple-page-master from page-sequence-master "back". (See position 2144:247)
#rm -rf
=============================== release chm ==============================
cp -a ../output/rtf/fop/arm_vs_mips.rtf ../release/rtf
7z a -mx9  ../release/rtf/arm_vs_mips.rtf.7z ../output/rtf/fop/arm_vs_mips.rtf

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C.GBK@cjknarrow,Utf16=on,HugeFiles=on,4 CPUs)
Can’t load ‘/usr/lib/p7zip/Codecs/.keep-p7zip’ (Permission denied)
Scanning

Creating archive ../release/rtf/arm_vs_mips.rtf.7z

Compressing  arm_vs_mips.rtf

Everything is Ok
=============================== release html ==============================
export XML_CATALOG_FILES="/home/develop/docbook/config_root/catalog/catalog.xml" && \
export XML_DEBUG_CATALOG=1 && \
xsltproc –xinclude  –stringparam callout.graphics 1  –stringparam admon.graphics 1   –stringparam callout.graphics.number.limit 30 –stringparam callout.graphics.extension .png –stringparam admon.graphics.extension .png –stringparam html.stylesheet.type text/css  –stringparam callout.graphics.path https://www.crifan.com/files/res/docbook/images/callouts/ –stringparam admon.graphics.path https://www.crifan.com/files/res/docbook/images/ –stringparam html.stylesheet https://www.crifan.com/files/res/docbook/css/common_html.css -o ../output/html/single/arm_vs_mips.html docbook_html_crl.xsl arm_vs_mips.xml
Resolve: sysID docbook_html_crl.xsl
-2147483592 Parsing catalog /home/develop/docbook/config_root/catalog/catalog.xml
/home/develop/docbook/config_root/catalog/catalog.xml added to file hash
Resolve URI docbook_html_crl.xsl
Found URI match docbook_html_crl.xsl
Resolve: pubID crl.ent sysID https://www.crifan.com/files/res/docbook/entity/crl.ent
Found public match crl.ent
Catalogs cleanup
Free catalog entry crl.ent
Free catalog entry /home/develop/docbook/tools_root/docbook-xsl-ns-1.77.1/
Free catalog entry docbook_html.xsl
Free catalog entry docbook_fo.xsl
Free catalog entry /home/develop/docbook/config_root/docbook-xsl-ns-1.77.1/
Free catalog entry docbook_html_crl.xsl
Free catalog entry chunk_html_crl.xsl
Free catalog entry docbook_htmlhelp_crl.xsl
Free catalog entry docbook_fo_crl.xsl
Free catalog entry /home/develop/docbook/config_root/catalog/catalog.xml
Free catalog entry
#cp -a  ../output/html/single/
#cp -a
cp -a ./images ../output/html/single/
#rm -rf
cp -a ../output/html/single/* ../release/html
7z a -mx9  ../release/html/arm_vs_mips.html.7z ../output/html/single/*

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C.GBK@cjknarrow,Utf16=on,HugeFiles=on,4 CPUs)
Can’t load ‘/usr/lib/p7zip/Codecs/.keep-p7zip’ (Permission denied)
Scanning

Creating archive ../release/html/arm_vs_mips.html.7z

Compressing  arm_vs_mips.html
Compressing  images/cp0_reg16_select1.png

Everything is Ok
=============================== generating txt ==============================
w3m -I UTF8 -O UTF8 -dump ../output/html/single/arm_vs_mips.html > ../output/plain_text/w3m/arm_vs_mips.txt
unix2dos ../output/plain_text/w3m/arm_vs_mips.txt
unix2dos: converting file ../output/plain_text/w3m/arm_vs_mips.txt to DOS format …
=============================== release txt ==============================
cp -a ../output/plain_text/w3m/arm_vs_mips.txt ../release/txt
7z a -mx9  ../release/txt/arm_vs_mips.txt.7z ../output/plain_text/w3m/arm_vs_mips.txt

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C.GBK@cjknarrow,Utf16=on,HugeFiles=on,4 CPUs)
Can’t load ‘/usr/lib/p7zip/Codecs/.keep-p7zip’ (Permission denied)
Scanning

Creating archive ../release/txt/arm_vs_mips.txt.7z

Compressing  arm_vs_mips.txt

Everything is Ok
=============================== release htmls ==============================
export XML_CATALOG_FILES="/home/develop/docbook/config_root/catalog/catalog.xml" && \
export XML_DEBUG_CATALOG=1 && \
xsltproc –xinclude  –stringparam callout.graphics 1  –stringparam admon.graphics 1   –stringparam callout.graphics.number.limit 30 –stringparam callout.graphics.extension .png –stringparam admon.graphics.extension .png –stringparam html.stylesheet.type text/css  –stringparam manifest arm_vs_mips.html.manifest    –stringparam callout.graphics.path https://www.crifan.com/files/res/docbook/images/callouts/ –stringparam admon.graphics.path https://www.crifan.com/files/res/docbook/images/ –stringparam html.stylesheet https://www.crifan.com/files/res/docbook/css/common_html.css –stringparam navig.graphics 1 –stringparam navig.graphics.extension .png –stringparam navig.graphics.path https://www.crifan.com/files/res/docbook/images/ -o ../output/html/multi/index.html chunk_html_crl.xsl arm_vs_mips.xml
Resolve: sysID chunk_html_crl.xsl
-2147483592 Parsing catalog /home/develop/docbook/config_root/catalog/catalog.xml
/home/develop/docbook/config_root/catalog/catalog.xml added to file hash
Resolve URI chunk_html_crl.xsl
Found URI match chunk_html_crl.xsl
Resolve: pubID crl.ent sysID https://www.crifan.com/files/res/docbook/entity/crl.ent
Found public match crl.ent
Writing glossary.html for glossary(glossary)
Writing ch01s02.html for sect1
Writing ch01_reduced_instruction_set.html for chapter(ch01_reduced_instruction_set)
Writing reference.html for bibliography(reference)
Writing index.html for book
Writing arm_vs_mips.html.manifest
Catalogs cleanup
Free catalog entry crl.ent
Free catalog entry /home/develop/docbook/tools_root/docbook-xsl-ns-1.77.1/
Free catalog entry docbook_html.xsl
Free catalog entry docbook_fo.xsl
Free catalog entry /home/develop/docbook/config_root/docbook-xsl-ns-1.77.1/
Free catalog entry docbook_html_crl.xsl
Free catalog entry chunk_html_crl.xsl
Free catalog entry docbook_htmlhelp_crl.xsl
Free catalog entry docbook_fo_crl.xsl
Free catalog entry /home/develop/docbook/config_root/catalog/catalog.xml
Free catalog entry
#cp -a  ../output/html/multi/
#cp -a
cp -a ./images ../output/html/multi/
#rm -rf
cp -a ../output/html/multi/* ../release/htmls
7z a -mx9  ../release/htmls/arm_vs_mips.htmls.7z ../output/html/multi/*

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C.GBK@cjknarrow,Utf16=on,HugeFiles=on,4 CPUs)
Can’t load ‘/usr/lib/p7zip/Codecs/.keep-p7zip’ (Permission denied)
Scanning

Creating archive ../release/htmls/arm_vs_mips.htmls.7z

Compressing  arm_vs_mips.html.manifest
Compressing  ch01s02.html
Compressing  ch01_reduced_instruction_set.html
Compressing  glossary.html
Compressing  index.html
Compressing  reference.html
Compressing  images/cp0_reg16_select1.png

Everything is Ok
=============================== generating chm ==============================
export XML_CATALOG_FILES="/home/develop/docbook/config_root/catalog/catalog.xml" && \
export XML_DEBUG_CATALOG=1 && \
xsltproc –xinclude  –stringparam callout.graphics 1  –stringparam admon.graphics 1   –stringparam callout.graphics.number.limit 30 –stringparam callout.graphics.extension .png –stringparam admon.graphics.extension .png –stringparam html.stylesheet.type text/css  –stringparam manifest arm_vs_mips.html.manifest    –stringparam callout.graphics.path E:/Dev_Root/docbook/dev/config/images/system/callouts/ –stringparam admon.graphics.path E:/Dev_Root/docbook/dev/config/images/system/ –stringparam html.stylesheet E:/Dev_Root/docbook/dev/config/docbook-xsl-ns-1.77.1/html/css/common_html.css –stringparam navig.graphics 1 –stringparam navig.graphics.extension .png –stringparam navig.graphics.path E:/Dev_Root/docbook/dev/config/images/system/  –stringparam htmlhelp.chm arm_vs_mips.chm   -o ../output/htmlhelp/arm_vs_mips.html docbook_htmlhelp_crl.xsl arm_vs_mips.xml
Resolve: sysID docbook_htmlhelp_crl.xsl
-2147483592 Parsing catalog /home/develop/docbook/config_root/catalog/catalog.xml
/home/develop/docbook/config_root/catalog/catalog.xml added to file hash
Resolve URI docbook_htmlhelp_crl.xsl
Found URI match docbook_htmlhelp_crl.xsl
Resolve: pubID crl.ent sysID https://www.crifan.com/files/res/docbook/entity/crl.ent
Found public match crl.ent
Writing go01.html for glossary(glossary)
Writing ch01s02.html for sect1
Writing ch01.html for chapter(ch01_reduced_instruction_set)
Writing bi01.html for bibliography(reference)
Writing index.html for book
Writing htmlhelp.hhp
Writing toc.hhc
Catalogs cleanup
Free catalog entry crl.ent
Free catalog entry /home/develop/docbook/tools_root/docbook-xsl-ns-1.77.1/
Free catalog entry docbook_html.xsl
Free catalog entry docbook_fo.xsl
Free catalog entry /home/develop/docbook/config_root/docbook-xsl-ns-1.77.1/
Free catalog entry docbook_html_crl.xsl
Free catalog entry chunk_html_crl.xsl
Free catalog entry docbook_htmlhelp_crl.xsl
Free catalog entry docbook_fo_crl.xsl
Free catalog entry /home/develop/docbook/config_root/catalog/catalog.xml
Free catalog entry
#cp -a  ../output/htmlhelp/
#cp -a
cp -a ./images ../output/htmlhelp/
#rm -rf
iconv -f UTF-8 -t GB18030 < ../output/htmlhelp/htmlhelp.hhp > ../output/htmlhelp/htmlhelp_gb18030.hhp
mv ../output/htmlhelp/htmlhelp_gb18030.hhp ../output/htmlhelp/htmlhelp.hhp
iconv -f UTF-8 -t GB18030 < ../output/htmlhelp/toc.hhc > ../output/htmlhelp/toc_gb18030.hhc
mv ../output/htmlhelp/toc_gb18030.hhc ../output/htmlhelp/toc.hhc
hhc ../output/htmlhelp/htmlhelp.hhp
make: hhc: Command not found
../../../config/docbook.mk:544: recipe for target `../output/htmlhelp/arm_vs_mips.chm’ failed
make: [../output/htmlhelp/arm_vs_mips.chm] Error 127 (ignored)
=============================== release chm ==============================
cp -a ../output/htmlhelp/arm_vs_mips.chm ../release/chm
cp: cannot stat `../output/htmlhelp/arm_vs_mips.chm’: No such file or directory
../../../config/docbook.mk:560: recipe for target `release_chm’ failed
make: [release_chm] Error 1 (ignored)
7z a -mx9  ../release/chm/arm_vs_mips.chm.7z ../output/htmlhelp/arm_vs_mips.chm

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C.GBK@cjknarrow,Utf16=on,HugeFiles=on,4 CPUs)
Can’t load ‘/usr/lib/p7zip/Codecs/.keep-p7zip’ (Permission denied)
Scanning

../output/htmlhelp/arm_vs_mips.chm:  WARNING: No more files

Creating archive ../release/chm/arm_vs_mips.chm.7z

 

WARNINGS for files:

../output/htmlhelp/arm_vs_mips.chm : No more files
—————-
WARNING: Cannot find 1 file
../../../config/docbook.mk:560: recipe for target `release_chm’ failed
make: [release_chm] Error 1 (ignored)
=============================== generating webhelp ==============================
ant webhelp
cygwin warning:
  MS-DOS style path detected: E:\Dev_Root\docbook\tools\ant\apache-ant-1.8.4
  Preferred POSIX equivalent is: /cygdrive/e/Dev_Root/docbook/tools/ant/apache-ant-1.8.4
  CYGWIN environment variable option "nodosfilewarning" turns off this warning.
  Consult the user’s guide for more details about POSIX paths:
    http://cygwin.com/cygwin-ug-net/using.html#using-pathnames
Buildfile: E:\Dev_Root\docbook\dev\books\arm_vs_mips\src\build.xml

validate:

clean:

chunk:
    [mkdir] Created dir: E:\Dev_Root\docbook\dev\books\arm_vs_mips\output\webhelp
     [xslt] Processing E:\Dev_Root\docbook\dev\books\arm_vs_mips\src\arm_vs_mips.xml to E:\Dev_Root\docbook\dev\books\arm_vs_mips\output\webhelp\null1792340261
     [xslt] Loading stylesheet E:\Dev_Root\docbook\tools\docbook-xsl-ns-1.77.1\profiling\profile.xsl
     [xslt] Processing E:\Dev_Root\docbook\dev\books\arm_vs_mips\output\webhelp\null1792340261 to E:\Dev_Root\docbook\dev\books\arm_vs_mips\output\webhelp\null1270378732
     [xslt] Loading stylesheet E:\Dev_Root\docbook\dev\ant\webhelp\xsl\webhelp_crl.xsl
     [xslt] language: en
     [xslt] Writing ../output/webhelp/content/glossary.html for glossary(glossary)
     [xslt] Writing ../output/webhelp/content/ch01s01s01.html for sect2
     [xslt] Writing ../output/webhelp/content/ch01s01.html for sect1
     [xslt] Writing ../output/webhelp/content/ch01s02s01.html for sect2
     [xslt] Writing ../output/webhelp/content/ch01s02s02.html for sect2
     [xslt] Writing ../output/webhelp/content/ch01s02s03.html for sect2
     [xslt] Writing ../output/webhelp/content/ch01s02.html for sect1
     [xslt] Writing ../output/webhelp/content/ch01_reduced_instruction_set.html for chapter(ch01_reduced_instruction_set)
     [xslt] Writing ../output/webhelp/content/reference.html for bibliography(reference)
     [xslt] Writing ../output/webhelp/content/index.html for book
     [xslt] Writing ../output/webhelp/index.html
     [xslt] Writing ../output/webhelp/content/search/l10n.js
     [copy] Copying 1 file to E:\Dev_Root\docbook\dev\books\arm_vs_mips\output\webhelp\content

index:
     [copy] Copying 1 file to E:\Dev_Root\docbook\dev\books\arm_vs_mips\output\webhelp
     [copy] Copying 4 files to E:\Dev_Root\docbook\dev\books\arm_vs_mips\output\webhelp
     [echo] Indexing html files in ../output/webhelp/content
     [java] Stemming enabled
     [java] The created index files are located in ..\output\webhelp\content\search\.js
     [java] Indexed the contents in 847 milliseconds

webhelp:

BUILD SUCCESSFUL
Total time: 10 seconds
=============================== release webhelp ==============================
mkdir -p ../release/webhelp
cp -a ../output/webhelp/* ../release/webhelp
7z a -mx9  ../release/webhelp/arm_vs_mips.webhelp.7z ../output/webhelp/*

7-Zip 9.20  Copyright (c) 1999-2010 Igor Pavlov  2010-11-18
p7zip Version 9.20 (locale=C.GBK@cjknarrow,Utf16=on,HugeFiles=on,4 CPUs)
Can’t load ‘/usr/lib/p7zip/Codecs/.keep-p7zip’ (Permission denied)
Scanning

Creating archive ../release/webhelp/arm_vs_mips.webhelp.7z

Compressing  content/images/cp0_reg16_select1.png
Compressing  content/ch01s01.html
Compressing  content/ch01s01s01.html
Compressing  content/ch01s02.html
Compressing  content/ch01s02s01.html
Compressing  content/ch01s02s02.html
Compressing  content/ch01s02s03.html
Compressing  content/ch01_reduced_instruction_set.html
Compressing  content/glossary.html
Compressing  index.html
Compressing  content/index.html
Compressing  content/reference.html
Compressing  content/search/stemmers/en_stemmer.js
Compressing  content/search/htmlFileInfoList.js
Compressing  content/search/index-1.js
Compressing  content/search/index-2.js
Compressing  content/search/index-3.js
Compressing  content/search/l10n.js
Compressing  content/search/nwSearchFnt.js

Everything is Ok
mkdir -p
E:/Dev_Root/www_crifan_com/files/doc/docbook/arm_vs_mips
rm -rf E:/Dev_Root/www_crifan_com/files/doc/docbook/arm_vs_mips/*
cp -a ../release E:/Dev_Root/www_crifan_com/files/doc/docbook/arm_vs_mips

但是,上面又出现一个小问题,那就是,用于编译chm的工具hhc,找不到。

原因是因为没有安装。

2.所以再去安装hhc。

参考自己的:

【全部解决】用Docbook生成htmlhelp + 【完全解决】生成的chm中标题和左边的索引目录是乱码的问题

Microsoft HTML Help Downloads

->

Download Htmlhelp.exe

下载到1.32版本的htmlhelp.exe。

3.安装好。

4.再去试试,结果还是出现hhc没找到:

make: hhc: Command not found

5.所以,还得自己把hhc的路径,添加到path中去:

path中添加:

E:\dev_install_root\HTML Help Workshop;

再去试试,终于可以了,找到了hhc,可以生产chm了:

hhc ../output/htmlhelp/htmlhelp.hhp
Microsoft HTML Help Compiler 4.74.8702

Compiling e:\Dev_Root\docbook\dev\books\arm_vs_mips\output\htmlhelp\arm_vs_mips.chm

index.html
go01.html
ch01.html
ch01s02.html
bi01.html
toc.hhc
images\cp0_reg16_select1.png

Compile time: 0 minutes, 0 seconds
11      Topics
45      Local links
23      Internet links
1       Graphic

Created e:\Dev_Root\docbook\dev\books\arm_vs_mips\output\htmlhelp\arm_vs_mips.chm, 93,526 bytes
Compression decreased file by 4,118 bytes.

 

【总结】

cygwin中找不到hhc:

单独安装了hhc是不行的,需要把hhc的路径,添加到path中才可以。

转载请注明:在路上 » 【已解决】给cygwin的docbook环境中安装和配置hhc

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址
82 queries in 0.170 seconds, using 22.43MB memory