</xsl:call-template>
</xsl:variable>
- <book name="{$book.id}">
+ <book id="{$book.id}">
<title>
<xsl:value-of select="$book.title"/>
</title>
</xsl:template>
<xsl:template match="image">
- <figure>
- <title>
- <xsl:value-of select="."/>
- </title>
-
- <mediaobject>
- <imageobject>
- <imagedata>
- <xsl:attribute name="fileref">
- <xsl:text>images/</xsl:text>
- <xsl:value-of select="@name"/>
- </xsl:attribute>
- </imagedata>
- </imageobject>
- </mediaobject>
- </figure>
+ <mediaobject>
+ <imageobject>
+ <imagedata>
+ <xsl:attribute name="fileref">
+ <xsl:text>images/</xsl:text>
+ <xsl:value-of select="@name"/>
+ </xsl:attribute>
+ </imagedata>
+ </imageobject>
+ </mediaobject>
</xsl:template>
<xsl:template match="detaileddescription">
@echo Converting Doxygen XML to Docbook...
@-mkdir mshelp 2> /dev/null
@xsltproc HV1/lufa_docbook_transform.xsl $(DOXYGEN_COMBINED_XML) > mshelp/lufa_docbook.xml
+
+ @echo Converting Docbook to Microsoft Help 1.0...
@cd mshelp && xsltproc $(MSHELP_GEN_PARAMS) ../Docbook/mshelp/docbook.xsl lufa_docbook.xml
@echo Copying help assets...