Environment Variables

AH Formatter V5.0 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 * sign. The environment variables that have "AHF50_64_" prefix are for Windows x64 version and Linux 64bit version. In non-Windows versions the environment variables have to be set by the user. As for running command-line program from shell script (run.sh) on non-Windows versions, after a necessary environment variable is set, the Command-line program of AH Formatter V5.0 is executed.

Env-Variable Description
AHF50_HOME *
AHF50_64_HOME *
The directory where AH Formatter V5.0 is installed. The description [Install directory] in this manual indicates the value of this environment variable.
AHF50_XSLT_COMMAND
AHF50_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, MSXML4 or MSXML3 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.
AHF50_XSLT_PARAM
AHF50_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.
AHF50_LIC_PATH *
AHF50_64_LIC_PATH *
The directory where the license key files is located. In the Windows version the initial value is the place where XfoEngine50.dll exists. In the other version, it's necessary that the license files are installed in [Install directory]/etc.
AHF50_HYPDIC_PATH *
AHF50_64_HYPDIC_PATH *
The directory where the hyphenation dictionary exists. In the Windows version, initial value for the hyphenation directory is where XfoEngine50.dll exists. In the other version, it's necessary that hyphenation dictionary is installed in [Install directory]/etc.
AHF50_DEFAULT_HTML_CSS *
AHF50_64_DEFAULT_HTML_CSS *
Default CSS for HTML. In the Windows version, the initial value is html.css located in the directory where XfoEngine50.dll exists. In other version, it's necessary that the Default CSS for HTML is installed in [Install directory]/etc. V5.0
AHF50_FONT_CONFIGFILE *
AHF50_64_FONT_CONFIGFILE *
Font Configuration File. In the Windows version, the initial value is font-config.xml located in the directory where AHFont50.dll exists. In other version, it's necessary that the Font Configuration File is installed in [Install directory]/etc.
AHF50_DMC_TBLPATH *
AHF50_64_DMC_TBLPATH *
The directory where data for character code conversion exists. In the Windows version, the initial value is base2 where XfoDMC50.dll exits. In the other version, it's necessary that data for character code conversion is installed in [Install directory]/sdata/base2.
AHF50_BROKENIMG
AHF50_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.
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 exists should be included. In only the Solaris / Linux / HP-UX version, it's necessary to set the directory where *.so files are installed in [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.
SHLIB_PATH When using the Command-line Interface or the Java Interface with the HP-UX version, the place (directory) of *.sl must be included. Only the HP-UX version requires this setting. With the HP-UX version, *.sl files are installed in [Install directory]/lib.
LIBPATH When using the Command-line Interface or the Java Interface with the AIX version, the place (directory) of *.so and *.a must be included. Only the AIX version requires this setting. With the AIX version, *.so and *.a 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 [Install directory]/lib.

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


Symbolic Links

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

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

Solaris / Linux

ModuleSymLink 1SymLink 2
libXfoCommon.so.5.0libXfoCommon.so.5libXfoCommon.so
libXfoEngine.so.5.0libXfoEngine.so.5libXfoEngine.so
libXfoFont.so.5.0libXfoFont.so.5libXfoFont.so
libXfoGraphic.so.5.0libXfoGraphic.so.5libXfoGraphic.so
libXfoHyphen.so.5.0libXfoHyphen.so.5libXfoHyphen.so
libXfoHyphenCH.so.5.0libXfoHyphenCH.so.5libXfoHyphenCH.so
libXfoRender.so.5.0libXfoRender.so.5libXfoRender.so
libXfoText.so.5.0libXfoText.so.5libXfoText.so
libXfoTrans.so.5.0libXfoTrans.so.5libXfoTrans.so
libXfoJavaCtl50.so
libXfoInterface.so.5.0libXfoInterface.so.5libXfoInterface.so
libXfoDMC.so.5.0libXfoDMC.so.5libXfoDMC.so
libPDFCreator.so.5.0libPDFCreator.so.5libPDFCreator.so
libPDFRes.so.5.0libPDFRes.so.5libPDFRes.so
libPDFToolPage.so.5.0libPDFToolPage.so.5libPDFToolPage.so
libPDFLinearizer.so.5.0libPDFLinearizer.so.5libPDFLinearizer.so
libPDFExplorer.so.5.0libPDFExplorer.so.5libPDFExplorer.so
libINXCreator.so.5.0libINXCreator.so.5libINXCreator.so
libPSCreator.so.5.0libPSCreator.so.5libPSCreator.so
libSVGCreator.so.5.0libSVGCreator.so.5libSVGCreator.so
libXPSCreator.so.5.0libXPSCreator.so.5libXPSCreator.so
libAHFont.so.5.0libAHFont.so.5libAHFont.so
libAHGraphic.so.5.0libAHGraphic.so.5libAHGraphic.so
libicudata.so.40.0libicudata.so.40libicudata.so
libicui18n.so.40.0libicui18n.so.40libicui18n.so
libicuio.so.40.0libicuio.so.40libicuio.so
libicule.so.40.0libicule.so.40libicule.so
libiculx.so.40.0libiculx.so.40libiculx.so
libicutu.so.40.0libicutu.so.40libicutu.so
libicuuc.so.40.0libicuuc.so.40libicuuc.so

Macintosh

