读取MathType MTEF格式 [英] Reading MathType MTEF Format

查看:179
本文介绍了读取MathType MTEF格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个XML文件,其中包含一些科学文本,我希望它们尽可能正确地显示为HTML.在XML中,我找到了一些看起来像二进制字符串的文本,可能是MathType产生的.

I have an XML file containing some scientific text that I want to display as proper as possible as HTML. Within the XML I find some text that looks like a binary string, possibly produced by MathType.

一个这样的字符串的例子是这样的:

An example of such a string is this one:

...是独立的,并且正态分布为(0;σb2MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacqWFdpWCdaqhaaWcbaGaemOyaigabaGaeGOmaidaaaaa@30E2@)和...

... are assumed to be independent and normally distributed as (0;σb2MathType@MTEF@5@5@+=feaafiart1ev1aaatCvAUfKttLearuWrP9MDH5MBPbIqV92AaeXatLxBI9gBaebbnrfifHhDYfgasaacH8akY=wiFfYdH8Gipec8Eeeu0xXdbba9frFj0=OqFfea0dXdd9vqai=hGuQ8kuc9pgc9s8qqaq=dirpe0xb9q8qiLsFr0=vr0=vr0dc8meaabaqaciaacaGaaeqabaqabeGadaaakeaaiiGacqWFdpWCdaqhaaWcbaGaemOyaigabaGaeGOmaidaaaaa@30E2@) and ...

有人看到过这种格式,并且知道如何阅读吗?

Has anybody seen this format and knows how to read it in?

更新2011/02/15: 我要补充一个问题,我需要以编程方式读取此数据,并且如果可能的话,希望将其转换为TeX或类似格式.因此,到目前为止的答案都朝着正确的方向发展,但还不完全是我需要做的.我肯定会签出SDK.

UPDATE 2011/02/15: I should add to my question that I need to read in this data programmatically and if possible would like to convert it to TeX or similar. So the answers so far are going in the right direction but are not quite what I need to do yet. I will check out the SDK for sure.

推荐答案

那是MTEF.它伴随表达式的图形表示,或者在某些情况下为MathML或TeX,这是非常不寻常的.不过,您可以复制整个块并将其粘贴到MathType中.如果对上面的MTEF字符串执行此操作,则会得到\ sigma _b ^ 2.

That's MTEF all right. It's highly unusual for it to not be accompanied by a graphical representation of the expression, or in some cases MathML or TeX. Still, you can copy the entire chunk and paste it into MathType. If you do that for the above string of MTEF, you get \sigma _b^2.

这篇关于读取MathType MTEF格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