Use html custom stylesheet
This commit is contained in:
parent
f7c7eaeee6
commit
16b7537db5
|
@ -14,7 +14,7 @@
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!DOCTYPE xsl:stylesheet [
|
<!DOCTYPE xsl:stylesheet [
|
||||||
<!ENTITY db_xsl_path "../lib/docbook-xsl/">
|
<!ENTITY db_xsl_bak "docbook-bak.xsl">
|
||||||
<!ENTITY callout_gfx_path "../images/callouts/">
|
<!ENTITY callout_gfx_path "../images/callouts/">
|
||||||
<!ENTITY admon_gfx_path "../images/admons/">
|
<!ENTITY admon_gfx_path "../images/admons/">
|
||||||
]>
|
]>
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
xmlns="http://www.w3.org/TR/xhtml1/transitional"
|
xmlns="http://www.w3.org/TR/xhtml1/transitional"
|
||||||
exclude-result-prefixes="#default">
|
exclude-result-prefixes="#default">
|
||||||
|
|
||||||
<xsl:import href="&db_xsl_path;/html/docbook.xsl"/>
|
<xsl:import href="&db_xsl_bak;"/>
|
||||||
|
|
||||||
<!--###################################################
|
<!--###################################################
|
||||||
HTML Settings
|
HTML Settings
|
|
@ -179,11 +179,18 @@
|
||||||
<ant:unzip dest="${maven.build.dir}"
|
<ant:unzip dest="${maven.build.dir}"
|
||||||
src="${pom.getDependencyPath('docbook:docbook-xsl')}"/>
|
src="${pom.getDependencyPath('docbook:docbook-xsl')}"/>
|
||||||
|
|
||||||
<!-- use a custom stylesheet -->
|
<!-- use a custom fo stylesheet -->
|
||||||
<move file="${maven.sdocbook.stylesheets.dir}/fo/docbook.xsl"
|
<move file="${maven.sdocbook.stylesheets.dir}/fo/docbook.xsl"
|
||||||
tofile="${maven.sdocbook.stylesheets.dir}/fo/docbook-bak.xsl"/>
|
tofile="${maven.sdocbook.stylesheets.dir}/fo/docbook-bak.xsl"/>
|
||||||
<copy file="${maven.sdocbook.src.dir}/styles/fo/docbook.xsl"
|
<copy file="${maven.sdocbook.src.dir}/styles/fo/docbook.xsl"
|
||||||
todir="${maven.sdocbook.stylesheets.dir}/fo"/>
|
todir="${maven.sdocbook.stylesheets.dir}/fo"/>
|
||||||
|
|
||||||
|
<!-- use a custom html stylesheet -->
|
||||||
|
<move file="${maven.sdocbook.stylesheets.dir}/html/docbook.xsl"
|
||||||
|
tofile="${maven.sdocbook.stylesheets.dir}/html/docbook-bak.xsl"/>
|
||||||
|
<copy file="${maven.sdocbook.src.dir}/styles/html/docbook.xsl"
|
||||||
|
todir="${maven.sdocbook.stylesheets.dir}/html"/>
|
||||||
|
|
||||||
<copy todir="${maven.sdocbook.stylesheets.dir}">
|
<copy todir="${maven.sdocbook.stylesheets.dir}">
|
||||||
<fileset dir="${maven.sdocbook.src.dir}/images"/>
|
<fileset dir="${maven.sdocbook.src.dir}/images"/>
|
||||||
</copy>
|
</copy>
|
||||||
|
|
Loading…
Reference in New Issue