Missing or deleted entries in documentation




On Sun, 25 Oct 2009, Tim.Lauck at humboldt.edu wrote:

< 
< Hello, 
< A few years ago, I created a few automated procedures for writing some limit questions
< for a calculus course.  I remember going through difficulty getting simplification, evaluation and TeX output to work the way I wanted.  Recently I wanted to do something similar. I notice that something I found in the manual before is now gone or maybe I just found this info online somewhere.
< 
< Turning on/off simplification
< simp:false, simp:true.  
< 
< This turned out to be very useful to generate the TeX output I was looking for.  
< Why isn't it in the manual or index or ?  I took me quite a while to rediscover this.

Obviously, this should be documented.

-------

So that you don't have to rediscover this again, you can self-document
'simp' using my 'user_doc' function available at

http://www.maths.ed.ac.uk/~lbutler/maxima-packages.html

I would download it to my .maxima directory, unpack it, and add
'load("<path-to-dot-maxima-dir>/cl-info.lisp");' to maxima-init.mac
to have it autoloaded.


Here's a sample:

(%i201) user_doc("simp");
Enter documentation string surrounded by quotes '"'.
End input with ';'.
" -- Global variable: simp
     default value: true

  Boolean that controls Maxima's simplifier; if true,
  then simplifier is applied to input; if false, it is
  is not.

(%i2) simp : false$
(%i3) sin(1.0);
(%o3) sin(1.0)
(%i4) simp : true$
(%i5) sin(1.0);
(%o5) 0.8414709848079
";
(%o201) "simp"
(%i202) ? simp

 -- Global variable: simp
     default value: true

  Boolean that controls Maxima's simplifier; if true,
  then simplifier is applied to input; if false, it is
  is not.

(%i2) simp : false$
(%i3) sin(1.0);
(%o3) sin(1.0)
(%i4) simp : true$
(%i5) sin(1.0);
(%o5) 0.8414709848079


Created: 2009-10-26 16:36:10-00:00

  There are also some inexact matches for `simp'.
  Try `?? simp' to see them.

(%o202) true
(%i203) ?? simp
<snip>
 32: trigsimp  (Functions and Variables for Trigonometric)
 33: vectorsimp  (Functions and Variables for Matrices and Linear Algebra)
 34: simp  (user-documentation)


Leo

-- 
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.