Environment Variables

AH Formatter V7.1 refers to the following environment variables before running. In the Windows version, the installation program sets the default value of the variables that are marked with an asterisk “*”. The environment variables that have “_64”, such as “AHF71_64_”, are for Windows x64 version, Linux 64-bit version and Macintosh 64-bit 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 V7.1 Command line program is executed.

Env-VariableDescription
AHF71_HOME *
AHF71_64_HOME *
Specifies the directory where AH Formatter V7.1 is installed (“\” or “/” that indicate the directory delimiter are not included at the end of directory strings). The description [Install directory] in this manual indicates the value of this environment variable.
AHF71_XSLT_COMMAND
AHF71_64_XSLT_COMMAND
Specifies the command string for starting an external XSLT. For more details, see “XSLT Setting”. 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 non-Windows version, you cannot invoke XSLT conversion without setting “Option Setting File”. In GUI, this environment variable is not referred.
AHF71_XSLT_PARAM
AHF71_64_XSLT_PARAM
Specifies the parameter format of the command for starting an external XSLT. For more details, see “XSLT Setting”. This setting is equal to the <xslt-settings param>. In GUI, this environment variable is not referred.
AHF71_LIC_PATH *
AHF71_64_LIC_PATH *
Specifies the directory where the license key files are located (“\” or “/” that indicate the directory delimiter are not included at the end of directory strings). In the Windows version, the default value is located in the same place as the XfoEngine71.dll. In the non-Windows versions, the setting is required. In the case of run.sh, [Install directory]/​etc is set.
AHF71_HYPDIC_PATH *
AHF71_64_HYPDIC_PATH *
Specifies the directory where the hyphenation dictionary exists (“\” or “/” that indicate the directory delimiter are not included at the end of directory strings). In the Windows version, the default value is located in the same place as the XfoEngine71.dll. In the non-Windows versions, the setting is required. In the case of run.sh, [Install directory]/​etc/​hyphenation is set.
AHF71_DEFAULT_HTML_CSS *
AHF71_64_DEFAULT_HTML_CSS *
Specifies Default CSS for HTML. In the Windows version, the default value is html.css located in the same directory as the XfoEngine71.dll. In the non-Windows versions, the setting is required. In the case of run.sh, [Install directory]/​etc is set.
AHF71_BROKENIMG
AHF71_64_BROKENIMG
Specifies the substitute image displayed when the image specified in FO does not exist. When this is not specified, the image that the system has will be displayed. Sample image such as [Install directory]/​samples/​Broken.png can be also specified.
AHF71_FONT_CONFIGFILE *
AHF71_64_FONT_CONFIGFILE *
Specifies the Font Configuration File. In the Windows version, the default value is font-config.xml located in the same directory as the AHFontService19.dll. In the non-Windows versions, the setting is required. In the case of run.sh, [Install directory]/​etc is set.
AHFCmd71
AHFCmd71_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 the PATH environment. In the non-Windows versions, there is no change.
LD_LIBRARY_PATH The setting is required for the Linux version. When using the Command-line and Java Interface, the directory where *.so is located should be included. In the case of run.sh, [Install directory]/​lib is set.
CLASSPATH When using the Java Interface, the necessary *.jar should be included. In the case of run.sh, [Install directory]/​lib is added.
HTTP_PROXY
HTTPS_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.
SSL_CERT_FILESpecifies the root certificate file in non-Windows environment.
SSL_CERT_DIRSpecifies the directory where the root certificate is stored in non-Windows environment.
WebCGM_ACI_FileSpecifies the file of Application Configurable Items in CGM. See also Application Configurable Items.