... sentence1.1
Since I'm Polish, my English is Polish enough.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... .bk.2.1
On our system you can find Emacs hooks for the book-mode on
/afs/ovpit.indiana.edu/common/gnu/share/emacs/20.2/lisp/default.el
The following lines
(setq load-path
     (nconc load-path
         (list "/afs/ovpit.indiana.edu/common/gnu/share/emacs/site-lisp/maxima")))
(setq auto-mode-alist (cons '( "
$\backslash\backslash$.bk$" . book-mode) auto-mode-alist))
(autoload 'book-mode "bookmode" "load a book mode for Macsyma and Maple")
first tell Emacs to add the Maxima directory to its load-path. The second form, (setq auto-mode-alist..., tells Emacs that it should enter the book-mode whenever you visit a file whose name ends with the extension .bk. The last form, (autoload..., tells Emacs that in order to enter the book-mode it should load the library bookmode, which lives in the Maxima Elisp directory, added to the library path by evaluating the first form.

I have found one problem with Bill Schelter's Elisp files: they used a Common Lisp  eql function, but they didn't do (require 'cl). You may have to remember this, if you ever have to configure the book-mode yourself under Emacs-20.2  and higher.

.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... directions.2.2
Figure 2.1 has been produced as follows. In the wish mgnuplot window that accompanies a Gnuplot window I have pressed the save gnuplot.out button, which saves the Gnuplot script responsible for the graph. The resulting Gnuplot command file ends with a command splot 'maxout.gnuplot' which draws the plot. In order   to obtain an encapsulated postscript file, simply append the following three lines to the end of gnuplot.out:
set terminal postscript eps 22
set output "maxout.eps"
replot
and then run gnuplot gnuplot.out. The resulting file maxout.eps can be included into your LATEX document for example with $\backslash$includegraphics command of the graphicx package.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
....2.3
If you plan to include that PostScript file in your LATEX document, note that the graphic will be rotated by $90^{\circ}$, so you will have to unrotate  it. The following does the trick for Figure 2.2:
$\backslash$hspace{-3cm} $\backslash$includegraphics[angle=-90, origin=c, width=7cm]{maple.eps}
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... result.2.4
From Maxima's GNU INFO documentation.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... expression.2.5
From Maxima's GNU INFO documentation.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... it2.6
In Fortran politeness is often enforced.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... netcdf.M2.7
I have made these files by compiling HDF interface definition files, dffunc.f90, hdf.f90, and netcdf.f90, which I've made into Fortran modules and whose originals live in /afs/ovpit.indiana.edu/@sys/HDF/include. Unfortunately this version of HDF is done a little clumsily from the point of view of ANSI Fortran. HDF designers basically support the F77 subset only, so I had to do just a tiny bit of handwork myself here, to make it work with ANSI Fortran via a use module construct rather than via a non-Fortran include construct (which is nevertheless supported by many vendors).
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... program:2.8
NCSA header files for HDF do not contain interface definitions for sfscatt. I have added them to module dffunc myself, because clearly they ought to be there. But if you install HDF on your own machine, do not be surprised if your compiler doesn't find them there. You can always fix this problem on the program level by adding the line: integer sfscatt; externel sfscatt just after your declarations.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
... bug)2.9
Exercise: fix it!
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Zdzislaw Meglicki
2001-02-26