gh-642 Fix Figures missing in references PDF
* Fix Figures missing in references PDF * Ensure admotion graphics show up in PDF * Ensure authors are shown for PDF * Fix copyright notice spacing
This commit is contained in:
committed by
Soby Chacko
parent
6834c28674
commit
cce9b8b138
@@ -86,7 +86,7 @@
|
||||
<plugin>
|
||||
<groupId>org.asciidoctor</groupId>
|
||||
<artifactId>asciidoctor-maven-plugin</artifactId>
|
||||
<version>1.5.0</version>
|
||||
<version>1.5.3</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<id>generate-docbook</id>
|
||||
@@ -114,13 +114,21 @@
|
||||
<version>2.0.15</version>
|
||||
<configuration>
|
||||
<sourceDirectory>${basedir}/target/generated-docs</sourceDirectory>
|
||||
<imgSrcPath />
|
||||
<graphicsize.extension>0</graphicsize.extension>
|
||||
<includes>index.xml</includes>
|
||||
<xincludeSupported>true</xincludeSupported>
|
||||
<chunkedOutput>false</chunkedOutput>
|
||||
<foCustomization>${basedir}/src/main/docbook/xsl/pdf.xsl</foCustomization>
|
||||
<useExtensions>1</useExtensions>
|
||||
<admonGraphics>1</admonGraphics>
|
||||
<highlightSource>1</highlightSource>
|
||||
<highlightXslthlConfig>${basedir}/src/main/docbook/xsl/xslthl-config.xml</highlightXslthlConfig>
|
||||
<preProcess>
|
||||
<copy todir="${basedir}/target/generated-docs/images">
|
||||
<fileset dir="${basedir}/src/main/docbook/images" />
|
||||
</copy>
|
||||
</preProcess>
|
||||
</configuration>
|
||||
<dependencies>
|
||||
<dependency>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[[spring-cloud-stream-reference]]
|
||||
= Spring Cloud Stream Reference Guide
|
||||
Sabby Anandan, Marius Bogoevici, Eric Bottard, Mark Fisher, Ilayaperumal Gopinathan, Gunnar Hillert, Mark Pollack, Patrick Peralta, Glenn Renfro, Thomas Risberg, Dave Syer, David Turanski, Janne Valkealahti, Benjamin Klein
|
||||
Sabby Anandan; Marius Bogoevici; Eric Bottard; Mark Fisher; Ilayaperumal Gopinathan; Gunnar Hillert; Mark Pollack; Patrick Peralta; Glenn Renfro; Thomas Risberg; Dave Syer; David Turanski; Janne Valkealahti; Benjamin Klein
|
||||
:doctype: book
|
||||
:toc:
|
||||
:toclevels: 4
|
||||
|
||||
@@ -99,7 +99,9 @@ under the License.
|
||||
<xsl:if test="position() > 1">
|
||||
<xsl:text>, </xsl:text>
|
||||
</xsl:if>
|
||||
<xsl:value-of select="."/>
|
||||
<xsl:value-of select="d:personname/d:firstname"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="d:personname/d:surname"/>
|
||||
</xsl:for-each>
|
||||
</fo:block>
|
||||
|
||||
@@ -108,7 +110,10 @@ under the License.
|
||||
</fo:block>
|
||||
|
||||
<fo:block font-family="Helvetica" font-size="10pt" padding="5mm" padding-before="25em">
|
||||
<xsl:text>Copyright © </xsl:text><xsl:value-of select="d:info/d:copyright"/>
|
||||
<xsl:text>Copyright © </xsl:text>
|
||||
<xsl:value-of select="d:info/d:copyright/d:year"/>
|
||||
<xsl:text> </xsl:text>
|
||||
<xsl:value-of select="d:info/d:copyright/d:holder"/>
|
||||
</fo:block>
|
||||
|
||||
<fo:block font-family="Helvetica" font-size="8pt" padding="1mm">
|
||||
@@ -509,6 +514,10 @@ under the License.
|
||||
<!-- admon -->
|
||||
<xsl:param name="admon.graphics" select="0"/>
|
||||
|
||||
<xsl:template match="*" mode="admon.graphic.width">
|
||||
<xsl:text>18pt</xsl:text>
|
||||
</xsl:template>
|
||||
|
||||
<xsl:attribute-set name="nongraphical.admonition.properties">
|
||||
<xsl:attribute name="margin-left">0.1em</xsl:attribute>
|
||||
<xsl:attribute name="margin-right">2em</xsl:attribute>
|
||||
|
||||
Reference in New Issue
Block a user