Bug 30526 - MathML support for Konqi
Summary: MathML support for Konqi
Alias: None
Product: konqueror
Classification: Applications
Component: khtml (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konqueror Developers
Depends on:
Reported: 2001-08-10 22:18 UTC by eeric
Modified: 2010-08-19 22:15 UTC (History)
17 users (show)

See Also:
Latest Commit:
Version Fixed In:


Note You need to log in before you can comment on or make changes to this bug.
Description eeric 2001-08-10 22:04:42 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           khtml
Version:           KDE 2.2.0 Beta1
Severity:          wishlist
Installed from:    Mandrake RPMs
Compiler:          gcc --version: 2.96
OS:                Linux
OS/Compiler notes: uname -a:  Linux __________.washington.edu 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001 i686 unknown

I would be thrilled if Konqi could get MathML support.  If it's anyhelp looks like the GTKHTML widget just got it.  Dunno a thing about HTML rendering tho.

Konqi rocks as it is.  Thanks for all the great work.


(Submitted via bugs.kde.org)
Comment 1 Kai Lahmann 2003-06-04 17:10:06 UTC
hey, I just wanted to fill this...:)
why is it still UNCO?
Comment 2 Thiago Macieira 2003-06-04 17:22:33 UTC
Because it's a wishlist item. There's no difference between Unconfirmed or New for 
wishlist, since we don't have to confirm. Either it's not there (so it's a valid wishlist), 
or it's already there, in which case it's Resolved. 
Comment 3 Kai Lahmann 2003-06-04 17:47:37 UTC
ok, on Mozilla yes need...
Comment 4 Jorge Adriano 2003-07-05 12:20:28 UTC
Just voted for it. 
Support for MathML would be great! 
Comment 5 S TR 2003-11-11 17:54:09 UTC
Yep, I'd definately love to see MathML fragments embeded within a html document. Amaya handles it perfectly.
Comment 6 Kurt Seebauer 2004-09-01 16:30:10 UTC
mozilla / firefox handles it also very well. It's time to get rid of the ugly latex-generated formula-pngs on mathematical websites. 
Isn't it possible to cooperate with the mozilla guys or take a look at their code? http://www.mozilla.org/projects/mathml/
Comment 7 Eike Welk 2004-09-01 18:11:50 UTC
I think kformula uses MathMl.

Comment 8 Allan Sandfeld 2004-10-03 19:36:33 UTC
KFormula has a very limited filter that translates from MathML to the kformula-format. 

Another candidate for implementation is gtkmathview, which has an okay seperation of the Gtk-rendering.

Neither mozilla's, gtkmathview of kformula's implementations are really any good though.
Comment 9 Rex Dieter 2004-10-04 15:31:40 UTC
> Neither mozilla's, gtkmathview of kformula's implementations are really any good

I've found mozilla's MathML support to be good.  What makes you say otherwise?
Comment 10 Roger 2005-01-09 07:45:03 UTC
Trolltech's 'QT Solutions' provides a MathML widget for displaying MathML...

Why not get them to promote this into QT proper or could we at least user their 'solution' directly now??
Comment 11 GML 2005-03-28 16:37:41 UTC
Maybe trolltech adds qtmmlwidget in qt gpl version if KDE community ask this nicely ? :-)
Comment 12 Georg von Hippel 2006-06-21 18:08:59 UTC
It's a real shame that Khtml still is unable to render documents containing MathML! Mozilla does it just fine -- but in all other respects Konqueror is (IMO) the better browser (not to mention better integrated with KDE), so it sucks having to use Mozilla for mathematical websites. Why can't somebody have pity and port Gecko's MathML rendering code into Khtml?
Comment 13 Rodolfo Bonnin 2006-11-15 20:11:58 UTC
I'm thinking in using xsl transformations, to render the mathml content as html. Would this approach be fine to be included in official konqueror?
Comment 14 paul brauner 2006-11-16 00:47:32 UTC
I suggest you have a look at the Tom language : http://tom.loria.fr
It's a preprocessor which adds pattern matching capabilities to java, but also 
to the C language. It is a "serious" language, developped by a public 
research team, so the techno won't disappear next year.

One big advantage over XSLT is that the code controlling the rules application 
strategy is not artificially blended in the rewrite rules since you can 
control the flow through your C functions application order. It makes big 
applications (like this one) far more readable. You also can convert xml 
documents into any C++ structure in memory, which may be relevant   here.

An other cool thing is that, Tom being a preprocessor, it does't add a library 
dependency to Tom. Plus, Tom being compiled, you may gain some speed.

For any questions, come on #tom on freenode or feel free to write to the users 
mailing list (my nick is polux).

See you.

On Wednesday 15 November 2006 20:12, Rodolfo Bonnin wrote:
[bugs.kde.org quoted mail]
Comment 15 paul brauner 2006-11-16 00:55:48 UTC
> An other cool thing is that, Tom being a preprocessor, it does't add a
> library dependency to Tom.

I meant a dependency to KDE, not Tom
Comment 16 FiNeX 2007-06-24 00:54:00 UTC
Hi! MathML should be an interesting feature on konqui! :-)
Comment 17 Allan Sandfeld 2007-12-05 11:30:38 UTC
There is a new specification called MathML for CSS, it only supports a subset of MatML, but this is what Opera uses to implement CSS. If someone wants to help, porting that stylesheet to Konqueror, would like make implementing CSS quite easy,
Comment 18 GML 2009-03-16 13:35:23 UTC
Now, qtmmlwidget is on LGPL license: http://www.qtsoftware.com/products/appdev/add-on-products/catalog/4/Widgets/qtmmlwidget/

If somebody wants to implement this feature request, you should create a konq-plugin with qtmmlwidget.
Comment 19 Dotan Cohen 2009-06-13 20:37:52 UTC
Can someone post a link to a website with MathML content?
Comment 20 Grósz Dániel 2009-06-13 20:43:28 UTC
#19: http://hutchinson.belmont.ma.us/tth/mml/ttmmozform.html
Here you can enter a LaTeX formula (there is a sample) and TtM converts it to XHTML+MathML
Comment 21 Petter Reinholdtsen 2009-06-13 20:59:49 UTC
Another example site is
Comment 22 Catalin David 2009-06-13 23:09:10 UTC
Or, for even further MathML in XHTML content, you can go to http://arxmliv.kwarc.info/ . We have a build system there that transforms the arXiv pre-print (www.arxiv.org) from LaTeX to XHTML+MathML, using LaTeXML (http://dlmf.nist.gov/LaTeXML/).

Comment 24 Paul Libbrecht 2009-06-14 22:42:28 UTC
How about the MathML test-suite?


If you have a build somewhere at hand runnable on OSX, I'd give it a go, there's even have a way to record and publish the test-suite results.

Comment 25 Fred 2009-09-23 14:28:07 UTC
I don't know if it can help, but recent improvements have been made in Webkit to support MathML:

Comment 26 Christoph Lange 2010-08-19 22:15:12 UTC
Maybe this can be considered (almost) solved now?  At least in Webkit: https://trac.webkit.org/wiki/MathML?version=14. Or do you want to keep this ticket open for KHTML?