From fd85c16d29f89568ef4bf5cef3e1147e76b1a5c0 Mon Sep 17 00:00:00 2001
From: Runxi Yu
- Enabling the ``mathematical input'' mode in its interactive sessions I can use TeXmacs as a nice computer algebra system. However, an issue arises when I use integration. + Enabling the “mathematical input” mode in its interactive sessions I can use TeXmacs as a nice computer algebra system. However, an issue arises when I use integration.
- If I enter \(\displaystyle\int x\,\mathrm{d}\,x\) with ``\int <enter>x d<tab><tab>x
'' (spaces here are actually typed in while the ``<tab>
''s and ``<enter>
''s are their respective keys), I get this idiosyncratic error:
+ If I enter \(\displaystyle\int x\,\mathrm{d}\,x\) with “\int <enter>x d<tab><tab>x
” (spaces here are actually typed in while the “<tab>
”s and “<enter>
”s are their respective keys), I get this idiosyncratic error:
incorrect syntax: 1 is not an infix operator integrate( x 1, ^
- This seems to be a bug when TeXmacs is translating things into Maxima. Just replace the ``<tab>
'' between the integrand and the ``\(\mathrm{d}\)'' with a multiplication operator entered by ``*
''. For example, \int <enter>x*d<tab><tab>x
yields the correct result of \(\displaystyle\frac{x^2}{2}\) rather than the nonsensical error.
+ This seems to be a bug when TeXmacs is translating things into Maxima. Just replace the “<tab>
” between the integrand and the “\(\mathrm{d}\)” with a multiplication operator entered by “*
”. For example, \int <enter>x*d<tab><tab>x
yields the correct result of \(\displaystyle\frac{x^2}{2}\) rather than the nonsensical error.
For reference, the source code of a demonstration document is included below in Scheme and XML-like (?) formats. -- cgit 1.4.1-2-gfad0