home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fonts 1 / freshfonts1.bin / bbs / programs / amiga / pastex13.lha / DVIPS / dvips5519.lha / dvips / vmcms / README.VMCMS < prev    next >
Text File  |  1992-11-15  |  8KB  |  165 lines

  1. README.VMCMS:  Remarks and history of the VM/CMS port of DVIPS.
  2.  
  3. Appropos DVIPS version 5.495.
  4.  
  5. Written by Jim Hafner (hafner@almaden.ibm.com).
  6. Last revised 10 Nov. 1992.
  7.  
  8. NOTE: This port was not done by Tom Rokicki and he has no responsibility
  9. for it.  You can direct questions to the name and address above.
  10.  
  11. The current set of changes and enhancements to the VM/CMS port over
  12. the previous release should be fairly complete.  Lots of things have
  13. changed and been enhanced.
  14.  
  15. Here are some of the features of the port and VM/CMS package:
  16.  
  17. 1) We have completely revised the MKDVIPS EXEC so that it behaves
  18.    a bit more like the Unix 'make' facility.  In particular, it
  19.    now allows for command line options to do any or all of the
  20.    package building for the DVIPS program, the AFM2TFM program,
  21.    the HEADERS files and to clean up the TEXT and LOAD MAP files
  22.    after completion.  This has only been tested with C/370, not,
  23.    in particular with Waterloo C.
  24.  
  25.    Furthermore, it also does a rudimentary time stamp check of
  26.    existing TEXT files against that for the corresponding C file
  27.    and ALL H files so that the compiler will not be called unless
  28.    it seems necessary.
  29.  
  30.    Note that it checks ALL H files in all ACCESSED disks.  This can
  31.    be fixed by simply editing the MKDVIPS EXEC.  See the file itself
  32.    for more detailed information.
  33.  
  34. 2) We have completed the port of AFM2TFM.  If should now produce
  35.    identical files on VM/CMS as on Unix (it certainly does as far as
  36.    we could test it).  There is a small front-end EXEC included that
  37.    sets up the necessary run-time environment.  The current version is
  38.    extensively revised from the original port due to Alessio Gugliemli
  39.    and Marco Prevedelli of Pisa.  The syntax for the EXEC is the same
  40.    as described in the DVIPS manual and the manpage is available as
  41.    AFM2TFM.DOC.
  42.  
  43. 3) The DVIPS front-end EXEC has been extensively remodeled.  It now
  44.    supports automatic font generation at the EXEC level (and the
  45.    MODULE level with the appropriate command line options).
  46.    More on this feature later.
  47.  
  48.    The EXEC assumes that the first command line argument is the
  49.    dvifilename.  The online documentation indicates this as well,
  50.    though DVIPS.DOC does not.  This is NOT required by the MODULE,
  51.    just the EXEC, and only to make parsing the arguments easier.
  52.  
  53.    The current version of this exec handles the LOADLIB and TXTLIB
  54.    save/reset/restore processes much better, so users with very
  55.    large libraries accessed will not have them lost along the way.
  56.  
  57.    This version does not access any font disks since that is surely
  58.    site dependent.  So, it assumes that the required fonts are
  59.    available.  It also assumes that MF is somewhere to be found.
  60.  
  61.    Local installers might want to modify this exec in the following
  62.    way.  Parse the command line options for a -P PRINTER specification.
  63.    If found, then either use PRINTER to determine which font disk
  64.    to access OR read the corresponding CONFIG.PRINTER file and use
  65.    the 'M' option to get the Metafont mode for that PRINTER. Then
  66.    use that mfmode to access the right font disk.
  67.  
  68. 4) AUTOMATIC FONT GENERATION:
  69.    This can be handled in two ways, at the installers or users
  70.    discretion.
  71.  
  72.    First, we have included a MakeTeXP EXEC which we think is pretty
  73.    generic and should need little modifications.  (See below for
  74.    a few additional comments.)
  75.  
  76.    This MakeTeXP EXEC can be called in two different ways.  The default
  77.    (based on DVIPS EXEC) is to have DVIPS run completely and create
  78.    a MISSFONT LOG file for any missing fonts.  If there are any found,
  79.    then the DVIPS EXEC prompts the user, asking to attempt to generate
  80.    the fonts.  If requested, then MakeTeXP EXEC is called by processing
  81.    each line of MISSFONT LOG.  If this process completes, then the
  82.    user is again prompted.  This time, the user can specify an exit
  83.    from the EXEC or to RE-invoke DVIPS (the module not the exec)
  84.    on the file.  In this way, all the font generation can be handled
  85.    entirely OUTSIDE of the module, using no special system calls
  86.    (which have been known to cause memory clashes).
  87.  
  88.    To make sure that DVIPS doesn't try to make the system call,
  89.    a '-M' flag is prepended to the options list.  Consequently,
  90.    if the installer is sure that system calls will be safe, then
  91.    this option can be removed.  Conversely, if a user wants to
  92.    risk it, putting '-M0' in the command line options will override
  93.    this default.
  94.  
  95.    We mention explicitly that, contrary to the earlier VM/CMS port,
  96.    we have NOT disabled the system call within DVIPS itself.
  97.  
  98. 5) MakeTeXP EXEC:  This exec is similar to the Unix version in that
  99.    if no Metafont mode is specified on the command line, then it
  100.    tries to 'guess' a mode from the base dvi.   This part of the
  101.    exec is very site dependent and will need to be modified for your
  102.    location.
  103.  
  104.    You might want to modify this exec to read some configuration
  105.    file like CONFIG.MODES or DVIPS.MODES and use this to set the
  106.    mfmode from the base dpi.
  107.  
  108.    Furthermore, we have written this to not invoke MF EXEC but to
  109.    call MF MODULE directly.  We hope that this will be more generic
  110.    since we structure the parameters as MF MODULE wants them and not
  111.    as some fancy execs might.
  112.  
  113.    We have set up a special default for passing arguments to the
  114.    module.  Namely,
  115.       &plain modes; \mode=mfmode; ...
  116.    where 'modes' is the name of your local .MF file that contains
  117.    the mode definitions.  Because of this, each output file of MF
  118.    will have a filename of MODES.  Later in the exec, these output
  119.    files are renamed with the font input filename.  If you have a
  120.    mode def file of a different name, you will need to change the
  121.    defining variable (localModeFile) accordingly.  If you don't have
  122.    such a file, then you will probably have to modify this EXEC
  123.    somewhat to compensate.
  124.  
  125.    All (we hope) site dependent parts of the code are tagged boldly
  126.    with 'SITE DEPENDENCIES'.  Look at these locations for places that
  127.    might require modifications.
  128.  
  129. 5) As before, the .dvipsrc file referred to in the manuals has the new
  130.    name DVIPS.PROFILE on VM/CMS.
  131.  
  132. 6) Online documentation is available by invoking DVIPS with no
  133.    arguments or filename.  You can also browse the file dvips.doc for
  134.    some additional comments (this was converted from the Unix manpage
  135.    via, on Unix, "nroff -man dvips.1 | col -b > vmcms/dvips.doc"
  136.    and so some comments may not be appropriate for VM/CMS, e.g.,
  137.    the order of the filename in the command line arguments.
  138.  
  139. 8) Since there are no pipes on VM/CMS, the option -f is meaningless.
  140.    Also, the output is always written to a file, with the same filename
  141.    as the dvi file and filetype "PS".   You can always override this with
  142.    the -o option.
  143.  
  144. 9) Since there are no PATHs in VM/CMS, the H, P, S and T configuration
  145.    file options are meaningless.  The DVIPS.EXEC file should make sure
  146.    that all the necessary disks are linked (we have all .tfm, .pro,
  147.    config.  and other files on our main TeX disk, with the EXECs and
  148.    MODULES -- only our fonts (the pk files) are on separate disks.)
  149.  
  150.  
  151. To compile the programs, run the program MKDVIPS.EXEC program.  Be
  152. sure you edit this file first to make sure that your C/370 programs
  153. disks and libraries are all correctly link.  See the comments at the
  154. beginning of that file for more information.  When complete, all the
  155. necessary modules and files should be built, on your primary
  156. write-accessed disk.  You may need to move them to their destination
  157. manually.
  158.  
  159.  
  160. THANKS:
  161. Some of this port was provided courtesy of Alessio Gugliemli
  162. (gugliemli@ipisnsib.bitnet) and Marco Prevedelli
  163. (prevedelli@ipisnsva.bitnet) with help from via Michel Goossens
  164. (goossens@cernvm.bitnet) and Ronald Kappert (R.Kappert@uci.kun.nl)
  165.