diff options
Diffstat (limited to 'Master/texmf-dist/tex4ht/xtpipes/oo-text.4xt')
-rw-r--r-- | Master/texmf-dist/tex4ht/xtpipes/oo-text.4xt | 42 |
1 files changed, 31 insertions, 11 deletions
diff --git a/Master/texmf-dist/tex4ht/xtpipes/oo-text.4xt b/Master/texmf-dist/tex4ht/xtpipes/oo-text.4xt index e3ec991825d..1b13a657056 100644 --- a/Master/texmf-dist/tex4ht/xtpipes/oo-text.4xt +++ b/Master/texmf-dist/tex4ht/xtpipes/oo-text.4xt @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE xtpipes SYSTEM "xtpipes.dtd" > -<xtpipes preamble="yes" signature="oo-text.4xt (2008-07-15-16:02)"> +<xtpipes preamble="yes" signature="oo-text.4xt (2009-03-11-03:09)"> <sax content-handler="xtpipes.util.ScriptsManager,tex4ht.OoFilter" lexical-handler="xtpipes.util.ScriptsManagerLH" > <script element="t4htlink" > @@ -206,27 +206,27 @@ and (count(child::text:p) = count(child::*)) ]" > - <xsl:copy> + <!--xsl:copy> <xsl:attribute name="text:style-name"> <xsl:text>start_</xsl:text> <xsl:value-of select="@text:style-name" /> - </xsl:attribute> + </xsl:attribute--> <xsl:comment> <xsl:text>start </xsl:text> <xsl:value-of select=" @text:style-name " /> </xsl:comment> - </xsl:copy> + <!--/xsl:copy--> <xsl:apply-templates select="*|text()|comment()" mode="nested-p" /> - <xsl:copy> + <!--xsl:copy> <xsl:attribute name="text:style-name"> - <xsl:text>end_</xsl:text> + <xsl:text>end</xsl:text> <xsl:value-of select="@text:style-name" /> - </xsl:attribute> + </xsl:attribute--> <xsl:comment> - <xsl:text>end </xsl:text> + <xsl:text>end_</xsl:text> <xsl:value-of select=" @text:style-name " /> </xsl:comment> - </xsl:copy> + <!--/xsl:copy--> </xsl:template> <xsl:template match="*[not(text:p)]|text()|comment()" mode="nested-p" > <xsl:copy/> @@ -244,6 +244,19 @@ <xsl:apply-templates select="*|text()|comment()" /> </xsl:copy> </xsl:template> +<xsl:template + match="text:p[ + parent::text:p/@text:style-name='printthebibliography-dd' + ]" + mode="nested-p" > + <xsl:copy> + <xsl:attribute name="text:style-name"> + <xsl:value-of select="'printthebibliography-dd'" /> + </xsl:attribute> + <xsl:apply-templates select="@*[ name() != 'text:style-name' ]" /> + <xsl:apply-templates select="*|text()|comment()" /> + </xsl:copy> +</xsl:template> <xsl:template match="text:p[ child::text:span[ starts-with(@text:style-name, 'multicolumn-') @@ -273,7 +286,7 @@ </script> <script element="text:h" > - <set name="algorithmic" > + <set name="headers" > <![CDATA[ <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" @@ -320,6 +333,13 @@ <xsl:value-of select="translate(.,' ',' ')"/> </xsl:template> + <xsl:template match="text:h[ + (@text:style-name='printthebibliography-dt') + and + (normalize-space()='') +]" > +</xsl:template> + <xsl:template match="*|@*|text()|comment()" > <xsl:copy> <xsl:apply-templates select="*|@*|text()|comment()" /> @@ -329,7 +349,7 @@ ]]> </set> -<xslt name="." xml="." xsl="algorithmic" /> +<xslt name="." xml="." xsl="headers" /> </script> </sax> |