projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Documentation: Add additional project links.
[pub/USBasp.git]
/
LUFA
/
StudioIntegration
/
HV1
/
lufa_docbook_transform.xslt
diff --git
a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
index
f1e9239
..
26c1d37
100644
(file)
--- a/
LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
+++ b/
LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt
@@
-4,8
+4,6
@@
<xsl:output method="xml" indent="no"/>
<xsl:output method="xml" indent="no"/>
- <xsl:param name="keyword.namespace" select="'Atmel.Language.C'"/>
-
<xsl:template name="generate.book.title">
<xsl:text>LUFA Library</xsl:text>
</xsl:template>
<xsl:template name="generate.book.title">
<xsl:text>LUFA Library</xsl:text>
</xsl:template>
@@
-33,7
+31,7
@@
</xsl:call-template>
</xsl:variable>
</xsl:call-template>
</xsl:variable>
- <indexterm id="{$
keyword.namespace}.{$
name}">
+ <indexterm id="{$name}">
<primary>
<xsl:value-of select="$book.title"/>
</primary>
<primary>
<xsl:value-of select="$book.title"/>
</primary>
@@
-729,21
+727,13
@@
<xsl:template match="programlisting">
<programlisting language="c">
<xsl:template match="programlisting">
<programlisting language="c">
- <xsl:apply-templates/>
+ <xsl:for-each select="codeline[position() > 1 or highlight]">
+ <xsl:apply-templates select="."/>
+ <xsl:text> </xsl:text>
+ </xsl:for-each>
</programlisting>
</xsl:template>
</programlisting>
</xsl:template>
- <xsl:template match="codeline">
- <xsl:apply-templates/>
- <xsl:text> </xsl:text>
- </xsl:template>
-
- <xsl:template match="codeline[last()]">
- <xsl:if test="text() != '*'">
- <xsl:apply-templates/>
- </xsl:if>
- </xsl:template>
-
<xsl:template match="highlight">
<emphasis role="{@class}">
<xsl:apply-templates/>
<xsl:template match="highlight">
<emphasis role="{@class}">
<xsl:apply-templates/>