Skip to main content
QUICK REVIEW

[Paper Review] TeXmacs interfaces to Maxima, MuPAD and REDUCE

Andrey Grozin|ArXiv.org|Jul 29, 2001
Scientific Computing and Data ManagementDecision Sciences5 citations
TL;DR

This paper presents a seamless integration of the TeXmacs scientific word processor with three major Computer Algebra Systems (CASs): Maxima, MuPAD, and REDUCE. By leveraging TeXmacs' high-quality typesetting and interactive editing, the system enables users to perform symbolic computations with visually superior output compared to commercial alternatives, all within a unified, user-friendly environment that enhances research workflow efficiency and reproducibility.

ABSTRACT

GNU TeXmacs is a free wysiwyg word processor providing an excellent typesetting quality of texts and formulae. It can also be used as an interface to Computer Algebra Systems (CASs). In the present work, interfaces to three general-purpose CASs have been implemented.

Motivation & Objective

  • To enhance the usability of free and mature Computer Algebra Systems (CASs) like Maxima, MuPAD, and REDUCE by providing them with a modern, WYSIWYG graphical interface.
  • To address the limitations of traditional text-based CAS interfaces, which are often outdated and less intuitive for complex mathematical work.
  • To combine the high-quality typesetting of TeXmacs with the computational power of CASs, enabling researchers to produce publication-ready documents with integrated computations.
  • To create a unified scientific work environment where writing, computation, and typesetting coexist seamlessly, improving reproducibility and workflow efficiency.
  • To demonstrate that free CASs, when coupled with a powerful interface like TeXmacs, can rival or surpass commercial systems like Mathematica and Maple in output quality and functionality.

Proposed method

  • Utilizes TeXmacs as a WYSIWYG interface that renders mathematical expressions using TeX fonts, ensuring consistent high-quality typesetting on screen and in print.
  • Establishes bidirectional communication between TeXmacs and each CAS (Maxima, MuPAD, REDUCE) by leveraging their LATEX output capabilities.
  • Integrates CAS output into TeXmacs documents in real time, rendering expressions with superior typographical quality compared to native CAS output (e.g., Mathematica's fixed-width fonts).
  • Employs on-the-fly LATEX rendering within TeXmacs to display CAS results with full mathematical fidelity, including complex expressions, integrals, series, and matrices.
  • Enables interactive features such as copying, editing, and reusing previous inputs and results directly within the TeXmacs environment.
  • Supports advanced features like symbolic integration with conditional assumptions, matrix inversion, function definition, and debugging, all rendered with high-quality typesetting.

Experimental results

Research questions

  • RQ1Can a free, open-source word processor like TeXmacs effectively serve as a high-quality interface to general-purpose Computer Algebra Systems?
  • RQ2How does the integration of TeXmacs with CASs like Maxima, MuPAD, and REDUCE improve the quality and usability of symbolic computation output compared to native CAS interfaces?
  • RQ3To what extent can TeXmacs enhance the research workflow by unifying document authoring, computation, and typesetting in a single environment?
  • RQ4Can free CASs like Maxima, when paired with a modern interface, match or exceed the output quality of commercial systems like Mathematica or Maple?
  • RQ5What are the practical benefits and limitations of using TeXmacs as a unified scientific work environment for both writing and computation?

Key findings

  • TeXmacs successfully interfaces with Maxima, MuPAD, and REDUCE, enabling high-fidelity rendering of complex mathematical expressions, including integrals, series expansions, and matrices.
  • CAS output rendered in TeXmacs exhibits superior typesetting quality compared to native output in systems like Mathematica, due to the use of scalable TeX fonts.
  • The integration allows users to edit, reuse, and annotate CAS results directly within the document, streamlining the research and publication workflow.
  • Maxima, when used via TeXmacs, demonstrates strong support for mathematical correctness, including conditional assumptions (e.g., asking about parameter signs in integration), a feature only recently adopted by commercial systems.
  • The system supports advanced features such as symbolic differentiation, Taylor series expansion, matrix operations with symbolic inverses, and recursive function definition with debugging.
  • Plots generated by MuPAD and REDUCE are displayed in separate windows via external viewers (vcam and gnuplot, respectively), with options to save to PostScript, though interactivity is limited to command-line options in REDUCE.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.