summaryrefslogtreecommitdiff
path: root/tex/context/base/x-mathml-html.mkiv
blob: 2ac7d3cba879b3e603d6622b74fa522e2ce3a8a5 (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
%D \modul
%D   [       file=x-mathml,
%D        version=2014.05.18,
%D          title=\CONTEXT\ XML Modules,
%D       subtitle=\MATHML\ embedded HTML,
%D         author=Hans Hagen,
%D           date=\currentdate,
%D      copyright={PRAGMA ADE \& \CONTEXT\ Development Team}]
%C
%C This module is part of the \CONTEXT\ macro||package and is
%C therefore copyrighted by \PRAGMA. See mreadme.pdf for
%C details.

% maybe some more

\startmodule [mathml-html]

\startxmlsetups mml:html:b
    \bold{\xmlflush{#1}}
\stopxmlsetups

\startxmlsetups mml:html:i
    \italic{\xmlflush{#1}}
\stopxmlsetups

\startxmlsetups mml:html:tt
    \mono{\xmlflush{#1}}
\stopxmlsetups

\startxmlsetups mml:html:em
    \emphasized{\xmlflush{#1}}
\stopxmlsetups

\startxmlsetups mml:html
    \xmlsetsetup{#1}{mml:b|mml:i|mml:tt|mml:em}{mml:html:*}
\stopxmlsetups

\xmlregistersetup{mml:html}

\stopmodule