From root Thu Sep 10 14:58:46 1992
Received: from munnari.OZ.AU by luxor.latrobe.edu.au (AIX 3.1/UCB 5.61/4.03)
          id AA35801; Thu, 10 Sep 92 14:58:38 +1000
Received: from uunet by munnari.oz.au with UUCP (5.83--+1.3.1+0.50)
	id AA22186; Thu, 10 Sep 1992 14:55:55 +1000 (from emtex-user-request@methan.chemie.fu-berlin.de)
Received: from methan.chemie.fu-berlin.de by relay1.UU.NET with SMTP 
	(5.61/UUNET-internet-primary) id AA18614; Thu, 10 Sep 92 00:12:02 -0400
Received: by methan.chemie.fu-berlin.de (/\@@/\ Smail3.1.26.7)
	  id <m0mSRdC-0000hwa>; Wed, 9 Sep 92 14:58 MES (LIST PROCESSOR)
Date:       Wed, 09 Sep 92 08:32:46 EST
From: Jacques_Gelinas@CMR001.BITNET
To: EMTEX-USER@METHAN.CHEMIE.FU-BERLIN.DE
Message-Id: <920909.08411768.053312@CMR.CP6>
Subject:    mfpic.bat - process a tex file with mfpic graphs
Precedence: bulk
Status: R

The latest version of mfpic was posted yesterday on c.t.t.
Here is a (simplistic) bat file to use it under emtex.
To get the needed files, send a mail mesg (4000 lines sent back!)

TO: SHSU
SUBJECT: comp-text-tex: mfpic macros
SENDME COMP-TEXT-TEX.1992-09-09

I hope someone will post the setup for texshell 2.5 on this list.

-------------------------------------cut cut cut--------------------
@echo off
rem        mfpic.bat - process a tex file including mfpic graphs
rem Vars  needed: set emtexdrv=c     (assuming usual emtex installation)
rem Files needed: c:\emtex\texinput\mfpic.tex c:\emtex\mfinput\graphbas.mf
rem               first tex pass creates what.mf and an incomplete what.dvi
if "%1"=="" goto :usage
tex %1
del %1.dvi
rem               metafont pass generates what.300gf and what.tfm
for %%f in (*.mf) do mf.exe &plain \mode=hplaser; input %%f
rem               gftopk pass converts what.300gf to what.pk
for %%f in (*.300gf *.329gf *.360gf *.432gf *.518 *.622 *.746) do gftopk %%f
rem               second tex pass creates final what.dvi, using .\what.tfm
set textfm=c:\emtex\tfm;.
tex %1
set textfm=
rem               call previewer with the following paths
rem
rem  % lj.cnf (300x300 DPI using LJ fonts)
rem  /pd={,c:\emtex\doc\{english,latex}\,$DVIDRVINPUT:}@i
rem  /pl={c:\texfonts\,$DVIDRVFONTS:}lj_{0,h,1,2,3,4,5a,5b,sli}
rem  /pf={,{c:\texfonts\,$DVIDRVFONTS:}pixel.lj\@Rrdpi\}@f{.pk,.pxl}
dvidrv dviscr @lj.cnf /fl=-1 /ocr=1 /o4 /pt %1 %2 %3 %4 %5 %6 %7 %8 %9
goto :end
rem                                 J. Gelinas, 9 sept 1992, gelinas@cmr.ca
:usage
echo  Usage:  mfpic  what
echo ------------------------------------------start of what.tex-------------
echo \input mfpic
echo   \opengraphsfile{what1}
echo     \picture[20]{-3}{3}{-3}{3}
echo        \axes
echo        \function{-2,2,0.1,(x**3-x)/3}
echo     \endpicture
echo   \closegraphsfile
echo The first line opens up the picture environment and
echo establishes the coordinate system.  The coordinate scale
echo is 20 points per coordinate unit (x- and y-axis scales
echo the same in this case), with bounds on both axes being -3 and 3.
echo The second line draws the axes.  The third line
echo plots a smooth Bezier interpolation of the function
echo $f(x)=(x^3-x)/3$ on the domain $-2<=x<=2$, through points
echo with x values 0.1 units apart.
echo The fourth line closes the picture environment.
echo Regards, Tom Leathrum, moth@dartmouth.edu
echo \bye
echo ------------------------------------------end  of what.tex-------------
:end
-------------------------------------cut cut cut--------------------

