On 5/18/2014 10:05 AM, H. van der Meer wrote:
Sorry if this question reaches you twice, but the first time I used an
email address not registered with this newsgroup.

The short example below typeset with

\usemodule[mathml]
\starttext
\typebuffer
\blank
\processxmlbuffer
\stoptext

and "ConTeXt  ver: 2014.04.04 00:08 MKIV beta" shows that the <mtext>
element does not honour the tags within. This severely restricts the
presentation.

So what makes you think these tags should be recognized and interpreted as being 'bold'?

Can this be remedied?

\usemodule[mathml,mathml-html]

with the attached


Hans van der Meer






Hans van der Meer





___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________



--

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
    tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------
%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
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to