summaryrefslogtreecommitdiff
path: root/doc/yelp-xsl/C/db2html-math.page
blob: 79a2719b6baf1563032bb0de6e2890df436ba23f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<?xml version="1.0" encoding="utf-8"?>
<page xmlns="http://projectmallard.org/1.0/" xmlns:xsl="FIXME" type="guide" style="xslt-stylesheet" id="db2html-math">
 <info>
  <link type="guide" xref="stylesheets" group="db2html"/>
  <desc>Handle MathML in DocBook documents.</desc>
  <revision version="3.8" date="2012-11-13" status="final"/>
 </info>
 <title>DocBook to HTML - MathML</title>
 <p>This stylesheet matches embedded MathML and processes it in <code xref="db2html.math.mode">db2html.math.mode</code>.
 The matched templates for the <sys>mml:math</sys> element automatically set the <sys>display</sys>
 attribute based on whether the element is in block or inline context.</p>
 <links type="topic" groups="imports" style="linklist">
  <title>Imports Stylesheets</title>
 </links>
 <links type="topic" groups="includes" style="linklist">
  <title>Includes Stylesheets</title>
 </links>
 <links type="topic" groups="params" style="linklist">
  <title>Defines Parameters</title>
 </links>
 <links type="topic" groups="keys" style="linklist">
  <title>Defines Keys</title>
 </links>
 <links type="topic" groups="templates" style="linklist">
  <title>Defines Templates</title>
 </links>
 <links type="topic" groups="modes" style="linklist">
  <title>Defines Modes</title>
 </links>
 <list style="compact">
  <title>Calls Templates</title>
  <item>
   <p><link xref="html.class.attr"/></p>
  </item>
  <item>
   <p><link xref="html.lang.attrs"/></p>
  </item>
 </list>
 <list style="compact">
  <title>Calls Modes</title>
  <item>
   <p><link xref="db2html.math.mode"/></p>
  </item>
 </list>
 <table rules="rows">
  <title>Implements Templates</title>
  <thead>
   <tr>
    <th>
     <p>Mode</p>
    </th>
    <th>
     <p>Match</p>
    </th>
   </tr>
  </thead>
  <tbody>
   <tr>
    <td/>
    <td>
     <p><code>equation/mml:math | informalequation/mml:math |                      db:equation/mml:math | db:informalequation/mml:math</code></p>
    </td>
   </tr>
   <tr>
    <td/>
    <td>
     <p><code>inlineequation/mml:math | db:inlineequation/mml:math</code></p>
    </td>
   </tr>
   <tr>
    <td/>
    <td>
     <p><code>db:imagedata[@format='mathml']/mml:math</code></p>
    </td>
   </tr>
   <tr>
    <td>
     <p><code xref="db2html.math.mode">db2html.math.mode</code></p>
    </td>
    <td>
     <p><code>mml:*</code></p>
    </td>
   </tr>
   <tr>
    <td>
     <p><code xref="db2html.math.mode">db2html.math.mode</code></p>
    </td>
    <td>
     <p><code>text()</code></p>
    </td>
   </tr>
   <tr>
    <td>
     <p><code xref="db2html.math.mode">db2html.math.mode</code></p>
    </td>
    <td>
     <p><code>*</code></p>
    </td>
   </tr>
  </tbody>
 </table>
</page>