How to use Maple as a technical word processor for the web

Here is an example of a

MAPLE worksheet converted to PDF format

for display on the web that you can easily create using maple and the distill command.

I shall now give step by step instructions on how I created such a thing.

First, start maple on a math dept SUN and unselect

Show Section Ranges
Show Group Ranges

in case they have been selected by default.

Next, click on the INSERT menu and select TEXT INPUT.

Type in something like


MATH 262 Homework Set 1

1. Show that


Push RETURN a couple of times and then click on the INSERT menu again and select MAPLE INPUT. Type

Int( x^2*sin(x) , x ) = int( x^2*sin(x) , x ) + C;

at the maple prompt and push RETURN.

Next, left mouse click and drag over the MAPLE INPUT that you just typed, being careful not to highlight the output. (Or you can triple left mouse click on the line to highlight it.) Now select CUT from the EDIT menue and the maple input is gone, leaving just the output.

Next, left mouse click below the maple output and choose TEXT INPUT from the INSERT menu and type


in three different ways.

2.  Find a second order linear ordinary differential equation
     with integer coefficients whose solution most resembles


and push RETURN a couple of times and then click on the INSERT menu again and select MAPLE INPUT. Type

plot( exp(-x)*sin(3*x) , x=0..3 );

and push RETURN. Next, triple left mouse click on the maple input line to highlight it and select CUT from the EDIT menue and the maple input is gone, leaving just the graphical output.

When the worksheet looks just the way you want it, select PRINT from the FILE menu and select OUTPUT TO FILE in the dialogue box that pops up and type a name like

homework1.ps

in the OUTPUT TO FILE window. Click on PRINT at the bottom of the dialogue window.

Now you can quit MAPLE and you will find a file called homework1.ps in the directory in which you started maple.

Next, type

distill homework1.ps

This will create a file called homework1.pdf suitable for putting on the web. To create a link like the one I made at the top of this page to display my PDF file, just add lines like this


<P>
The following homework is due today

<P>
<A HREF="./homework1.pdf">Math 262 Homework 1</A> in .pdf format


to your web page HTML file.

For more information about PDF files and the web, see

How to put PDF files on the web


Back to the Maple tutorial

Back to the MATH 2000 HOME PAGE