[NTG-context] Handling MathML in ConTEXt

Mojca Miklavec mojca.miklavec.lists at gmail.com
Wed May 7 11:56:14 CEST 2014


Hi,

is this a duplicate email by accident?

On Wed, May 7, 2014 at 6:59 AM, Ananth Narayanan wrote:
> Dear Sir,
>
> I am new to ConTEXt. I am using the below mentioned coding in a TEX file and
> try to compile it in ConTEXt to get a .DVI output. But I am getting PDF
> output only
>
> %=============
> \setupbodyfont[times]
> \usemodule[mathml]
> \starttext
> \setupheader [state=stop]
> \startbuffer
> <math xmlns="http://www.w3c.org/mathml" version="2.0"> <mcolumn>
> <mn>123</mn> <mrow> <mn>456</mn> <mo>+</mo> </mrow> <mline spacing="000+"/>
> <mn>579</mn> </mcolumn></math>
> \stopbuffer
> \processxmlbuffer
> \stoptext
> %==
>
>
> Could you please help me to get .DVI output or PS from ConTEXt.

You can in principle convert the resulting PDF to PostScript.

DVI doesn't even support OpenType fonts and ConTeXt MKIV doesn't
really support the old TFM fonts any longer.

As Hans already asked: what do you need the DVI format for?

While it is not *technically* impossible to implement it, it is
certainly a lot of "wasted" effort for very little or no gain. A lot
more useful would be to avoid the need for DVI on the other side.

Mojca


More information about the ntg-context mailing list