diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-12 00:31:31 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-12 00:31:31 +0000 |
commit | 70e387eb63ce4723858c48592208e193dec294f3 (patch) | |
tree | 61ec42df871a70687151ed4a6d1bc6a5c81dc53c /Master/texmf-dist/source/latex/stex/xsl | |
parent | 2cee8f6dcf8e9596b5cfe9d1f3e55c61b261a320 (diff) |
stex 0.9.3 (11nov10)
git-svn-id: svn://tug.org/texlive/trunk@20410 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/stex/xsl')
-rw-r--r-- | Master/texmf-dist/source/latex/stex/xsl/omdocpost.xsl | 36 |
1 files changed, 26 insertions, 10 deletions
diff --git a/Master/texmf-dist/source/latex/stex/xsl/omdocpost.xsl b/Master/texmf-dist/source/latex/stex/xsl/omdocpost.xsl index d49f692a387..f3198fc1532 100644 --- a/Master/texmf-dist/source/latex/stex/xsl/omdocpost.xsl +++ b/Master/texmf-dist/source/latex/stex/xsl/omdocpost.xsl @@ -94,9 +94,7 @@ <!-- for citations we just extract the bibrefs at the moment. --> <xsl:template match="ltx:cite"><xsl:apply-templates select="ltx:bibref"/></xsl:template> <xsl:template match="ltx:bibref"> - <xsl:for-each select="str:tokenize(@bibrefs,',')"> - <ref type="cite" xref="{.}"/> - </xsl:for-each> + <citation><xsl:copy-of select="@bibrefs"/></citation> </xsl:template> <!-- we ignore LaTeXML breaks --> @@ -173,11 +171,28 @@ </xsl:template> <!-- for LaTeXML tables --> -<xsl:template match="ltx:tabular"><table><xsl:apply-templates/></table></xsl:template> -<xsl:template match="ltx:tbody"><xsl:apply-templates/></xsl:template> -<xsl:template match="ltx:tr"><tr><xsl:apply-templates/></tr></xsl:template> -<xsl:template match="ltx:td"><td><xsl:apply-templates/></td></xsl:template> -<xsl:template match="ltx:thead"><xsl:apply-templates/></xsl:template> +<xsl:template match="ltx:tabular"> + <table> + <xsl:copy-of select="@*"/> + <xsl:apply-templates/> + </table> +</xsl:template> + +<xsl:template match="ltx:tr"> + <tr> + <xsl:copy-of select="@*"/> + <xsl:apply-templates/> + </tr> +</xsl:template> + +<xsl:template match="ltx:td"> + <td> + <xsl:copy-of select="@*"/> + <xsl:apply-templates/> + </td> +</xsl:template> + +<xsl:template match="ltx:thead|ltx:tbody"><xsl:apply-templates/></xsl:template> <!-- for LaTeXML references from \url --> <xsl:template match="ltx:ref[@class='url']"> @@ -379,7 +394,8 @@ </xsl:if> <xsl:if test="//om:OMS[@cd='latexml' and (@name='greater-than' or - @name='less-than' or + @name='less-than' or + @name='not-equals' or @name='greater-than-or-equals' or @name='less-than-or-equals')]"> <imports from="{$omcds}/relation1.omdoc#relation1"/> @@ -429,7 +445,7 @@ </xsl:template> <xsl:template match="om:OMS[@cd='latexml' and @name='not-equals']"> - <om:OMS cd="relation1" name="ne"/> + <om:OMS cd="relation1" name="neq"/> </xsl:template> <!-- get rid of the sectioning commands --> |