Dear Joris, Dear Developers, I hope you are doing well. I am thinking about writing some new plugins to have better support to create an interactive book on technology and mathematics education. My working platform is Linux. Some plugins already work very nicely (including Giac, Scheme, Python, and so on) and I am happy with them!
Since I don't have Mathematica but WolframScript <https://www.wolfram.com/engine/> (also known as Wolfram Engine, it is free to use, it is fully compatible with Mathematica but no GUI is available), I tried to connect WolframScript directly to TeXmacs by creating a symlink /usr/local/bin/math -> /usr/local/Wolfram/WolframEngine/14.0/Executables/math, otherwise TeXmacs does not know about its presence and no option for a Mathematica session is. Now, as I restarted TeXmacs, the program properly identified that there is an executable "math" in the path and there is a new menu option Insert->Session->Mathematica. When running a Mathematica session, TeXmacs successfully compiled the bundled C file into my $HOME/.TeXmacs/bin/tm_mathematica.bin, but since the required helper shared library was not found, I got an error message. I managed to fix this by putting another symlink /usr/local/lib/libML64i4.so -> /usr/local/Wolfram/WolframEngine/14.0/SystemFiles/Links/MathLink/DeveloperKit/Linux-x86-64/CompilerAdditions/libML64i4.so, so now I am happy to report that TeXmacs can communicate with my WolframScript: [image: image.png] Anyway, this is not a simple method for most users, so maybe some extra documentation on this could be added to some tutorial. I am unsure why WolframScript is invisible on my system unless I create symlinks manually, but that's life. On the other hand, I started reading the docs https://www.texmacs.org/tmweb/manual/webman-write-itf.en.html, but some links seem to be broken, e.g. https://www.texmacs.org/tmweb/plugin/plugin-binary.en.html does not work. I am unsure where to find these pieces of information in TeXmacs' help system, there are so many items, I cannot figure it out where I should start my contributing work. Thanks in advance for giving some hints on this. I am definitely planning to create a plugin for GeoGebra and for GeoGebra Discovery. Best, Zoltan -- *Dr. Zoltán** Kovács, MSc* *Private Pädagogische Hochschule der Diözese Linzhttps://matek.hu/zoltan <https://matek.hu/zoltan>*
_______________________________________________ Texmacs-dev mailing list [email protected] https://lists.gnu.org/mailman/listinfo/texmacs-dev
