home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 4 / FreshFish_May-June1994.bin / useful / dist / text / tex / pastex / mf / rexx / readme < prev    next >
Text File  |  1991-08-28  |  4KB  |  130 lines

  1.  
  2. This is version 0.90 of the CallMF package, the ARexx scripts for automatic
  3. font generation with 'PasTeX'.
  4.  
  5.     Enjoy,
  6.       Georg, J\"org, Martin.
  7.  
  8. --
  9.  
  10.  
  11.  
  12. This  file  describes  installation and usage of the programs for automatic
  13. generation of fonts with Metafont (MF)
  14.  
  15.  
  16.  
  17. Installation:
  18. =============
  19.  
  20. 1)  copy  the  file  'modes'  to MF:config/ and change it to fit your local
  21. modes.mf  or use the PasTeX-modes.mf which comes with these macros.  If you
  22. want  this then copy #?.mf to MF:inputs/ and don't forget to generate a new
  23. plain.base file!
  24.  
  25. 2)  copy  the  files  'MakeBatch.rexx'  and 'MakeTeXFont.rexx' to the REXX:
  26. directory.
  27.  
  28. 3)  set  the  environment variable 'CallMF' to 'MakeBatch' or 'MakeTeXFont'
  29. (you  will  know  which when you have finished reading this text).  Or even
  30. better,  include  the  full  path  to  these  macros  in the variable, like
  31. "TeX:rexx/callmf/MakeBatch.rexx".
  32.  
  33.  
  34. MakeTeXFont:
  35. ===========
  36.  
  37. MakeTeXFont produces the fonts.  Call it with the following parameters:
  38.  
  39.  Font         name of the font (eg. cmr10)
  40.  dpi          resolution of the font (eg. 360) 
  41.  hbasedpi
  42.  vbasedpi     the horizontal und vertikal resolution of the output-device
  43.  drivertype   the name of the caller. 
  44.  pkfilename   name of the File the Font should be saved to. 
  45.  pkdir        directory, where the pk-file should be saved.
  46.               The last character of the path must be a '/' or ':'!
  47.  
  48.  
  49. With the command
  50.  
  51. >rx MakeTeXFont cminch 120 100 100 show 120/cminch.120pk ram:pk/
  52.  
  53. you  can  produce  the  font cminch for the preview (100 dpi resolution) at
  54. magstep   1   by   hand.    The   generated   font   will  be  saved  under
  55. 'ram:pk/120/cminch.120pk'.  The directory RAM:pk must exist!  The directory
  56. ram:pk/120 will be created for you.
  57.  
  58. Normally you don't need to know these details since MakeTeXFonts usually is
  59. called by 'ShowDVI', 'PrintDVI' or an automagically generated batchfile.
  60.  
  61.  
  62. MakeTeXFont does the following operations:
  63. - transforming the parameters for MF
  64. - calling MF
  65. - converting  the  font  into  a  PK-file  an  moving it to the appropriate
  66.   directory
  67. - renaming the MF-logfile
  68.  
  69. MakeTeXFont produces it's own logfile with an entry for each font generated
  70. in the file mf:log/MakeTeXFont.log.
  71.  
  72. Problem:
  73. You  may  easily run out of memory if there are some other programs running
  74. (especially DVIPrint needs a lot of memory).  If you have this problem when
  75. MakeTeXFont  is  called  from  another  program  use  MakeBatch instead and
  76. execute the batchfile later when there is enough free memory.
  77.  
  78.  
  79.  
  80. MakeBatch:
  81. =========
  82.  
  83. MakeBatch  has  to  be called with the same parameters as MakeTeXFont.  But
  84. MakeBatch  does  not immedeatly generate the font, it only writes a call to
  85. MakeTeXFont in a batchfile which may look like the following:
  86.  
  87. rx MakeTeXFont SLURDD16 91 91 91 show 91/SLURDD16.91pk TeX:pk/
  88. rx MakeTeXFont SLURDU16 100 100 100 show 100/SLURDU16.100pk TeX:pk/
  89. rx MakeTeXFont SLURUU16 120 100 100 show 120/SLURUU16.120pk TeX:pk/
  90.  
  91. Later,  when  you  want  to  generate the Fonts simply 'execute' this File.
  92. This method is usefull if many fonts should be generated and you don't want
  93. to  wait  or  if  there  is  not  enough memory to generate fonts while the
  94. DVI-driver is running.  The batchfile gets the name 'mf:MakeTexFont.sh'.
  95.  
  96. MakeBatch  takes  care  if  the  font  to  be  generated  already is in the
  97. batchfile,  so  a  font  is  NOT  generated  twice  if  you preview several
  98. DVI-files where the same font is missed several times.
  99.  
  100.  
  101. General:
  102. =======
  103.  
  104. Both  programs  are  in  the  public  domain.  You may copy and modify them
  105. freely.
  106.  
  107. I've  done  all my fontmaking with the help of this programs, but there are
  108. certainly some 'undocumented features'!
  109.  
  110. Send bugreports, your own improvements and new ideas to:
  111.  
  112. Martin Bokaemper
  113. Reuthstr. 12
  114. W-8521 Poxdorf
  115. Germany
  116.  
  117. email: mnbokaem@cip.e-technik.uni-erlangen.de
  118.        mab@ame.ZER  (Zerberus)
  119.  
  120. PS.: Since these files may go through several different machines via 
  121.      email I took the 'international version' of my name. If you use
  122.      TeX or something else that can handle 'umlauts' write to
  123.      Martin Bok\"amper instead of Bokaemper. :-)
  124.  
  125.  
  126. or try:
  127.   hessmann@unipas.fmi.uni-passau.de
  128. or:
  129.   hoehle@cs.uni-sb.de
  130.