From: Hans Hagen <pragma@wxs.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mathml <mtext> behaviour
Date: Sun, 18 May 2014 17:26:32 +0200 [thread overview]
Message-ID: <5378D128.2070103@wxs.nl> (raw)
In-Reply-To: <02147227-AF28-4157-94BB-A1AD8F85D998@uva.nl>
[-- Attachment #1: Type: text/plain, Size: 1604 bytes --]
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
-----------------------------------------------------------------
[-- Attachment #2: x-mathml-html.mkiv --]
[-- Type: text/plain, Size: 881 bytes --]
%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
[-- Attachment #3: Type: text/plain, Size: 485 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
next prev parent reply other threads:[~2014-05-18 15:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-18 8:05 H. van der Meer
2014-05-18 15:26 ` Hans Hagen [this message]
2014-05-18 15:57 ` Meer, H. van der
2014-05-18 16:20 ` Hans Hagen
-- strict thread matches above, loose matches on Subject: below --
2014-05-18 7:25 Hans van der Meer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5378D128.2070103@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).