Environment Variables

AH Formatter V6.2 refers to the following environment variables before running. In the Windows version, the installation program sets the initial value of the variables that are marked with an asterisk *. The environment variables that have "AHF62_64_" prefix are for Windows x64 version and the Linux 64bit version. In the non-Windows versions the environment variables have to be set by the user. When running command-line program from shell script (run.sh) on non-Windows versions, after the necessary environment variables are set, the AH Formatter V6.2 Command line program is executed.

Env-Variable Description
AHF62_HOME *
AHF62_64_HOME *
The directory where AH Formatter V6.2 is installed. The description [Install directory] in this manual indicates the value of this environment variable.
AHF62_XSLT_COMMAND
AHF62_64_XSLT_COMMAND
Command strings for invoking external XSLT Processor. See "XSLT Setting" for more details. This setting is equal to the <xslt-settings command>. In the Windows version, MSXML is adopted as the default if this setting is omitted. In the other version, you cannot invoke XSLT conversion without setting "Option Setting File". In GUI, this environment variable is not referred.
AHF62_XSLT_PARAM
AHF62_64_XSLT_PARAM
Parameter format of the command for invoking external XSLT Processor. See "XSLT Setting" for more details. This setting is equal to the <xslt-settings param>. In GUI, this environment variable is not referred.
AHF62_LIC_PATH *
AHF62_64_LIC_PATH *
The directory where the license key files are located. In the Windows version the initial values are located in the same place as the XfoEngine62.dll In the other versions, the license files must be installed in the [Install directory]/etc.
AHF62_HYPDIC_PATH *
AHF62_64_HYPDIC_PATH *
The directory where the hyphenation dictionary exists. In the Windows version, initial value for the hyphenation directory is where XfoEngine62.dll exists. In the other versions, it's necessary that hyphenation dictionary is installed in [Install directory]/etc.
AHF62_DEFAULT_HTML_CSS *
AHF62_64_DEFAULT_HTML_CSS *
Default CSS for HTML. In the Windows version, the initial value is html.css located in the directory where XfoEngine62.dll exists. In other version, it's necessary that the Default CSS for HTML is installed in [Install directory]/etc.
AHF62_DMC_TBLPATH *
AHF62_64_DMC_TBLPATH *
The directory where data for character code conversion is located. In the Windows version, the initial value is base2 where AHDMC13.dll is located. In the other version, data for character code conversion must be installed in [Install directory]/sdata/base2.
AHF62_BROKENIMG
AHF62_64_BROKENIMG
Specifies the substitute image displayed when the image specified in FO does not exist. Sample image such as [Install directory]/samples/Broken.png can be also specified.
AHF62_FONT_CONFIGFILE *
AHF62_64_FONT_CONFIGFILE *
Font Configuration File. In the Windows version, the initial value is font-config.xml located in the same directory as AHFontService13.dll. In other versions, the Font Configuration File must be installed in the [Install directory]/etc.
AHFCmd62
AHFCmd62_64
 
Specifies the default parameter with the command-line interface. This setting is compensated before the parameter specified by a user and being evaluated. no-LT
PATH * In the Windows version, [Install directory] is added to PATH environment.
LD_LIBRARY_PATH When using the Command-line and Java Interface, the directory where *.so is located should be included. When operating the Linux / Solaris version, it's also necessary to set the directory where the *.so files are installed in the [Install directory]/lib.
DYLD_LIBRARY_PATH When using the Command-line Interface or the Java Interface with the Macintosh version, the place (directory) of *.dylib and *.jnilib must be included. Only the Macintosh version requires this setting. With the Macintosh version, *.dylib and *.jnilib files are installed in [Install directory]/lib.
CLASSPATH When using the Java Interface, the directory where *.jar exists should be included. *.jar is installed in the [Install directory]/lib.

\ or / are not placed at the end of directory strings.


Symbolic Links

It is necessary to create the Symbolic Links of the library appropriately with the non-Windows versions of AH Formatter V6.2. These are automatically generated by the installation program. However if you need to generate them, please refer to the following:

$ cd [Install directory]/lib
$ rm -f libXfoEngine.so
$ ln -s libXfoEngine.so.6.2 libXfoEngine.so
$ chmod 755 libXfoEngine.so
$ rm -f libXfoEngine.so.6
$ ln -s libXfoEngine.so.6.2 libXfoEngine.so.6
$ chmod 755 libXfoEngine.so.6

Linux / Solaris

