LaTeX to CAS translator
Jump to navigation
Jump to search
This mockup demonstrates the concept of TeX to Computer Algebra System (CAS) conversion.
The demo-application converts LaTeX functions which directly translate to CAS counterparts.
Functions without explicit CAS support are available for translation via a DRMF package (under development).
The following LaTeX input ...
{\displaystyle \operatorname{li}(x) = O \left( {x\over \ln x} \right) \; . }
... is translated to the CAS output ...
Semantic latex: \logint@{x} = O({x\over \ln x})
Confidence: 0.65464247934701
Mathematica
Translation:
Information
Symbol info
- (LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \over [\over]
Tests
Symbolic
Numeric
SymPy
Translation:
Information
Symbol info
- (LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \logint [\logint]
Tests
Symbolic
Numeric
Maple
Translation:
Information
Symbol info
- (LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \over [\over]
Tests
Symbolic
Numeric
Dependency Graph Information
Includes
Is part of
Complete translation information:
{
"id" : "FORMULA_b14c223ecc541759facfe84ca9214041",
"formula" : "\\operatorname{li}(x) = O \\left( {x\\over \\ln x} \\right)",
"semanticFormula" : "\\logint@{x} = O({x\\over \\ln x})",
"confidence" : 0.6546424793470096,
"translations" : {
"Mathematica" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Mathematica) Unknown LaTeX Command: Reached unknown latex-command \\over [\\over]"
}
}
},
"SymPy" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> SymPy) No translation possible for given token: Cannot extract information from feature set: \\logint [\\logint]"
}
}
},
"Maple" : {
"translation" : "",
"translationInformation" : {
"tokenTranslations" : {
"Error" : "(LaTeX -> Maple) Unknown LaTeX Command: Reached unknown latex-command \\over [\\over]"
}
}
}
},
"positions" : [ ],
"includes" : [ "\\operatorname{li}(x) = O \\left( {x\\over \\ln x} \\right) \\;", "x)", "x", "O" ],
"isPartOf" : [ "\\operatorname{li}(x) = O \\left( {x\\over \\ln x} \\right) \\;" ],
"definiens" : [ ]
}