Getting Antenna House XSL Formatter to Publish PDF from Serna

  1. Install Antenna House XSL Formatter.
  2. If necessary, adjust Serna to publish PDF with your version of Antenna House XSL Formatter.

    By default, Serna is integrated with Antenna House XSL Formatter V4.0 for DITA documents and V4.2 for other document types. If you have a version of Antenna House XSL Formatter other than the integrated one, you should do the following:

    1. For all document types, except DITA:
      1. Open the file sernaInstallationPath/plugins/antenna-house/antenna-house.spd.

      2. Change the version, e.g. change
        
        <ah-version>
        4.2</ah-version>
        into
        
        <ah-version>
        4.0</ah-version>
    2. For DITA documents:
      1. Copy the name of the environment variable AXF <VERSION>_HOME.

        Note:

        On Windows, you can do it the following way:

        1. From the Start Menu, select Start > Settings > Control Panel .

        2. Double-click System to open the System Properties window.

        3. On the Advanced tab, click Environment Variables.

        4. Under the System variables section, find AXF <VERSION>_HOME and click Edit .

        5. Copy AXF <VERSION>_HOME from the Variable name field.

        Note:

        The instructions are given for Classic Start menu and Classic View of Control Panel.

      2. Open the file sernaInstallationPath\plugins\dita\dita2pdf_ah.bat (on Windows) or sernaInstallationPath\plugins\dita\dita2pdf_ah.sh (on Linux).

      3. Change the version:
        1. On Windows, in the line:

          set AXF_DIR=%AXF4_HOME%

          replace AXF 4_HOME with the copied AXF <VERSION> _HOME.

        2. On Linux, in the line:

          export AXF_DIR="/usr/XSLFormatterV4"

          replace the path to Antenna House XSL Formatter V4 with the path to your version of Antenna House XSL Formatter.

      4. Save the file sernaInstallationPath\plugins\dita\dita2pdf_ah.bat (on Windows) or sernaInstallationPath\plugins\dita\dita2pdf_ah.sh (on Linux).

  3. Enable Antenna House Plugin.
    Note:

    Antenna House Plugin must be enabled to publish all types of documents, except DITA.

    1. Run Serna.
    2. Choose Tools > Preferences .
    3. Select the Plugins tab.
    4. Check the Antenna House PDF publishing plugin checkbox.
    5. Click the Apply button.
    6. Click the Close button.
    Note:

    If you have a document opened in Serna, you must reload the document (press F4) for the changed settings to take effect.

Related tasks
Printing Draft
Related information
Publish Dialog
Getting FOP to Publish PDF from Serna
Getting XEP to Publish PDF from Serna
Publish PDF with Antenna House XSL Formatter Dialog