diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2013-04-28 16:08:33 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2013-04-28 16:08:33 +0000 |
commit | a24e1cc7d761c8c3abd518a95393b46b391e7565 (patch) | |
tree | e41752341054cdf2d082c0a79ae766f4c201f2e5 /LUFA | |
parent | 3908d2e608c958bd6627afae4aab9362f84b6b90 (diff) | |
download | lufa-a24e1cc7d761c8c3abd518a95393b46b391e7565.tar.gz lufa-a24e1cc7d761c8c3abd518a95393b46b391e7565.tar.bz2 lufa-a24e1cc7d761c8c3abd518a95393b46b391e7565.zip |
Centre images in the Atmel Studio help, apply text formatting styles recursively.
Diffstat (limited to 'LUFA')
-rw-r--r-- | LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt | 26 | ||||
-rw-r--r-- | LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css | 2 |
2 files changed, 16 insertions, 12 deletions
diff --git a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt index 82ad935c2..ca08b67b4 100644 --- a/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt +++ b/LUFA/StudioIntegration/HV1/lufa_docbook_transform.xslt @@ -529,7 +529,7 @@ <tbody> <xsl:for-each select="parameteritem"> <row> - <xsl:apply-templates select="."/> + <xsl:apply-templates/> </row> </xsl:for-each> </tbody> @@ -550,7 +550,7 @@ <tbody> <xsl:for-each select="parameteritem"> <row> - <xsl:apply-templates select="."/> + <xsl:apply-templates/> </row> </xsl:for-each> </tbody> @@ -600,19 +600,23 @@ <xsl:template match="bold"> <emphasis role="bold"> - <xsl:value-of select="."/> + <xsl:apply-templates/> </emphasis> </xsl:template> <xsl:template match="emphasis"> <emphasis role="italic"> - <xsl:value-of select="."/> + <xsl:apply-templates/> </emphasis> </xsl:template> + <xsl:template match="small"> + <xsl:apply-templates/> + </xsl:template> + <xsl:template match="computeroutput"> <computeroutput> - <xsl:value-of select="."/> + <xsl:apply-templates/> </computeroutput> </xsl:template> @@ -636,13 +640,13 @@ <xsl:template match="superscript"> <superscript> - <xsl:value-of select="."/> + <xsl:apply-templates/> </superscript> </xsl:template> <xsl:template match="subscript"> <subscript> - <xsl:value-of select="."/> + <xsl:apply-templates/> </subscript> </xsl:template> @@ -693,7 +697,7 @@ <row> <xsl:for-each select="entry"> <entry> - <xsl:apply-templates select="."/> + <xsl:apply-templates/> </entry> </xsl:for-each> </row> @@ -704,7 +708,7 @@ <row> <xsl:for-each select="entry"> <entry> - <xsl:apply-templates select="."/> + <xsl:apply-templates/> </entry> </xsl:for-each> </row> @@ -734,7 +738,7 @@ <xsl:template match="programlisting"> <programlisting language="c"> <xsl:for-each select="codeline[position() > 1 or highlight]"> - <xsl:apply-templates select="."/> + <xsl:apply-templates/> <xsl:text> </xsl:text> </xsl:for-each> </programlisting> @@ -753,7 +757,7 @@ <xsl:template match="image"> <mediaobject> <imageobject> - <imagedata> + <imagedata align="center"> <xsl:attribute name="fileref"> <xsl:text>images/</xsl:text> <xsl:value-of select="@name"/> diff --git a/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css index f38718f89..59be60a6f 100644 --- a/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css +++ b/LUFA/StudioIntegration/HV1/lufa_studio_help_styling.css @@ -44,7 +44,7 @@ table thead th { padding: 5px;
}
-table th, td {
+table tbody td {
padding: 5px;
}
|