ModuleSymLink 1SymLink 2
libXfoCommon.so.6.2libXfoCommon.so.6libXfoCommon.so
libXfoEngine.so.6.2libXfoEngine.so.6libXfoEngine.so
libXfoFont.so.6.2libXfoFont.so.6libXfoFont.so
libXfoGraphic.so.6.2libXfoGraphic.so.6libXfoGraphic.so
libXfoHyphen.so.6.2libXfoHyphen.so.6libXfoHyphen.so
libXfoRender.so.6.2libXfoRender.so.6libXfoRender.so
libXfoText.so.6.2libXfoText.so.6libXfoText.so
libXfoTrans.so.6.2libXfoTrans.so.6libXfoTrans.so
libXfoJavaCtl62.so
libXfoInterface.so.6.2libXfoInterface.so.6libXfoInterface.so
libPDFCreator.so.6.2libPDFCreator.so.6libPDFCreator.so
libPDFRes.so.6.2libPDFRes.so.6libPDFRes.so
libPDFToolPage.so.6.2libPDFToolPage.so.6libPDFToolPage.so
libPDFLinearizer.so.6.2libPDFLinearizer.so.6libPDFLinearizer.so
libINXCreator.so.6.2libINXCreator.so.6libINXCreator.so
libPSCreator.so.6.2libPSCreator.so.6libPSCreator.so
libSVGCreator.so.6.2libSVGCreator.so.6libSVGCreator.so
libXPSCreator.so.6.2libXPSCreator.so.6libXPSCreator.so
libMIFCreator.so.6.2libMIFCreator.so.6libMIFCreator.so
libAHFontService.so.1.3libAHFontService.so.1libAHFontService.so
libAHGraphicService.so.1.1libAHGraphicService.so.1libAHGraphicService.so
libAHDMC.so.1.3libAHDMC.so.1libAHDMC.so
libAHCommon.so.1.3libAHCommon.so.1libAHCommon.so
libAHPDFLib.so.1.2libAHPDFLib.so.1libAHPDFLib.so
libicudata.so.52.1libicudata.so.52libicudata.so
libicui18n.so.52.1libicui18n.so.52libicui18n.so
libicuio.so.52.1libicuio.so.52libicuio.so
libicule.so.52.1libicule.so.52libicule.so
libiculx.so.52.1libiculx.so.52libiculx.so
libicutu.so.52.1libicutu.so.52libicutu.so
libicuuc.so.52.1libicuuc.so.52libicuuc.so

Macintosh

ModuleSymLink 1SymLink 2
libXfoCommon.6.2.dyliblibXfoCommon.6.dyliblibXfoCommon.dylib
libXfoEngine.6.2.dyliblibXfoEngine.6.dyliblibXfoEngine.dylib
libXfoFont.6.2.dyliblibXfoFont.6.dyliblibXfoFont.dylib
libXfoGraphic.6.2.dyliblibXfoGraphic.6.dyliblibXfoGraphic.dylib
libXfoHyphen.6.2.dyliblibXfoHyphen.6.dyliblibXfoHyphen.dylib
libXfoRender.6.2.dyliblibXfoRender.6.dyliblibXfoRender.dylib
libXfoText.6.2.dyliblibXfoText.6.dyliblibXfoText.dylib
libXfoTrans.6.2.dyliblibXfoTrans.6.dyliblibXfoTrans.dylib
libXfoJavaCtl62.jnilib
libXfoInterface.6.2.dyliblibXfoInterface.6.dyliblibXfoInterface.dylib
libPDFCreator.6.2.dyliblibPDFCreator.6.dyliblibPDFCreator.dylib
libPDFRes.6.2.dyliblibPDFRes.6.dyliblibPDFRes.dylib
libPDFToolPage.6.2.dyliblibPDFToolPage.6.dyliblibPDFToolPage.dylib
libPDFLinearizer.6.2.dyliblibPDFLinearizer.6.dyliblibPDFLinearizer.dylib
libINXCreator.6.2.dyliblibINXCreator.6.dyliblibINXCreator.dylib
libPSCreator.6.2.dyliblibPSCreator.6.dyliblibPSCreator.dylib
libSVGCreator.6.2.dyliblibSVGCreator.6.dyliblibSVGCreator.dylib
libXPSCreator.6.2.dyliblibXPSCreator.6.dyliblibXPSCreator.dylib
libMIFCreator.6.2.dyliblibMIFCreator.6.dyliblibMIFCreator.dylib
libAHFontService.1.3.dyliblibAHFontService.1.dyliblibAHFontService.dylib
libAHGraphicService.1.1.dyliblibAHGraphicService.1.dyliblibAHGraphicService.dylib
libAHDMC.1.3.dyliblibAHDMC.1.dyliblibAHDMC.dylib
libAHCommon.1.3.dyliblibAHCommon.1.dyliblibAHCommon.dylib
libAHPDFLib.1.2.dyliblibAHPDFLib.1.dyliblibAHPDFLib.dylib
libicudata.52.1.dyliblibicudata.52.dyliblibicudata.dylib
libicui18n.52.1.dyliblibicui18n.52.dyliblibicui18n.dylib
libicuio.52.1.dyliblibicuio.52.dyliblibicuio.dylib
libicule.52.1.dyliblibicule.52.dyliblibicule.dylib
libiculx.52.1.dyliblibiculx.52.dyliblibiculx.dylib
libicutu.52.1.dyliblibicutu.52.dyliblibicutu.dylib
libicuuc.52.1.dyliblibicuuc.52.dyliblibicuuc.dylib