Ask Your Question
0

Export formulas to mathml ? [closed]

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

Luc.Tartier gravatar image

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?

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2015-10-18 22:51:50.240911

2 Answers

Sort by » oldest newest most voted
0

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

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.

edit flag offensive delete link more
0

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

Luc.Tartier gravatar image

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?

edit flag offensive delete link more

Question Tools

Stats

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

Seen: 1,451 times

Last updated: Nov 07 '12