From 182a48ca8d70b7292d311365f308866ecd7f5c0b Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Tue, 14 May 2024 11:11:26 +0800 Subject: Update all HTML templates --- texmacs-maxima-integral.html | 80 -------------------------------------------- 1 file changed, 80 deletions(-) delete mode 100644 texmacs-maxima-integral.html (limited to 'texmacs-maxima-integral.html') diff --git a/texmacs-maxima-integral.html b/texmacs-maxima-integral.html deleted file mode 100644 index 0e74379..0000000 --- a/texmacs-maxima-integral.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - TeXmacs Maxima Integrals - - - - - - - - -

TeXmacs Maxima Integrals

- -

- I've been trying to get TeXmacs with its Maxima plugin to work. -

-

- 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: -

-
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. -

-

- For reference, the source code of a demonstration document is included below in Scheme and XML-like (?) formats. -

-
(document (TeXmacs "2.1.1") (style (tuple "generic" "maxima")) (body (document (session "maxima" "default" (document (unfolded-io-math (document (with "color" "red" (concat "(" (with "math-font-family" "rm" "%i") "8) "))) (document (concat (big "int") " x  x")) (document "" "incorrect syntax: 1 is not an infix operator" "integrate( x 1," "             ^")) (unfolded-io-math (document (with "color" "red" (concat "(" (with "math-font-family" "rm" "%i") "8) "))) (document (concat (big "int") "x* x")) (document "" (concat " " (math (with "math-display" "true" (concat (text (with "font-family" "tt" "color" "red" (concat "(" (with "math-font-family" "rm" "%o8") ") "))) (frac (concat "x" (rsup "2")) "2"))))))))))) (initial (collection (associate "page-medium" "paper") (associate "preamble" "true") (associate "prog-scripts" "maxima"))))
-
<TeXmacs|2.1.1>
-
-<style|<tuple|generic|maxima>>
-
-<\body>
-  <\session|maxima|default>
-    <\unfolded-io-math>
-      <with|color|red|(<with|math-font-family|rm|%i>8) >
-    <|unfolded-io-math>
-      <big|int> x \<mathd\> x
-    <|unfolded-io-math>
-      \;
-
-      incorrect syntax: 1 is not an infix operator
-
-      integrate( x 1,
-
-      \ \ \ \ \ \ \ \ \ \ \ \ \ ^
-    </unfolded-io-math>
-
-    <\unfolded-io-math>
-      <with|color|red|(<with|math-font-family|rm|%i>8) >
-    <|unfolded-io-math>
-      <big|int>x*\<mathd\> x
-    <|unfolded-io-math>
-      \;
-
-      \ <math|<with|math-display|true|<text|<with|font-family|tt|color|red|(<with|math-font-family|rm|%o8>)
-      >><frac|x<rsup|2>|2>>>
-    </unfolded-io-math>
-  </session>
-</body>
-
-<\initial>
-  <\collection>
-    <associate|page-medium|paper>
-    <associate|preamble|false>
-    <associate|prog-scripts|maxima>
-  </collection>
-</initial>
- - - -- cgit 1.4.1-2-gfad0