from code-server
This commit is contained in:
parent
eda5c02fe9
commit
5ef8bdba47
2652 changed files with 528235 additions and 0 deletions
|
|
@ -0,0 +1,20 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:fo="http://www.w3.org/1999/XSL/Format"
|
||||
version="2.0">
|
||||
<!-- Move figure title to top and description to bottom -->
|
||||
<xsl:template match="*[contains(@class,' topic/fig ')]">
|
||||
<fo:block xsl:use-attribute-sets="fig">
|
||||
<xsl:call-template name="commonattributes"/>
|
||||
<xsl:if test="not(@id)">
|
||||
<xsl:attribute name="id">
|
||||
<xsl:call-template name="get-id"/>
|
||||
</xsl:attribute>
|
||||
</xsl:if>
|
||||
<xsl:apply-templates select="*[contains(@class,' topic/title ')]"/>
|
||||
<xsl:apply-templates select="*[not(contains(@class,' topic/title ') or contains(@class,' topic/desc '))]"/>
|
||||
<xsl:apply-templates select="*[contains(@class,' topic/desc ')]"/>
|
||||
</fo:block>
|
||||
</xsl:template>
|
||||
</xsl:stylesheet>
|
||||
Loading…
Add table
Add a link
Reference in a new issue