~ubuntu-branches/debian/sid/tex4ht/sid

« back to all changes in this revision

Viewing changes to texmf/tex4ht/xttl/oo-math.4xt

  • Committer: Bazaar Package Importer
  • Author(s): Kapil Hari Paranjape
  • Date: 2008-09-12 10:32:36 UTC
  • mfrom: (1.3.2 upstream) (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080912103236-tgw2q5g6f5hp2pnm
Tags: 20080701-2
* debian/patches/add_manpage.diff: Modified the man page
  to recommend that "mk4ht" be used for conversions other than
  from TeX/LaTeX to HTML. This is in response to #495768.
* debian/control: Replaced "sun-java5-jre" with "openjdk-6-jre-headless"
  in the "Suggests" field for "tex4ht-common". The latter java runtime
  seems to work with "xtpipes.jar" and the former is non-free.
  (Closes: #486482)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0" encoding="UTF-8" ?>
2
 
<!DOCTYPE xtpipes SYSTEM "xtpipes.dtd" >
3
 
<xtpipes preamble="yes" signature="oo-math.4xt (2006-07-05-11:34)">
4
 
   <sax content-handler="ScriptsManager,OoFilter"
5
 
        lexical-handler="ScriptsManagerLH" >
6
 
      <script element="math:mtable" >
7
 
         <dom name="." xml="." method="mtable" class="OoUtilities" />
8
 
<set name="rmXmlDecl" >
9
 
  <![CDATA[
10
 
   <xsl:stylesheet version="1.0"
11
 
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
12
 
      xmlns:math="http://www.w3.org/1998/Math/MathML"
13
 
      xmlns:xlink="http://www.w3.org/1999/xlink"
14
 
   >
15
 
      <xsl:output omit-xml-declaration = "yes" />
16
 
 
17
 
        <xsl:template match="*|@*|text()|comment()" >
18
 
        <xsl:copy>
19
 
          <xsl:apply-templates select="*|@*|text()|comment()" />
20
 
        </xsl:copy>
21
 
      </xsl:template>
22
 
   </xsl:stylesheet>
23
 
]]>
24
 
 
25
 
</set>
26
 
<xslt name="." xml="." xsl="rmXmlDecl" />
27
 
 
28
 
 
29
 
      </script>
30
 
      <script element="math:math" >
31
 
         <set name="math:mo" >
32
 
   <![CDATA[
33
 
   <xsl:stylesheet version="1.0"
34
 
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
35
 
      xmlns:math="http://www.w3.org/1998/Math/MathML"
36
 
      xmlns:xlink="http://www.w3.org/1999/xlink"
37
 
   >
38
 
      <xsl:output omit-xml-declaration = "yes" />
39
 
 
40
 
   <xsl:template match=" math:mo[
41
 
   not(preceding-sibling::* or following-sibling::*)
42
 
]" >
43
 
   <math:mtext>
44
 
      <xsl:apply-templates select="*|@*|text()" />
45
 
   </math:mtext>
46
 
</xsl:template>
47
 
<xsl:template match=" math:mo[
48
 
   (.='{') or (.='}')
49
 
]" >
50
 
   <math:mtext>
51
 
      <xsl:apply-templates select="*|@*|text()" />
52
 
   </math:mtext>
53
 
</xsl:template>
54
 
 
55
 
         <xsl:template match="*|@*|text()|comment()" >
56
 
        <xsl:copy>
57
 
          <xsl:apply-templates select="*|@*|text()|comment()" />
58
 
        </xsl:copy>
59
 
      </xsl:template>
60
 
   </xsl:stylesheet>
61
 
]]>
62
 
 
63
 
</set>
64
 
<xslt name="." xml="." xsl="math:mo" />
65
 
 
66
 
      </script>
67
 
   </sax>
68
 
</xtpipes>
69