Results 1 to 3 of 3

Thread: Qwt 5 - render TeX text

  1. #1
    Join Date
    Aug 2006
    Location
    Russia, St. Petersburg <-> Omsk
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Qwt 5 - render TeX text

    Has anybody rendered TeX text using TeXText text engine?
    I can't find how to do it...

  2. #2
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qwt 5 - render TeX text

    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

  3. #3
    Join Date
    Dec 2006
    Posts
    849
    Thanks
    6
    Thanked 163 Times in 151 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Qwt 5 - render TeX text

    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

Similar Threads

  1. Unhandled exception in qatomic
    By NewGuy in forum Qt Programming
    Replies: 14
    Last Post: 23rd July 2013, 10:49
  2. Problem pasting text into a QTextEdit
    By Spockmeat in forum Qt Programming
    Replies: 8
    Last Post: 14th March 2009, 15:36
  3. Editable text in QGraphicsView
    By wysota in forum Qt Programming
    Replies: 8
    Last Post: 24th February 2007, 16:30
  4. visible text of textedit
    By regix in forum Qt Programming
    Replies: 3
    Last Post: 26th June 2006, 10:02
  5. use interesting QWT Library with QT3.X
    By raphaelf in forum Qwt
    Replies: 2
    Last Post: 23rd January 2006, 12:24

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.