Centre images in the Atmel Studio help, apply text formatting styles recursively.

pull/1469/head
Dean Camera 12 years ago
parent 3908d2e608
commit a24e1cc7d7

@ -529,7 +529,7 @@
<tbody> <tbody>
<xsl:for-each select="parameteritem"> <xsl:for-each select="parameteritem">
<row> <row>
<xsl:apply-templates select="."/> <xsl:apply-templates/>
</row> </row>
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
@ -550,7 +550,7 @@
<tbody> <tbody>
<xsl:for-each select="parameteritem"> <xsl:for-each select="parameteritem">
<row> <row>
<xsl:apply-templates select="."/> <xsl:apply-templates/>
</row> </row>
</xsl:for-each> </xsl:for-each>
</tbody> </tbody>
@ -600,19 +600,23 @@
<xsl:template match="bold"> <xsl:template match="bold">
<emphasis role="bold"> <emphasis role="bold">
<xsl:value-of select="."/> <xsl:apply-templates/>
</emphasis> </emphasis>
</xsl:template> </xsl:template>
<xsl:template match="emphasis"> <xsl:template match="emphasis">
<emphasis role="italic"> <emphasis role="italic">
<xsl:value-of select="."/> <xsl:apply-templates/>
</emphasis> </emphasis>
</xsl:template> </xsl:template>
<xsl:template match="small">
<xsl:apply-templates/>
</xsl:template>
<xsl:template match="computeroutput"> <xsl:template match="computeroutput">
<computeroutput> <computeroutput>
<xsl:value-of select="."/> <xsl:apply-templates/>
</computeroutput> </computeroutput>
</xsl:template> </xsl:template>
@ -636,13 +640,13 @@
<xsl:template match="superscript"> <xsl:template match="superscript">
<superscript> <superscript>
<xsl:value-of select="."/> <xsl:apply-templates/>
</superscript> </superscript>
</xsl:template> </xsl:template>
<xsl:template match="subscript"> <xsl:template match="subscript">
<subscript> <subscript>
<xsl:value-of select="."/> <xsl:apply-templates/>
</subscript> </subscript>
</xsl:template> </xsl:template>
@ -693,7 +697,7 @@
<row> <row>
<xsl:for-each select="entry"> <xsl:for-each select="entry">
<entry> <entry>
<xsl:apply-templates select="."/> <xsl:apply-templates/>
</entry> </entry>
</xsl:for-each> </xsl:for-each>
</row> </row>
@ -704,7 +708,7 @@
<row> <row>
<xsl:for-each select="entry"> <xsl:for-each select="entry">
<entry> <entry>
<xsl:apply-templates select="."/> <xsl:apply-templates/>
</entry> </entry>
</xsl:for-each> </xsl:for-each>
</row> </row>
@ -734,7 +738,7 @@
<xsl:template match="programlisting"> <xsl:template match="programlisting">
<programlisting language="c"> <programlisting language="c">
<xsl:for-each select="codeline[position() > 1 or highlight]"> <xsl:for-each select="codeline[position() > 1 or highlight]">
<xsl:apply-templates select="."/> <xsl:apply-templates/>
<xsl:text>&#10;</xsl:text> <xsl:text>&#10;</xsl:text>
</xsl:for-each> </xsl:for-each>
</programlisting> </programlisting>
@ -753,7 +757,7 @@
<xsl:template match="image"> <xsl:template match="image">
<mediaobject> <mediaobject>
<imageobject> <imageobject>
<imagedata> <imagedata align="center">
<xsl:attribute name="fileref"> <xsl:attribute name="fileref">
<xsl:text>images/</xsl:text> <xsl:text>images/</xsl:text>
<xsl:value-of select="@name"/> <xsl:value-of select="@name"/>

@ -44,7 +44,7 @@ table thead th {
padding: 5px; padding: 5px;
} }
table th, td { table tbody td {
padding: 5px; padding: 5px;
} }

Loading…
Cancel
Save