ModuleSymLink 1SymLink 2
libXfoCommon.5.0.dyliblibXfoCommon.5.dyliblibXfoCommon.dylib
libXfoEngine.5.0.dyliblibXfoEngine.5.dyliblibXfoEngine.dylib
libXfoFont.5.0.dyliblibXfoFont.5.dyliblibXfoFont.dylib
libXfoGraphic.5.0.dyliblibXfoGraphic.5.dyliblibXfoGraphic.dylib
libXfoHyphen.5.0.dyliblibXfoHyphen.5.dyliblibXfoHyphen.dylib
libXfoHyphenCH.5.0.dyliblibXfoHyphenCH.5.dyliblibXfoHyphenCH.dylib
libXfoRender.5.0.dyliblibXfoRender.5.dyliblibXfoRender.dylib
libXfoText.5.0.dyliblibXfoText.5.dyliblibXfoText.dylib
libXfoTrans.5.0.dyliblibXfoTrans.5.dyliblibXfoTrans.dylib
libXfoJavaCtl50.jnilib
libXfoInterface.5.0.dyliblibXfoInterface.5.dyliblibXfoInterface.dylib
libXfoDMC.5.0.dyliblibXfoDMC.5.dyliblibXfoDMC.dylib
libPDFCreator.5.0.dyliblibPDFCreator.5.dyliblibPDFCreator.dylib
libPDFRes.5.0.dyliblibPDFRes.5.dyliblibPDFRes.dylib
libPDFToolPage.5.0.dyliblibPDFToolPage.5.dyliblibPDFToolPage.dylib
libPDFLinearizer.5.0.dyliblibPDFLinearizer.5.dyliblibPDFLinearizer.dylib
libPDFExplorer.5.0.dyliblibPDFExplorer.5.dyliblibPDFExplorer.dylib
libINXCreator.5.0.dyliblibINXCreator.5.dyliblibINXCreator.dylib
libPSCreator.5.0.dyliblibPSCreator.5.dyliblibPSCreator.dylib
libSVGCreator.5.0.dyliblibSVGCreator.5.dyliblibSVGCreator.dylib
libXPSCreator.5.0.dyliblibXPSCreator.5.dyliblibXPSCreator.dylib
libAHFont.5.0.dyliblibAHFont.5.dyliblibAHFont.dylib
libAHGraphic.5.0.dyliblibAHGraphic.5.dyliblibAHGraphic.dylib
libicudata.dylib.40.0libicudata.dylib.40libicudata.dylib
libicui18n.dylib.40.0libicui18n.dylib.40libicui18n.dylib
libicuio.dylib.40.0libicuio.dylib.40libicuio.dylib
libicule.dylib.40.0libicule.dylib.40libicule.dylib
libiculx.dylib.40.0libiculx.dylib.40libiculx.dylib
libicutu.dylib.40.0libicutu.dylib.40libicutu.dylib
libicuuc.dylib.40.0libicuuc.dylib.40libicuuc.dylib

HP-UX

ModuleSymLink 1SymLink 2
libXfoCommon.sl.5.0libXfoCommon.sl.5libXfoCommon.sl
libXfoEngine.sl.5.0libXfoEngine.sl.5libXfoEngine.sl
libXfoFont.sl.5.0libXfoFont.sl.5libXfoFont.sl
libXfoGraphic.sl.5.0libXfoGraphic.sl.5libXfoGraphic.sl
libXfoHyphen.sl.5.0libXfoHyphen.sl.5libXfoHyphen.sl
libXfoHyphenCH.sl.5.0libXfoHyphenCH.sl.5libXfoHyphenCH.sl
libXfoRender.sl.5.0libXfoRender.sl.5libXfoRender.sl
libXfoText.sl.5.0libXfoText.sl.5libXfoText.sl
libXfoTrans.sl.5.0libXfoTrans.sl.5libXfoTrans.sl
libXfoJavaCtl50.so
libXfoJavaCtl50.sl
libXfoInterface.sl.5.0libXfoInterface.sl.5libXfoInterface.sl
libXfoDMC.sl.5.0libXfoDMC.sl.5libXfoDMC.sl
libPDFCreator.sl.libPDFCreator.sl.5libPDFCreator.sl
libPDFRes.sl.5.0libPDFRes.sl.5libPDFRes.sl
libPDFToolPage.sl.5.0libPDFToolPage.sl.5libPDFToolPage.sl
libPDFLinearizer.sl.5.0libPDFLinearizer.sl.5libPDFLinearizer.sl
libPDFExplorer.sl.5.0libPDFExplorer.sl.5libPDFExplorer.sl
libINXCreator.sl.5.0libINXCreator.sl.5libINXCreator.sl
libPSCreator.sl.5.0libPSCreator.sl.5libPSCreator.sl
libSVGCreator.sl.5.0libSVGCreator.sl.5libSVGCreator.sl
libXPSCreator.sl.5.0libXPSCreator.sl.5libXPSCreator.sl
libAHFont.sl.5.0libAHFont.sl.5libAHFont.sl
libAHGraphic.sl.5.0libAHGraphic.sl.5libAHGraphic.sl
libicudata.sl.40.0libicudata.sl.40libicudata.sl
libicui18n.sl.40.0libicui18n.sl.40libicui18n.sl
libicuio.sl.40.0libicuio.sl.40libicuio.sl
libicule.sl.40.0libicule.sl.40libicule.sl
libiculx.sl.40.0libiculx.sl.40libiculx.sl
libicutu.sl.40.0libicutu.sl.40libicutu.sl
libicuuc.sl.40.0libicuuc.sl.40libicuuc.sl

AIX

ModuleSymLink
libicudata.40.0.alibicudata.40.a
libicui18n.40.0.alibicui18n.40.a
libicuio.40.0.alibicuio.40.a
libicule.40.0.alibicule.40.a
libiculx.40.0.alibiculx.40.a
libicutu.40.0.alibicutu.40.a
libicuuc.40.0.alibicuuc.40.a