Ask Your Question
0

Export formulas to mathml ?

asked 2012-10-27 11:12:42 +0200

Luc.Tartier gravatar image Luc.Tartier flag of France
3 1

Is there somebody working on exporting documents to html and keep working formulas ?

The conversion to .gif images is a loss of information, uselessly makes a lot of small files that look bad on the web.

One must export again to make any changes...

Why isn't html export made to mathml code? Has anyone written a macro? Will future version of libreoffice export that way?

delete close flag offensive retag edit

2 Answers

Sort by » oldest newest most voted
0

answered 2012-10-28 00:17:59 +0200

David Carlisle gravatar image David Carlisle
26

I just tried Libre Office Version 3.6.1.2 (Build ID: e29a214) and if you export a document using export/ xhtml from the file menu, formulae are exported as MathML.

link delete flag offensive edit
0

answered 2012-11-07 12:53:10 +0200

Luc.Tartier gravatar image Luc.Tartier flag of France
3 1

Thank you very much, BUT it doesn't work!!! I tried some very simple formulae (using Dmaths that I recommend): %alpha +{5}=sqrt{x+{1}}

left lbrace stack{{ x+{1}={2} } # { y+x={3} }} right none

S lsub{32}lsup{16}rsup{{2}"-"}

The result looks like this in LibreOffice 3.6.3.2 (latest version)

formulatry

but it works only on firefox but on chrome and on IE it looks like that:

image description

The mathml isn't at all interpreted and a space there is a space for an image that doesn't show. I had a look on the .html file generated and found and embedded image via data URL scheme. The problem might be that the image doesn't have a type like png in <img src="data:image/png;base64,.... but instead you get a star like in <img src="data:image/*;base64,...

I tried gif, png, jpg, nothing worked. Anyway, I want mathml to work so that the html file can be modified and not an image (embedded or not). That image is only making the html code longer.

My question now is: is it possible to get only mathml and to have it work on chrome and IE? How can I get in touch with the developing team?

link delete flag offensive edit

Login/Signup to Answer

Donate

LibreOffice is made available by volunteers around the globe, backed by a charitable Foundation. Please support our efforts: Your donation helps us to deliver a better product!

Question tools

Follow

subscribe to rss feed

Stats

Asked: 2012-10-27 11:12:42 +0200

Seen: 132 times

Last updated: Nov 07 '12