Combining WebHelp Responsive and PDF customizations in a template package
An Oxygen Publishing Template package can contain both a WebHelp Responsive and
PDF customization in the same template package and you can use that same template in
both types of transformations. The template descriptor file can define the
customization for both types by including both a
webhelp
and
pdf
element and some of the resources can be reused.
<publishing-template>
<name>Flowers</name>
<description>Flowers themed light colored template</description>
<webhelp>
<tags>
<tag>purple</tag>
<tag>light</tag>
</tags>
<preview-image file="flowers-preview.png"/>
<resources>
<css file="flowers-wh.css"/>
<css file="flowers-page-styling.css"/>
</resources>
<parameters>
<parameter name="webhelp.show.main.page.tiles" value="no"/>
<parameter name="webhelp.show.main.page.toc" value="yes"/>
</parameters>
</webhelp>
<pdf>
<tags>
<tag>purple</tag>
<tag>light</tag>
</tags>
<preview-image file="flowers-preview.png"/>
<resources>
<css file="flowers-pdf.css"/>
<css file="flowers-page-styling.css"/>
</resources>
<parameters>
<parameter name="show.changes.and.comments" value="yes"/>"/>
</parameters>
<pdf>
</publishing-template>