I am currently working on enhancing my LaTeX documents to involve complex mathematical equations. Managing these equations manually often leads to errors, especially when changing dependent equations elsewhere in the document. I have explored using GNU TeXmacs with Maxima for its integration with domain-specific languages, but I am looking for solutions that are more directly compatible with LaTeX.
The GitHub repository, Awesome-FLOSS-CAS, lists several FLOSS CAS tools, including Maxima and Sympy. While Python and Sympy offer extensive capabilities, the syntax and integration process is somewhat cumbersome. Therefore, I am considering using Maxima for its simpler syntax and direct LaTeX integration.
One potential method I've identified is to use the tex(...)
command within Maxima to export equations into a text file and then include these in a LaTeX document with the \input{...}
command. However, this method raises questions about managing variables and equations effectively in LaTeX.
I would appreciate hearing about the experiences and methods others have used to integrate CAS tools into LaTeX workflows. What are the best practices you recommend? Are there effective strategies for handling variable replacements or maintaining synchronicity between the CAS outputs and LaTeX inputs?