AntennaHouse / pdf5-ml

Antenna House PDF5-ML DITA-OT Plug-in
23 stars 9 forks source link

Testing error #111

Closed guanganyuan closed 3 years ago

guanganyuan commented 4 years ago

I have followed the instructions of plug-in installtion in the folder,but it doesnt work. I just dont know what is the matter? Thanks a lot for any help.

build successful run_en bat no en pdf
ToshihikoMakita commented 4 years ago

Could you send sample_en.log file appeared in above screen-shot?

guanganyuan commented 4 years ago

Could you send sample_en.log file appeared in above screen-shot?

no problem.

https://github.com/guanganyuan/pptest1/blob/master/sample_en.log

ToshihikoMakita commented 4 years ago

The error message is as follows:

build_ahf.xml:119: ahf.dir folder does not exist or AHF_DIR environment variable is missing.

Please set AHF_DIR environment variable that points to AH Formatter install folder or edit run_en.bat to include following property: -Dahf.dir=[AH Formatter install Folder]

guanganyuan commented 4 years ago

Could you send sample_en.log file appeared in above screen-shot? From the log, I find that it seems similiar like #31 ,but I have added the code below to startcmd.bat. set AHF_DIR=C:\Program Files\Antenna House\AHFormatterV64 set AHF_OPT=%DITA_DIR%ahf_setting.xml.

From your comment above, I realized that I did not install AH Formatter before, and only had dita-ot and pdf5.ml. I will try to install AH Formatter and set -Dahf.dir=[AH Formatter install Folder], is that right?

ToshihikoMakita commented 4 years ago

Yes, please download the evaluation version from www.antennahouse.com

guanganyuan commented 4 years ago

Yes, please download the evaluation version from www.antennahouse.com

It costs me 8 hours to download the AH Formatter. :( However, it doesnt show me a good result. The error message is as follows : BUILD FAILED Target "Files\Antenna" does not exist in the project "DOST".

ToshihikoMakita commented 4 years ago

It costs me 8 hours to download the AH Formatter. Oh! It's too slow!

Could you send me the command-line and log file once again?

guanganyuan commented 4 years ago

It costs me 8 hours to download the AH Formatter. Oh! It's too slow!

Could you send me the command-line and log file once again?

In the first case, I added the property -Dahf.dir,-Dahf.opt to the run_en.bat, the command-line and log file is as follows:

command-line log
guanganyuan commented 4 years ago

It costs me 8 hours to download the AH Formatter. Oh! It's too slow!

Could you send me the command-line and log file once again?

In the second case, I added the property to the startcmd.bat which showed in the pdf5-ml_manual.pdf, and integratored successful and the result was the same as the first time I showed-only have the .fo file. And this time I installed the AH Formatter .

add to startcmd AH Formatter always missing
ToshihikoMakita commented 4 years ago

The space codes in environment variable may be the cause. Please look at attached startcmd.bat, sample_en.log, sample_en.pdf.

sample_en.log

startcmd.bat.txt

sample_en.pdf