How to Use a Publishing Template in a PDF TransformationEdit online
A publishing template can be used for PDF output from the DITA Map PDF - based on HTML5 & CSS transformation scenario.
Using a Template in DITA Map PDF - based on HTML5 and CSS TransformationsEdit online
The Templates tab in the DITA Map PDF - based on HTML5 & CSS transformation scenario dialog displays all the templates that are available in your template gallery. To use a particular template in the transformation scenario, simply select it from this tab and then continue configuring the transformation using the other tabs to suit your needs.
- Open the transformation scenario dialog box by editing a DITA Map PDF - based on HTML5 & CSS transformation.
- In the Templates tab, click the Configure Publishing
Templates Gallery link to.
Step Result: This will open the preferences page.
- Click the Add button and specify the location of your template directory.
Step Result: Your template directory is now added to the Additional Publishing Templates Galleries list.
- Click OK to return to the transformation scenario dialog box.
Step Result: All the templates contained in your template directory will be displayed in the preview pane along with all the built-in templates.
Using a Template in DITA Map PDF WYSIWYG TransformationsEdit online
- Open the transformation scenario dialog box by editing a DITA Map PDF - based on DITA & CSS (WYSIWYG) transformation.
- Switch to the Parameters tab.
- Click the New button.
- Add a parameter with the name
pdf.publishing.templateand set its value to the full path to the template descriptor file (.opt). You can use the
Browse button to select the file.