This directory contains the source for producing the book
Calculus I
by Robert Petry and Fotini Labropulu.  The produced document is called
calculus_I.pdf

COMPILATION

Some shell scripts have been included in this directory which could be
run on a Linux (Unix) system.  They simply call pdflatex an
appropriate number of times and the graphics program asymptote if
necessary.  Even if you don't want (or can't) use them take a look at
them to see what steps need to be followed.  Here is a brief summary
of the commands.

compile.sh : Compiles the document from scratch.

compilel.sh : Does a "light compile" which is sufficient if the asymptote
graphic files have already been produced or were downloaded.  If you have done
the latter then asymptote does not need to be run (or installed).

clean.sh : Removes all compiled documents and extra files.

cleanl.sh : Does a light cleaning in that it removes all the compiled
documents and extra files except for the asymptote generated graphics
files.

Both versions of the compile executables run their corresponding clean
executables to ensure there are no issues with other files.

If you want to work with the document a more efficient means to do so
is to use latexmk which is available as a Linux package or with tex
distributions.  Just run

latexmk -pdf

to produce the output.  The latexmkrc file in this directory informs
latexmk how to work with the asymptote graphics files so they don't
get constantly regenerated and compiled.  If you also use the -pvc
option you can have it open a viewer for you.  The document currently
crashes the default viewer on Linux (xpdf) but you can add the
following lines (between the dashses) to latexmkrc if you want to run
the evince viewer on Linux (which does read the document fine.)

------------
# This makes evince the default pdf viewer if you run -pv or -pvc option
$pdf_previewer = "start evince";
$pdf_update_method = 0;
------------

See the document for how this material has been licensed.
