Use html custom stylesheet

This commit is contained in:
Carlos Sanchez 2004-11-13 22:45:12 +00:00
parent f7c7eaeee6
commit 16b7537db5
2 changed files with 10 additions and 3 deletions

View File

@ -14,7 +14,7 @@
-->
<!DOCTYPE xsl:stylesheet [
<!ENTITY db_xsl_path "../lib/docbook-xsl/">
<!ENTITY db_xsl_bak "docbook-bak.xsl">
<!ENTITY callout_gfx_path "../images/callouts/">
<!ENTITY admon_gfx_path "../images/admons/">
]>
@ -24,7 +24,7 @@
xmlns="http://www.w3.org/TR/xhtml1/transitional"
exclude-result-prefixes="#default">
<xsl:import href="&db_xsl_path;/html/docbook.xsl"/>
<xsl:import href="&db_xsl_bak;"/>
<!--###################################################
HTML Settings

View File

@ -179,11 +179,18 @@
<ant:unzip dest="${maven.build.dir}"
src="${pom.getDependencyPath('docbook:docbook-xsl')}"/>
<!-- use a custom stylesheet -->
<!-- use a custom fo stylesheet -->
<move file="${maven.sdocbook.stylesheets.dir}/fo/docbook.xsl"
tofile="${maven.sdocbook.stylesheets.dir}/fo/docbook-bak.xsl"/>
<copy file="${maven.sdocbook.src.dir}/styles/fo/docbook.xsl"
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}">
<fileset dir="${maven.sdocbook.src.dir}/images"/>
</copy>