|
From: Robert D. <rob...@gm...> - 2021-08-09 06:06:16
|
Hi, I'll try to answer these questions.
On Thu, Aug 5, 2021 at 7:46 PM Sheldon Newhouse
<sen...@gm...> wrote:
> 2) I used to compile my own version of maxima--giving both xmaxima and readline( e.g. rmaxima) using carnegie-mellon lisp. I have forgotten how to do that, and, don't know how to install the kernel-headers, etc, for centos 7. I like the history use of xmaxima and readline.
Building Maxima on many or most Linux systems is similar. Something
like this or very close to it:
$ tar xvzf maxima-5.45.0.tar.gz # or other version
$ cd maxima-5.45
$ ./configure --enable-cmucl
$ make
$ sudo make install
That creates and installs maxima, xmaxima, and rmaxima , which assumes
rlwrap is installed. You can probably use the system package manager
to install rlwrap.
> 3) I found that I could get around the font size issue in my original post about png, pdf, etc., by using 'png and gimp to resale the figure. But, I would prefer to stay within maxima to deal with the fonts.
Try this for plot2d and plot3d. I think draw2d etc have a different
font configuration system, which I hope someone can tell us about.
set_plot_option ([gnuplot_term, "wxt font 'Trebuchet MS, 18'"]);
where Trebuchet MS is the name of a font and 18 is the size.
To discover possible font names, try looking at the output of the
command 'fc-list'. That produces a kind of jumbled, voluminous list;
maybe there's a clearer way to see the font list. Anyway, that's how I
found Trebuchet MS.
> For instance, if I have a function called 'plot_sin()' which does a plot involving the sin function, then I
> can define something like
> plot_sin_usg: print(" plot_sin() does these things. Here are examples, etc. ");
> Then, grepv("plot") gives that output of all values involving 'plot'.
> Is there a better way to document items? stringout is not too useful for me, since most of my sessions have a lot of errors and I would have to clean the stringout file and this takes much time.
I don't understand what you mean about stringout, so I probably am not
seeing what you want to do here. Anyway, about documentation, my
advice is to write in the same form as the Maxima reference manual,
and then use the same tools. The reference manual is written in the
Texinfo document format. An example of a Texinfo document for
Maxima-like stuff is in share/template-standalone.texi.
Texinfo is somewhat clumsy, but it's not really any more terrible than
all of the other document formats which have been devised, and it's a
pretty good fit for Maxima. I am hesitant to help you or anyone devise
a different documentation system -- devising even a simple system
wouldn't be any easier than just figuring out how to apply the
existing Texinfo stuff.
All the best,
Robert Dodier
|