home *** CD-ROM | disk | FTP | other *** search
/ Dream 45 / Amiga_Dream_45.iso / Amiga / Magazine / Dossier-LaTeX / AmiWeb2C.lha / source / web2c-6.1 / README.AMIGA next >
Text File  |  1995-04-20  |  15KB  |  339 lines

  1.  
  2.  
  3.          Welcome to the "developer's kit" for Donald Ervin Knuth's
  4.  
  5.                         TeX Engine, Release 3.14159
  6.                        MetaFont Engine, Release 2.718
  7.  
  8.           together with Oren Patashnik's `BibTeX', Release 0.99c
  9.             and John Douglas Hobby's `MetaPost', Release 0.63
  10.                   and more than a dozen utility programs
  11.  
  12.                  on the Commodore Amiga with SAS/C++ 6.55
  13.  
  14.  
  15. The Amiga port of these programs was done by Andreas Scherer on the basis
  16. of Karls Berry's complete Web2C installation for UNIX.  Modifications and
  17. enhancements were introduced to make the implementation work conveniently
  18. on the Commodore Amiga and with the SAS/C developement system.  Please
  19. send suggestions, complaints, bug reports, adulations, etc., to me, by
  20. snail mail to my postal address Roland-Stra▀e 16, 52070 Aachen, Germany,
  21. or by email to <scherer@genesis.informatik.rwth-aachen.de>.  The only
  22. documentation concerning the Amiga port and the installation process is
  23. contained in the present file and in the master SMakefile, so read on.
  24.  
  25.  
  26. CAVEAT UTILITOR: This stuff is for TeXnicians only!  If you want to work
  27. with TeX, MetaFont, and their friends on a user level, try to get a user's
  28. kit, readily available via the Internet or other PD distributions.  In
  29. addition to the programs contained in this collection you'll also need some
  30. `device drivers', like Tomas Rokicki's DVIPS and Georg He▀mann's PasTeX
  31. drivers.  And you'll need lots of other stuff, like TeX macro programs,
  32. e.g., the `plain' macros and LaTeX, and MetaFont font programs, e.g., the
  33. `Computer Modern' font family.  A collection of useful things can be found
  34. in Karl Berry's `source' distribution (approximately 15 MB).
  35.  
  36.  
  37. CAVEAT IMPLEMENTOR: All programs in this distribution assume that you `TeX'
  38. system is set up according to the new `TeX Directory Structure' as proposed
  39. by the `TeX Users Group' in 1995.  This directory scheme is currently still
  40. under development, a draft of the concept can be found at
  41.  
  42.    ftp.th-darmstadt.de:/pub/tex/TDS/draft/tds.dvi
  43.  
  44. Do not use these programs in `old' installations.  The </texmf> part of the
  45. directory scheme is replaced by `TeXMF:' for this Amiga port.  This may
  46. either be the `assign'ed name of a common root directory or rather the name
  47. of a partition of your harddisk.
  48.  
  49.  
  50. You will need several additional programs and packages to make use of this
  51. Amiga port:
  52.  
  53. First of all you need the unmodified Web2C installation by Karl Berry in
  54. the form of version 6.1 at
  55.  
  56.    CTAN:/tex-archive/systems/web2c/web2c-6.1.tar.gz
  57.  
  58. [CTAN stands for `Comprehensive TeX Archive Network' and currently consists
  59. of the three major hosts ftp.shsu.edu (USA), ftp.dante.de (Germany), and
  60. ftp.tex.ac.uk (UK) or any mirror thereof.]  This contains the standard
  61. C stuff necessary for the compilation of TeX and its friends with any
  62. decent C compiler.  Also included are the Web2C library and the KPathSea
  63. library, used in this Amiga implementation.  The Web2C archive itself
  64. assumes that you go and get all the necessary WEB sources for the
  65. individual programs from somewhere else, like
  66.  
  67.    CTAN:/tex-archive/systems/knuth/[...]
  68.  
  69. The latest versions and future updates can be found at
  70.  
  71.    labrea.stanford.edu:/pub/[...]
  72.  
  73. Professor Knuth's `home server'.  The directory structure is slightly
  74. different in all three collections (and is most certainly different from
  75. the installation structure).
  76.  
  77. Then you'll want to aquire Oren Patashnik's soon-to-be-updated BibTeX
  78. program for the creation of bibliographies in TeXnical documents.  You can
  79. find version 0.99c at
  80.  
  81.    CTAN:/tex-archive/biblio/bibtex/[...]
  82.  
  83. together with the necessary style files and examples.
  84.  
  85. And finally you'll need John Douglas Hobby's MetaPost system.  Publicly
  86. available is version 0.63 at
  87.  
  88.    CTAN:/tex-archive/graphics/metapost/[...]
  89.  
  90. This system is only available since January 1995, so not much information
  91. can yet be given about its application.
  92.  
  93.  
  94. My current system configuration consists of
  95.  
  96.    Amiga 2000 with GVP G-Force 030/50/50/8+4+2
  97.    Two Quantum harddisk drives with 170 and 105 MB respectively
  98.    Kickstart 37.175 and Workbench 38.36 (AmigaOS 2.1)
  99.    ARexx (included with the OS)
  100.    SAS/C++ 6.55 with SMake 6.55
  101.    Cygnus Ed Professional 3.5
  102.  
  103. Although SAS/C is a very fine compiler, a lot of work had to be done to
  104. make it work with the UNIX distribution.  Especially all the Makefiles had
  105. to be rewritten for SMake.  Users of the GNU development software should be
  106. able to work directly with the unmodified (well, almost) Web2C stuff.
  107. I don't think there's a chance that any parts of this distribution could
  108. possibly work on version 1.2 or 1.3 of the operating system.
  109.  
  110. Here is a list of programs I used while working on the Amiga port.  These
  111. are vital for successfully following the installation steps described below
  112.  
  113.    UnixDirsII:    AmiNet:/util/shell (for `.' and `..' directory notation)
  114.    Bison 1.22:    AmiNet:/util/gnu (or another decent YACC)
  115.    BYacc 1.9:     AmiNet:/dev/c (this is another decent YACC :-)
  116.    FLex 2.5.1:    AmiNet:/util/gnu (or another decent LEX)
  117.    Sed 2.05:      AmiNet:/util/gnu (or another decent SED)
  118.    GAWK 2.15.5:   AmiNet:/util/gnu (or another decent AWK)
  119.    MakeInfo 1.55: AmiNet:/text/hyper (for kpathsea.guide)
  120.    WebMerge:      AmiNet:/dev/c/cwebbin.lha (for literate programming)
  121.    Tie 2.4:       AmiNet:/dev/misc (ditto)
  122.  
  123. [AmiNet is the `Amiga Network' (of course) consisting of several dozen
  124. hosts worldwide, of which I want to mention ftp.uni-erlangen.de, because
  125. it keeps submissions for a very long time and thus is rather complete.]
  126. Except for Martin Scott's `UnixDirsII' package, all these programs were
  127. implemented from the original sources prior to the work on this port.
  128.  
  129.  
  130. This is what you already have in your hands:
  131. [See the `SMakefile' in the current directory: PATCH]
  132.  
  133. This is what you additionally need:
  134. [See the `SMakefile' in the current directory: ORIGINAL]
  135.  
  136.  
  137. As mentioned above, this Amiga port of TeX, MetaFont, and all the utility
  138. programs was done with the help of the Web2C system.  Furthermore, not a
  139. single file of Karl Berry's distribution was modified manually.  All
  140. modifications necessary to make it work on the Amiga were introduced by
  141. means of `change files' applied either to the respective original file or
  142. even on a `second level' to the respective change file or the intermediate
  143. sources.  Care has been taken that the installation process works smoothly
  144. `out of the box.'
  145.  
  146.  
  147. OK, let's go to work.  Given that you aquired all the necessary bits and
  148. pieces listed above, follow this recipe to make a full-grown Amiga
  149. installation all from scratch.
  150.  
  151. Installing the original Web2C distribution and the WEB sources:
  152.  
  153.    a) Extract `web2c-6.1.tar.gz' and add the original WEB sources
  154.    associated with the `change files' in the various `web2c'
  155.    subdirectories.  Then extract the files from the archive
  156.    of the Amiga installation.  The directory structure of Web2C 6.1
  157.    is assumed.  You should rename the `info' files provided with
  158.    Karl Berry's distribution to avoid desaster.
  159.  
  160.    b) Assign the name `X:' to the root directory `web2c-6.1'.  This
  161.    isn't really necessary, it's just a convenience in what follows.
  162.  
  163. Creating the KPathSea library:
  164.  
  165.    Go to `X:kpathsea' and say `make'.  This creates the KPathSea library
  166.    necessary for almost all the programs to be made.  There will be two
  167.    versions: `kpathsea.lib' and `kpathsea_20.lib'.
  168.  
  169. Creating the Web2C common library:
  170.  
  171.    Go to `X:web2c/lib' and say `make'.  This creates the Web2C library and
  172.    some header files necessary for almost all the programs to be made.
  173.    There will be two versions: `lib.lib' and `lib_20.lib'.
  174.  
  175. Creating the Web2C system for converting Pascal source to C source:
  176.  
  177.    Go to `X:web2c/web2c' and say `make'.  This creates the Web2C system
  178.    itself, consisting of WEB2C, FIXWRITES, REGFIX, and SPLITUP.  It is
  179.    assumed that these four binaries reside in this directory for the
  180.    following steps.
  181.  
  182. Creating the WEB system for Literate Programming in Pascal:
  183.  
  184.    a) Go to `X:web2c/web' and say `make'.  Firstly, this will create a
  185.    preliminary version of the TANGLE processor needed for bootstrapping.
  186.    This version is NOT suitable for general purpose Amiga application!
  187.    Ignore all the warning messages from the SAS/C compiler.  (This is the
  188.    way `standard' UNIX programs start out on my machine, but I try to
  189.    make them work smoothly with SAS/C, e.g., TANGLE in the next step.)
  190.    Secondly, the `real' Amiga versions of TANGLE and WEAVE, together
  191.    with the POOLTYPE utility program, are created.  At least the TANGLE
  192.    binary should stay in this directory for what follows.
  193.  
  194.    b) Say `make install', if you want to use the WEB system for
  195.    Literate Programming in Pascal.  TANGLE and WEAVE will be moved
  196.    to the standard directory for TeXnical binaries.
  197.  
  198. Creating the BibTeX system:
  199.  
  200.    a) Go to `X:web2c/bibtex' and edit the first few lines of `SMakefile'
  201.    as it instructs you.  Then say `make'.  This creates the BibTeX
  202.    program V0.99c.
  203.  
  204.    b) Say `make install', to move BIBTEX to the standard directory for
  205.    TeXnical binaries.  Get the necessary BST files and install them, too.
  206.  
  207. Creating some utilities for manipulating DVI files:
  208.  
  209.    a) Go to `X:web2c/dviutil' and say `make'.  This creates the two
  210.    DVI handling programs DVIcopy and DVItype.
  211.  
  212.    b) Say `make install', if you want to use these utilities generally.
  213.    They will be moved to the standard directory for TeXnical binaries.
  214.  
  215. Creating several utilities for manipulating (TeX-) font files:
  216.  
  217.    a) Go to `X:web2c/fontutil' and say `make'.  This creates the font
  218.    file handling programs GFtoDVI, GFtoPK, GFtype, MFT, PKtoGF, PLtoTF,
  219.    TFtoPL, VFtoVP, and VPtoVF.  (At least GFtoPK is mandatory.)
  220.  
  221.    b) Say `make install', if you want to use these utilities generally.
  222.    They will be moved to the standard directory for TeXnical binaries.
  223.  
  224. Creating the MetaFont system:
  225.  
  226.    a) Go to `X:web2c/mf' and edit the first few lines of `SMakefile'
  227.    as it instructs you.  Then say `make'.  This creates the MetaFont
  228.    system consisting of IniMF and VirMF V2.718.
  229.  
  230.    b) Say `make run-trap' and run the TRAP test for validation of the
  231.    correctness of the MetaFont system just created.  Several of the
  232.    tools described above are assumed to be present.
  233.  
  234.    c) Say `make install'.  This moves VIRMF and INIMF to the standard
  235.    directory for TeXnical binaries.  Get PLAIN.MF and fonts and create
  236.    the necessary PK and TFM files for your system.
  237.  
  238. Creating the TeX system:
  239.  
  240.    a) Go to `X:web2c/tex' and edit the first few lines of `SMakefile'
  241.    as it instructs you.  Then say `make'.  This creates the TeX system
  242.    consisting of IniTeX and VirTeX V3.14159 together with the PATEGEN
  243.    utility.
  244.  
  245.    b) Say `make run-trip' and run the TRIP test for validation of the
  246.    correctness of the TeX system just created.  Several of the tools
  247.    described above are assumed to be present.
  248.  
  249.    c) Say `make install'.  This moves VIRTEX and INITEX and PATGEN to the
  250.    standard directory for TeXnical binaries.  Get PLAIN.TEX and the LaTeX
  251.    system and other macros and install them in your system.
  252.  
  253. Creating the MetaPost system:  Here some introductory words are necessary.
  254. MetaPost comes in the following form, suitable for standalone installation
  255. with self-contained code based on Web2C 5.581.  Given a common root
  256. directory, there are several top-level files, like a README file and a
  257. DISCLAIMER.  The main part is contained in the subdirectories
  258.  
  259.    doc, mp, mplib, and mpware
  260.  
  261. To make the installation of MetaPost convenient for this distribution,
  262. based on Web2C 6.1, you should move some of these files and/or directories:
  263.  
  264.    - extract the MetaPost archive OUTSIDE the general Web2C tree.
  265.    - move the complete standard MetaPost distribution to `X:web2c/mpdist',
  266.      i.e., the MetaPost top level files will reside in this directory, and
  267.      the four subdirectories lie beneath:
  268.  
  269.         X:web2c/mpdist/<top-level files of the MetaPost system>
  270.         X:web2c/mpdist/doc
  271.         X:web2c/mpdist/mp
  272.         X:web2c/mpdist/mplib
  273.         X:web2c/mpdist/mpware
  274.  
  275.    - move the directories `mp' and `mpware' one level up, i.e.,
  276.  
  277.         X:web2c/mpdist/<top-level files of the MetaPost system>
  278.         X:web2c/mpdist/doc
  279.         X:web2c/mp
  280.         X:web2c/mpdist/mplib
  281.         X:web2c/mpware
  282.  
  283.    - rename the subsubdirectory `X:web2c/mp/trapdir' to `X:web2c/mp/MPtrap'
  284.  
  285. Now you're ready to make the MetaPost system with full support of the
  286. KPathSea and Web2C libraries:
  287.  
  288.    a) Go to `X:web2c/mpware' and say `make'.  This creates several
  289.    utility programs to go with MetaPost.
  290.  
  291.    b) Say `make run-triptrap' for some elementary tests of the
  292.    utility programs.
  293.  
  294.    c) Say `make install'.  This moves these utilities to the standard
  295.    directory for TeXnical binaries.
  296.  
  297.    d) Go to `X:web2c/mp' and edit the first few lines of `SMakefile'
  298.    as it instructs you.  Then say `make'.  This creates the MetaPost
  299.    system consisting of IniMP V0.63.  (There is no VirMP, because `IniMP'
  300.    behaves like `VirMP', except when called with the `-I' option.)
  301.  
  302.    d) Say `make run-trap' and run the TRAP test for validation of the
  303.    correctness of the MetaPost system just created.  The `mpware' tools
  304.    and several others described above are assumed to be present.
  305.  
  306.    e) Say `make install'.  This moves INIMP to the standard directory
  307.    for TeXnical binaries.  Also, the PLAIN.MEM and MFPLAIN.MEM formats
  308.    are created and installed, as well as some additional sources.
  309.  
  310.  
  311. Congratulations!  You've just finished the successful installation of the
  312. complete TeX and MetaFont system on your machine.  All you'll need now are
  313. some good books about TeXing and MetaFonting, and most of all many many
  314. macro packages and font packages available from the CTAN and other sites
  315. worldwide.  There is an endless stream of new things to discover.  Maybe
  316. you also want to join a local, national, or even international TeX Users
  317. Group.  This surely can add some more fun to this exciting hobby.
  318.  
  319.  
  320. New features in the Amiga installation:
  321.  
  322.    - TeX, MetaFont, MetaPost, and BibTeX can be set up to use a runtime
  323.      memory configuration, so you don't have to fear the `! TeX capacity
  324.      exceeded.  Ask a wizard to enlarge me.' message.  See the files
  325.      in `X:web2c/config' for further details.
  326.    - There are four new environment variables for this purpose:
  327.      TEXCONFIG, MFCONFIG, MPCONFIG and BIBTEXCONFIG, containing search
  328.      paths leading to the memory configuration files.
  329.    - MetaFont has an additional parameter called `scalefactor' for
  330.      reduction of the `Online Display'.
  331.  
  332.  
  333. Happy TeXing and MetaFonting!
  334.  
  335.  
  336. April 20, 1995
  337.  
  338. Andreas
  339.