+ disable the use of extension to prevent the callouts from being generated (which caused some problems)

+ fixed some issues with image paths
This commit is contained in:
Costin Leau
2011-07-19 20:53:06 +03:00
parent 098996c867
commit fc2a66afab
5 changed files with 10 additions and 15 deletions

View File

@@ -18,8 +18,8 @@ docbookHtmlSingle.stylesheet = new File(projectDir, 'src/reference/resources/xsl
docbookFoPdf.stylesheet = new File(projectDir, 'src/reference/resources/xsl/pdf-custom.xsl')
def imagesDir = new File(projectDir, 'src/reference/resources/images');
docbookFoPdf.admonGraphicsPath = "${imagesDir}/admon"
docbookFoPdf.imgSrcPath = "${imagesDir}"
[docbookHtml, docbookFoPdf, docbookHtmlSingle]*.admonGraphicsPath = "./images/admon/"
[docbookHtml, docbookFoPdf, docbookHtmlSingle]*.imgSrcPath = "${imagesDir}"
refSpec = copySpec {
into ('reference') {

View File

@@ -39,14 +39,10 @@
<xi:include href="reference/introduction.xml"/>
<xi:include href="reference/bootstrap.xml"/>
<!--
<xi:include href="reference/data.xml"/>
<xi:include href="reference/serialization.xml"/>
<xi:include href="reference/samples.xml"/>
-->
</part>
<!--
<part id="resources">
<title>Other Resources</title>
@@ -63,5 +59,4 @@
<title>Appendices</title>
<xi:include href="appendix/appendix-schema.xml"/>
</part>
-->
</book>
</book>

View File

@@ -37,7 +37,7 @@
<xsl:param name="highlight.source">1</xsl:param>
<!-- Extensions -->
<xsl:param name="use.extensions">1</xsl:param>
<xsl:param name="use.extensions">0</xsl:param>
<xsl:param name="tablecolumns.extension">0</xsl:param>
<xsl:param name="callout.extensions">1</xsl:param>

View File

@@ -34,7 +34,7 @@
<xsl:param name="highlight.source">1</xsl:param>
<!-- Extensions -->
<xsl:param name="use.extensions">1</xsl:param>
<xsl:param name="use.extensions">0</xsl:param>
<xsl:param name="tablecolumns.extension">0</xsl:param>
<xsl:param name="callout.extensions">1</xsl:param>

View File

@@ -24,7 +24,7 @@
xmlns:xslthl="http://xslthl.sf.net"
exclude-result-prefixes="xslthl"
version='1.0'>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/docbook.xsl"/>
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/fo/highlight.xsl"/>
@@ -201,9 +201,10 @@
################################################### -->
<!-- These extensions are required for table printing and other stuff -->
<xsl:param name="use.extensions">1</xsl:param>
<xsl:param name="use.extensions">0</xsl:param>
<xsl:param name="tablecolumns.extension">0</xsl:param>
<xsl:param name="callout.extensions">1</xsl:param>
<xsl:param name="callout.extensions">0</xsl:param>
<xsl:param name="callouts.extensions">0</xsl:param>
<xsl:param name="fop1.extensions">1</xsl:param>
<!--###################################################
@@ -486,7 +487,6 @@
<!--###################################################
colored and hyphenated links
################################################### -->
<!--
<xsl:template match="ulink">
<fo:basic-link external-destination="{@url}"
xsl:use-attribute-sets="xref.properties"
@@ -518,5 +518,5 @@
</xsl:choose>
</fo:basic-link>
</xsl:template>
-->
</xsl:stylesheet>