wxMaxima
Loading...
Searching...
No Matches
Functions
MathImport.cpp File Reference

LaTeX/MathML to Maxima: the two front ends and the shared interpretation. More...

#include "MathImport.h"
#include <wx/intl.h>
#include <wx/log.h>
#include <wx/sstream.h>
#include <wx/xml/xml.h>
#include <array>
#include <optional>
#include <string_view>
#include <utility>
#include <vector>
Include dependency graph for MathImport.cpp:

Functions

MathImportResult wxm::LaTeXToMaxima (const wxString &latex)
 Converts LaTeX maths, with or without $...$, (...) or [...] around it.
 
bool wxm::LooksLikeMathML (const wxString &text)
 True if the text is a MathML document rather than anything else.
 
MathImportResult wxm::MathMLToMaxima (const wxString &mathml)
 Converts a MathML <math> element (presentation markup, or an annotation)
 
MathImportResult wxm::MathToMaxima (const wxString &text)
 Converts either: MathML if LooksLikeMathML(), LaTeX otherwise.
 

Detailed Description

LaTeX/MathML to Maxima: the two front ends and the shared interpretation.

See MathImport.h for the overall design.