Yet another what-you-see-is-what-you-get equation editor
This story arc has reached its conclusion, but the adventure continues with YAWYSIWYGEE 2: Forscape!
Qt widget for editing documents with inline equations.
This project aims to create a Qt widget for inline editing of equations. The target is a code editor style rather than a document editor style (think Notepad++ with equations versus MS Word or LyX). Such an equation code editor could be used for:
The name is perhaps overly self-deprecating; although there are many inline equation editors, there is not an abundance of open source options, and a Qt widget should be useful.
There is an exposed widget class "TypesetEdit" which has an API similar to QTextEdit. Probably the easiest way to interact with a TypesetEdit in a separate project is to use the toMathBran() and setMathBran() methods, which use the MathBran serialization format. It is also possible to inject MathBran code into a specific part of the document, which is how the GUI buttons are implemented and how copy/paste works.
There is also an exposed class "TypesetToolbar" included in the library to make it easier to incorporate a GUI in a custom application. See the ExampleApp for a demonstration of how to use TypesetToolbar.
Discussion of data structures and algorithms can be found in the project wiki. Hopefully these pages will lower the barrier of entry to modify YAWYSIWGEE source code.
This project is licensed under the MIT License - see the LICENSE file for details
Feel free to submit pull requests and use the issue tracker to start a discussion.
Thanks to: