Hello,
I’m an engineering student using neovim + latex for all my written work inspired by the late Gilles Castelle who has made some great blogposts showcasing his workflow.
I have gotten almost everything up and running and tweaked to a degree I’m satisfied with here by the end of my 1st semester. However i feel like my current workflow lacks one final element. A Computer Algebra System (CAS) like MathCad or Maple.
I’ve previously used mathcad but as I’m working on macOS it is quite a hassle as I have to run it through a virtual machine. I’ve recently also tried using sage which I find to fit the workflow a bit better, but it still has its shortcomings as I have to write everything in latex and then rewrite all the equations I want to calculate in sage and transfer the result into my latex-document which has proven to be quite error-prone as it is rather easy to mistype something when copying back and forth.
Therefore I’ve been wondering about writing some type of software that is able to parse a given latex equation calculate a result with some backend that already exists (probably python or sage) and then input the result into my latex document — on top of this it also need to keep track of the units used and give the correct unit for the outputted result, which is rather cumbersome to get working using something like sagetex. I’ve very little coding experience and therefore I do not know if this is at all feasible?
Also if any of you know about some other package that perhaps integrates this more smoothly than sagetex I’d love to hear about it.
Also I’m quite unsure if this would fit better in the python subreddit please let me know if you think so.