Cover artを入れてみる
社内でカバーアートは入れないの?と言われたので調べてみた.
ここを見ると,dita2fo-shell.xslファイルを
そんなわけでxsl\dita2fo-shell_template.xslを以下のように修正.
<xsl:template name="place-cover-art"> <!-- product specific art, etc. --> <fo:block margin-top="2pc" font-family="Gothic,Mincho,Helvetica" border-style="dashed" border-color="black" border-width="thin" padding="6pt"> <fo:block font-size="12pt" line-height="100%" margin-top="12pc" margin-bottom="12pc" text-align="center"> <fo:inline color="purple" font-weight="bold"></fo:inline> <!-- one might imbed SVG directly here for use with FOP, for instance --> <fo:external-graphic src="url(image/pizzalogo.jpg)"/> <fo:external-graphic src="url(image/toppers_logo.jpg)"/> </fo:block> </fo:block> </xsl:template>
すると出来上がりましたよ.*1