-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathintegrator.xml
More file actions
43 lines (40 loc) · 1.29 KB
/
integrator.xml
File metadata and controls
43 lines (40 loc) · 1.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?xml version='1.0' encoding='UTF-8'?>
<project>
<!-- Main target for bootstrap-pdf transtype -->
<target
name="dita2pdf-bootstrap"
depends="dita2pdf-bootstrap.init,
dita2pdf2"
/>
<target name="dita2pdf-bootstrap.init">
<!-- Set default theme to 'default' if not already set -->
<condition property="bootstrap.theme" value="default">
<not><isset property="bootstrap.theme"/></not>
</condition>
<property
name="customization.dir"
location="${dita.plugin.org.dita-bootstrap.pdf.theme.dir}/${bootstrap.theme}/cfg"
/>
<!-- Only set theme configuration if the files actually exist (allows 'none' to work) -->
<available
file="${customization.dir}/fo/fop.xconf"
property="theme.fop.userconfig.available"
/>
<condition
property="args.fo.userconfig"
value="${customization.dir}/fo/fop.xconf"
>
<isset property="theme.fop.userconfig.available"/>
</condition>
<available
file="${customization.dir}/fo/font-mappings.xml"
property="theme.font.mapping.available"
/>
<condition
property="args.font.mapping.file"
value="${customization.dir}/fo/font-mappings.xml"
>
<isset property="theme.font.mapping.available"/>
</condition>
</target>
</project>