Index of /archives/text/CTAN/support/ltx2mathml
Name Last modified Size Description
Parent Directory -
COPYING 2020-10-22 22:33 34K
README 2020-10-22 22:33 1.3K
src/ 2020-10-22 17:59 -
LTX2MathML v. 1.0
About
=====
LTX2MathML converts a subset of LaTeX math to MathML.
I wrote this over a decade ago (my coding style has changed since then :). As the original sources did not compile correctly with Visual Studio 2019, I had to make some modifications to them. Only compilation errors were addressed. The rest of the source codes have largely remained unchanged since I last wrote them.
Usage
=====
1. Include the file 'ltx2mathml.h' and the 3 CPP files (ltx2mathmlclasses.cpp, ltx2mathmlparser.cpp, and ltx2mathmltables.cpp) in your project.
2. Call the function 'convertFormula'.
3. If that function succeeds, call 'getMathMLOutput' (overloaded) to retrieve the results. Otherwise, call 'getLastError' to retrieve the error message.
See the header 'ltx2mathml.h' for a description of these functions. See the file 'test.cpp' for the usage.
LaTeX Commands/Symbols Supported
========================
The most common LaTeX commands and symbols are supported. See the file 'ltx2mathmltables.cpp' for the complete list.
Copying
=======
This program is released under the GNU General Public License
version 3 or newer. See the COPYING file included with this distribution or <http://www.gnu.org/licenses/>.
Copyright (C) 2020 Peter Frane Jr.
Contact
=======
Please send any inquries to pfranejr@hotmail.com