<!--
The later versions of the DocBook stylesheets support syntax
highlighting. In order to use it, add a language attribute to
the DocBook element containing your sources, and set it to
the language of the sources within that element. In your
pom.xml configuration, set highlightSource to true and import
highlight.xsl in your customization layer in order to enable
highlighting support. (<xsl:import href="urn:docbkx:stylesheet/highlight.xsl"/>)
-->
<profile>
<id>docbkx.highlighter</id>
<build>
<plugins>
<plugin>
<groupId>com.agilejava.docbkx</groupId>
<artifactId>docbkx-maven-plugin</artifactId>
<version>${project.version}</version>
<dependencies>
<dependency>
<groupId>net.sf.xslthl</groupId>
<artifactId>xslthl</artifactId>
<version>2.0.1</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>net.sf.offo</groupId>
<artifactId>fop-hyph</artifactId>
<version>1.2</version>
<scope>runtime</scope>
</dependency>
</dependencies>
<configuration>
<highlightSource>1</highlightSource>
<!--highlightXslthlConfig>/file/.../xslthl-config.xml</highlightXslthlConfig-->
<foCustomization>src/docbkx/docbook-fo.xsl</foCustomization>
<hyphenate>true</hyphenate>
<hyphenateVerbatim>true</hyphenateVerbatim>
</configuration>
</plugin>
</plugins>
</build>
<properties>
<example.title>Syntax Highlighting</example.title>
</properties>
</profile>