code-srv-test/dita-ot-3.6/docsrc/samples/ant_sample/template_pdf.xml
2021-03-23 22:38:58 +00:00

24 lines
1 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!-- This file is part of the DITA Open Toolkit project. See the accompanying LICENSE file for applicable license. -->
<!-- revise @PLACEHOLDER@ names and values-->
<!--
| basedir can be specified to other places base on your need.
|
| Note: input, output, and temp directories will base on the basedir if
| they are relative paths.
* -->
<project name="@PROJECT.NAME@_pdf" default="@DELIVERABLE.NAME@2pdf" basedir=".">
<!-- dita.dir should point to the toolkit's root directory -->
<property name="dita.dir" location="${basedir}${file.separator}..${file.separator}..${file.separator}.."/>
<target name="@DELIVERABLE.NAME@2pdf">
<ant antfile="${dita.dir}${file.separator}build.xml">
<!-- please refer to the toolkit's document for supported parameters, and
specify them base on your needs -->
<property name="args.input" location="@DITA.INPUT@"/>
<property name="output.dir" location="@OUTPUT.DIR@"/>
<property name="transtype" value="pdf"/>
</ant>
</target>
</project>