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:
Open the file sernaInstallationPath/plugins/antenna-house/antenna-house.spd.
<ah-version> 4.2</ah-version>into
<ah-version> 4.0</ah-version>
Copy the name of the environment variable AXF <VERSION>_HOME.
On Windows, you can do it the following way:
From the Start Menu, select .
Double-click System to open the System Properties window.
On the Advanced tab, click Environment Variables.
Under the System variables section, find AXF <VERSION>_HOME and click Edit .
Copy AXF <VERSION>_HOME from the Variable name field.
The instructions are given for Classic Start menu and Classic View of Control Panel.
Open the file sernaInstallationPath\plugins\dita\dita2pdf_ah.bat (on Windows) or sernaInstallationPath\plugins\dita\dita2pdf_ah.sh (on Linux).
On Windows, in the line:
set AXF_DIR=%AXF4_HOME%
replace AXF 4_HOME with the copied AXF <VERSION> _HOME.
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.
Save the file sernaInstallationPath\plugins\dita\dita2pdf_ah.bat (on Windows) or sernaInstallationPath\plugins\dita\dita2pdf_ah.sh (on Linux).
Antenna House Plugin must be enabled to publish all types of documents, except DITA.
If you have a document opened in Serna, you must reload the document (press F4) for the changed settings to take effect.