PDF id205BE600HAH
You can create the PDF preset in two ways:
From the Web Editor: In the Repository panel, open the DITA map file in Map View, then in the Output tab, select the + icon to create an output preset, and then select PDF from the type drop-down in the Add preset dialog.
In the Web editor the configurations have been organized under General and Advanced tabs:
General
The General tab contains the following configurations:
- Output Path
- DITA-OT Command Line Arguments
- Transformation Name
- PDF Filename
- Apply Conditions Using (If the conditions are defined for a map)
- Use Baseline (If a baseline is created for a map)
- Post Generation Workflow
Advanced
The Advanced tab contains the following configurations:
- Enable Versioning
- Download temporary files
For details, refer to PDF configuration.
From the map dashboard
To open output presets for PDF, click on a DITA map file from the Assets UI, then click on Output Presets, and then click on the PDF option. In the Map dashboard, click Edit on the top to update the various configurations, and then click Save.
PDF configuration
The following options are available for the PDF Output:
* None applied: Select this option if you do not want to apply any condition on the published output.
* DITAVal file: Select DITAVal file(s) to generate personalized content. You can select multiple DITAVal files using the browse dialog or by typing file path. Use the cross icon near the file name to remove it. DITAVal files are evaluated in the order specified, so the conditions specified in the first file take precedence over the matching conditions specified in later files. You can maintain the file order by adding or deleting files. If the DITAVal file is moved to some other location or is deleted, it is not automatically deleted from the map dashboard. You need to update the location in case files are moved or deleted. You can hover over the file name to see the path in the AEM repository where the file is stored. You can only select DITAVal files and an error is displayed if you have selected any other file type. FrameMaker Publishing Server doesn’t support multiple DITAVAL files.
* Condition preset: Select a condition preset from the drop-down to apply a condition while publishing the output. The option is visible if you have added a condition present in the Condition Presets tab of the DITA map console. To know more about condition preset, see Use condition presets.
Note: For more information about creating a custom post-output generation workflow, see Customize post-output generation workflow in Install and configure Adobe Experience Manager Guides as a Cloud Service.
xhtml
. For a list of transformations available in DITA-OT, see DITA-OT transformations (output formats) in OASIS DITA-OT User Guide.You can also use variables while setting the PDF File Name. For more details about using variables, see Use variables for setting the Destination Path, Site Name, or File Name options.
Note: If you do not provide a file name, then the DITA map’s title is used to generate the final PDF’s file name. If the map does not have a title, then the DITA map’s file name is used to name is the final PDF. The file name is sanitized using the rules configured in the system to handle any invalid character.
You can also use variables while setting the Destination Path. For more details about using variables, see Use variables for setting the Destination Path, Site Name, or File Name options.
After generating the output, select the Download temporary files
![download temporary files icon](./media_196349ecf0408f30151d0240aafcb1489409c24e1.png?width=750&format=png&optimize=medium)
Note: If you select some file properties and then download the temporary files, you also get the metadata.xml file in the ZIP folder.
See Work with Baseline for more detail.
Note: You can also pass on the metadata to the output using DITA-OT publishing. For more details see, Pass on the metadata to the output using DITA-OT.
Parent topic:Understanding the output presets