home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fresh Fish 4
/
FreshFish_May-June1994.bin
/
useful
/
dist
/
text
/
tex
/
pastex
/
mf
/
rexx
/
readme
< prev
next >
Wrap
Text File
|
1991-08-28
|
4KB
|
130 lines
This is version 0.90 of the CallMF package, the ARexx scripts for automatic
font generation with 'PasTeX'.
Enjoy,
Georg, J\"org, Martin.
--
This file describes installation and usage of the programs for automatic
generation of fonts with Metafont (MF)
Installation:
=============
1) copy the file 'modes' to MF:config/ and change it to fit your local
modes.mf or use the PasTeX-modes.mf which comes with these macros. If you
want this then copy #?.mf to MF:inputs/ and don't forget to generate a new
plain.base file!
2) copy the files 'MakeBatch.rexx' and 'MakeTeXFont.rexx' to the REXX:
directory.
3) set the environment variable 'CallMF' to 'MakeBatch' or 'MakeTeXFont'
(you will know which when you have finished reading this text). Or even
better, include the full path to these macros in the variable, like
"TeX:rexx/callmf/MakeBatch.rexx".
MakeTeXFont:
===========
MakeTeXFont produces the fonts. Call it with the following parameters:
Font name of the font (eg. cmr10)
dpi resolution of the font (eg. 360)
hbasedpi
vbasedpi the horizontal und vertikal resolution of the output-device
drivertype the name of the caller.
pkfilename name of the File the Font should be saved to.
pkdir directory, where the pk-file should be saved.
The last character of the path must be a '/' or ':'!
With the command
>rx MakeTeXFont cminch 120 100 100 show 120/cminch.120pk ram:pk/
you can produce the font cminch for the preview (100 dpi resolution) at
magstep 1 by hand. The generated font will be saved under
'ram:pk/120/cminch.120pk'. The directory RAM:pk must exist! The directory
ram:pk/120 will be created for you.
Normally you don't need to know these details since MakeTeXFonts usually is
called by 'ShowDVI', 'PrintDVI' or an automagically generated batchfile.
MakeTeXFont does the following operations:
- transforming the parameters for MF
- calling MF
- converting the font into a PK-file an moving it to the appropriate
directory
- renaming the MF-logfile
MakeTeXFont produces it's own logfile with an entry for each font generated
in the file mf:log/MakeTeXFont.log.
Problem:
You may easily run out of memory if there are some other programs running
(especially DVIPrint needs a lot of memory). If you have this problem when
MakeTeXFont is called from another program use MakeBatch instead and
execute the batchfile later when there is enough free memory.
MakeBatch:
=========
MakeBatch has to be called with the same parameters as MakeTeXFont. But
MakeBatch does not immedeatly generate the font, it only writes a call to
MakeTeXFont in a batchfile which may look like the following:
rx MakeTeXFont SLURDD16 91 91 91 show 91/SLURDD16.91pk TeX:pk/
rx MakeTeXFont SLURDU16 100 100 100 show 100/SLURDU16.100pk TeX:pk/
rx MakeTeXFont SLURUU16 120 100 100 show 120/SLURUU16.120pk TeX:pk/
Later, when you want to generate the Fonts simply 'execute' this File.
This method is usefull if many fonts should be generated and you don't want
to wait or if there is not enough memory to generate fonts while the
DVI-driver is running. The batchfile gets the name 'mf:MakeTexFont.sh'.
MakeBatch takes care if the font to be generated already is in the
batchfile, so a font is NOT generated twice if you preview several
DVI-files where the same font is missed several times.
General:
=======
Both programs are in the public domain. You may copy and modify them
freely.
I've done all my fontmaking with the help of this programs, but there are
certainly some 'undocumented features'!
Send bugreports, your own improvements and new ideas to:
Martin Bokaemper
Reuthstr. 12
W-8521 Poxdorf
Germany
email: mnbokaem@cip.e-technik.uni-erlangen.de
mab@ame.ZER (Zerberus)
PS.: Since these files may go through several different machines via
email I took the 'international version' of my name. If you use
TeX or something else that can handle 'umlauts' write to
Martin Bok\"amper instead of Bokaemper. :-)
or try:
hessmann@unipas.fmi.uni-passau.de
or:
hoehle@cs.uni-sb.de