From 494806184f2b481dec24873516765d454ff8c65b Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Fri, 1 Jul 2022 14:11:48 +0200 Subject: [PATCH] Edit the Maxima programming section --- README.org | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.org b/README.org index 8bc768d..71f051e 100644 --- a/README.org +++ b/README.org @@ -3033,9 +3033,13 @@ support. :CUSTOM_ID: sec:maxima-programming :END: -1. [[https://gitlab.com/sasanidas/maxima][Maxima Mode]] -2. [[https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-maxima.html][Maxima Source Code Blocks in Org Mode]] -3. [[https://home.csulb.edu/~woollett/mbe.html][Maxima By Example]] +Listing [[lst:configure-maxima]] configures [[https://gitlab.com/sasanidas/maxima][Maxima Mode]]. The following list contains +more information: +1. [[https://gitlab.com/sasanidas/maxima][Maxima Mode]] is an Emacs interface to the computer algebra system [[https://en.wikipedia.org/wiki/Maxima_(software)][Maxima]]. +2. [[https://orgmode.org/worg/org-contrib/babel/languages/ob-doc-maxima.html][Maxima Source Code Blocks in Org Mode]] shows how to use [[https://en.wikipedia.org/wiki/Maxima_(software)][Maxima]] in [[https://orgmode.org/][Org Mode]]. +3. [[https://home.csulb.edu/~woollett/mbe.html][Maxima By Example]] is a tutorial for [[https://en.wikipedia.org/wiki/Maxima_(software)][Maxima]]. +Listing [[lst:maxima-example]] is a minimal example of how to use how to use [[https://en.wikipedia.org/wiki/Maxima_(software)][Maxima]] +in [[https://orgmode.org/][Org Mode]]. #+caption[Configure =maxima=]: #+caption: Configure =maxima=. @@ -3050,11 +3054,14 @@ support. (cons "maxima" 'maxima-mode))) #+end_src -#+begin_src maxima :exports results :results output +#+caption[Maxima example]: +#+caption: Maxima example. +#+name: lst:maxima-example +#+begin_src maxima :exports both :results output print(1+1); #+end_src -#+RESULTS: +#+RESULTS: lst:maxima-example : 2 ** [[https://www.seas.upenn.edu/~chaoliu/2017/09/01/python-programming-in-emacs/][Python programming]]