Skip to content

Commit 141073d

Browse files
<mspace> as token element, correct unicode for ellipsis
1 parent 6be4844 commit 141073d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Nordic MathML Guidelines.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ For example, a webpage might use Presentation MathML to display an equation visu
167167

168168
### Token Elements
169169

170-
The elements `<mn>`, `<mo>` and `<mi>` are so-called token elements. This means that they are the only MathML elements permitted to contain character data.
170+
The token elements that we use are `<mn>`, `<mo>`, `<mi>` and `<mspace>`. Token elements are the only MathML elements permitted to contain character data. More about `<mspace>` can be found here: [`<mpadded>` and `<mspace>`](#mpadded-and-mspace).
171171

172172
#### `<mn>`
173173

@@ -191,7 +191,7 @@ The percentage sign is a `<mo>` element. For example 50 percent should be writte
191191

192192
The same character can be used in a different meaning based on the context. For example, the comma can be part of a number but in a sequence the comma is an operator.
193193

194-
The sequence {1,2,3,...} written in MathML:
194+
The sequence {1,2,3,&#x2026;} written in MathML:
195195
```html
196196
<math>
197197
<mo>{</mo>
@@ -200,7 +200,7 @@ The sequence {1,2,3,...} written in MathML:
200200
<mn>2</mn>
201201
<mo>,</mo>
202202
<mn>3</mn>
203-
<mi>...</mi>
203+
<mi>&#x2026;</mi>
204204
<mo>}</mo>
205205
</math>
206206
```
@@ -1518,7 +1518,7 @@ These escape sequences are necessary to avoid conflicts with the XML syntax used
15181518

15191519
## Quality assurance
15201520

1521-
Automatic tools for MathML markup have tendencies to produce errors. A procedure for quality assurance should include searching for instances where the markup deviates from these guidelines. In addition to the Nordic EPUB validator, we recommend using [this online tool developed by Jan Martin Kvile at Statped](https://kvile.com/kvalidator/index.html). The searches can be modified by clicking the desired list item and editing the corresponding xpath query.
1521+
Automatic tools for MathML markup have tendencies to produce errors. A procedure for quality assurance should include searching for instances where the markup deviates from these guidelines. In addition to the Nordic EPUB validator, we recommend using [this online tool developed by Jan Martin Kvile at Statped](https://kvile.com/kvalidator/index.html). The searches can be modified by clicking the desired list item and editing the corresponding xpath query or css selector.
15221522

15231523

15241524
## Resources

0 commit comments

Comments
 (0)