PDA

View Full Version : Qwt 5 - render TeX text



ak
22nd April 2007, 16:50
Has anybody rendered TeX text using TeXText text engine?
I can't find how to do it...

Uwe
23rd April 2007, 09:45
The Qwt-Text subsystem uses QwtTextTextEngines for rendering text labels. In Qwt 5.0 you find text engines for plain text, simple rich text and for MathML labels (using the MathML renderer from the Qt solutions package).

A TeX text engine would be a very usable addition to Qwt (that's why you already find a QwtText::TeXText enum), but at the moment I don't have the time to implement it. But this is a perfect candidate for a contribution, because it can be implemented completely independent from the Qwt code - without having to fight with existing code.

So volunteers are very welcome,
Uwe

caduel
1st May 2007, 10:08
KLatexFormula seems to do about what you want. Maybe you can use it.

http://klatexformula.sourceforge.net/

If that should be ok with its license maybe you can see how it's done and do something similar yourself. (Is that ok if both your 'inspiration' and your own code are GPL, what if not?)

HTH
Christoph