Environment Variables

AH Formatter V6.4 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 "AHF64_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.4 Command line program is executed.

Env-Variable

Description

AHF64_HOME*AHF64_64_HOME*

The directory where AH Formatter V6.4 is installed. The description [Install directory] in this manual indicates the value of this environment variable. \ or / are not placed at the end of directory strings.

AHF64_XSLT_COMMANDAHF64_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.

AHF64_XSLT_PARAMAHF64_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.

AHF64_LIC_PATH*AHF64_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 XfoEngine64.dll In the other versions, the license files must be installed in the [Install directory]/etc. \ or / are not placed at the end of directory strings.

AHF64_HYPDIC_PATH*AHF64_64_HYPDIC_PATH*

The directory where the hyphenation dictionary exists. In the Windows version, initial value for the hyphenation directory is where XfoEngine64.dll exists. In the other versions, it's necessary that hyphenation dictionary is installed in [Install directory]/etc. \ or / are not placed at the end of directory strings.

AHF64_DEFAULT_HTML_CSS*AHF64_64_DEFAULT_HTML_CSS*

Default CSS for HTML. In the Windows version, the initial value is html.css located in the directory where XfoEngine64.dll exists. In other version, it's necessary that the Default CSS for HTML is installed in [Install directory]/etc.

AHF64_DMC_TBLPATH*AHF64_64_DMC_TBLPATH*

The directory where data for character code conversion is located. In the Windows version, the initial value is base2 where AHDMC15.dll is located. In the other version, data for character code conversion must be installed in [Install directory]/sdata/base2. \ or / are not placed at the end of directory strings.

AHF64_BROKENIMGAHF64_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.

AHF64_FONT_CONFIGFILE*AHF64_64_FONT_CONFIGFILE*

Font Configuration File. In the Windows version, the initial value is font-config.xml located in the same directory as AHFontService14.dll. In other versions, the Font Configuration File must be installed in the [Install directory]/etc.

AHFCmd64AHFCmd64_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.

CLASSPATH

When using the Java Interface, the directory where *.jar exists should be included. *.jar is installed in the [Install directory]/lib.

HTTP_PROXYHTTPS_PROXY

When accessing HTTP or HTTPS via a proxy in non-Windows environment, it's necessary to specify the proxy address by the environment variable HTTP_PROXY or HTTPS_PROXY. When there are no environment variables, it will access the host directly.