home *** CD-ROM | disk | FTP | other *** search
/ Dream 46 / Amiga_Dream_46.iso / os2 / Latex / quick.eng < prev    next >
Encoding:
Text File  |  1997-11-13  |  10.8 KB  |  327 lines

  1. ==============================================================================
  2. QUICK.ENG (emTeX DISTRIBUTION)                                     19-Sep-1995
  3. ==============================================================================
  4.  
  5.                  Quick installation instructions for emTeX
  6.  
  7. ------------------------------------------------------------------------------
  8. Contents
  9. ------------------------------------------------------------------------------
  10.  
  11. 1. Introduction
  12. 2. Installing unzip.exe
  13. 2.1. Installing unzip.exe for DOS
  14. 2.2. Installing unzip.exe for OS/2
  15. 3. Modifying autoexec.bat and config.sys
  16. 3.1 Modifying autoexec.bat and config.sys under DOS
  17. 3.2 Modifying config.sys under OS/2
  18. 4. Choosing fonts
  19. 5. Unpacking the ZIP files
  20. 6. Creating format files
  21. 7. Creating base files
  22. 8. Testing the installation
  23. 8.1. Viewing the sample output under DOS
  24. 8.2. Viewing the sample output under OS/2
  25. 8.3. Printing the sample
  26. 9. Finishing the installation
  27.  
  28. ------------------------------------------------------------------------------
  29. 1. Introduction
  30. ------------------------------------------------------------------------------
  31.  
  32. These instructions tell you how to perform a quick installation of
  33. emTeX.  However, they apply only if all of the following conditions
  34. are true:
  35.  
  36. - You have a 386 CPU or better and use DOS 3.0 or later or OS/2 2.0 or
  37.   later (including Warp).
  38.  
  39. - You want to use plain TeX or LaTeX2e.
  40.  
  41. - You don't want to generate the base fonts yourself (for instance,
  42.   because you have the appropriate xx_base.fli file for your printer).
  43.  
  44. If at least one of these conditions do not apply or if you want to
  45. tune your installation or if you want to know what you are doing,
  46. please use the detailed general installation instructions in
  47. INSTALL.ENG.
  48.  
  49. (The quick installation instructions are provided for those who take
  50. the general installation instructions to be too complicated -- for all
  51. other users, the general installation instructions are recommended.)
  52.  
  53. These installation instructions assume that emTeX will be installed on
  54. drive C: in directory \emtex and that the distribution files are on
  55. diskettes in drive A:. If you choose to install emTeX in a different
  56. directory or if the distribution files are in a different location,
  57. you have to modify the commands appropriately.
  58.  
  59. ------------------------------------------------------------------------------
  60. 2. Installing unzip.exe
  61. ------------------------------------------------------------------------------
  62.  
  63. If you already have unzip.exe, you can use that for unpacking the
  64. archive files.
  65.  
  66. If you have pkunzip.exe (version 2.x), you can use that for unpacking
  67. the archive files.  Note, however, that you have to type `pkunzip -d'
  68. instead of `unzip'.
  69.  
  70. If you have neither unzip.exe nor pkunzip.exe (version 2.x), type the
  71. following commands, where `c:\bin' is a directory in your PATH
  72. (diskette 1 in drive A:).
  73.  
  74. 2.1. Installing unzip.exe for DOS
  75. ---------------------------------
  76.  
  77. Enter the following commands:
  78.  
  79.     a:\unz512x3 unzip386.exe
  80.     ren unzip386.exe unzip.exe
  81.  
  82. 2.2. Installing unzip.exe for OS/2
  83. ---------------------------------
  84.  
  85. Enter the following commands:
  86.  
  87.     c:
  88.     cd \bin
  89.     a:\unz512 unzip32.exe
  90.     ren unzip32.exe unzip.exe
  91.  
  92. ------------------------------------------------------------------------------
  93. 3. Modifying autoexec.bat and config.sys
  94. ------------------------------------------------------------------------------
  95.  
  96. When adding a directory, use a semicolon to separate the new directory
  97. from the last one.
  98.  
  99. Reboot after making these changes to autoexec.bat or config.sys.
  100.  
  101. 3.1 Modifying autoexec.bat and config.sys under DOS
  102. ---------------------------------------------------
  103.  
  104. Add c:\emtex\bin to PATH= of autoexec.bat.
  105.  
  106. Add c:\emx\bin to PATH= of autoexec.bat.
  107.  
  108. Add the following lines to autoexec.bat:
  109.  
  110.     set emtexdir=c:\emtex
  111.     set dvidrvfonts=c:\texfonts
  112.     set mfjobopt=/3
  113.  
  114. Please don't use spaces! (`set emtexdir = c:\emtex' won't work!)
  115.  
  116. Set the environment variable TMP in autoexec.bat (unless already set)
  117. by adding a line line the following one to autoexec.bat:
  118.  
  119.     set tmp=c:\temp
  120.  
  121. TMP should point to an existing scratch directory (create the
  122. directory if it does not yet exist).
  123.  
  124. If there is a line `FILES=xx' in config.sys where xx is less than 20,
  125. change xx to 20 or more.
  126.  
  127. If there is no line `FILES=xx' in config.sys, add this line:
  128.  
  129.     FILES=20
  130.  
  131. Remove `BREAK=ON' from config.sys.
  132.  
  133. To avoid overflow of the environment space, add this line to
  134. config.sys (this example assumes that DOS is installed in directory
  135. c:\dos):
  136.  
  137.     SHELL=C:\DOS\COMMAND.COM C:\DOS /E:1024 /P
  138.  
  139. If you already have such a line in config.sys, you might have to
  140. increase the value of the /E option by approximately 512.  Note that
  141. there are some versions of DOS where the syntax or semantics are
  142. slightly different.
  143.  
  144. 3.2 Modifying config.sys under OS/2
  145. -----------------------------------
  146.  
  147. Use EPM, not E, for editing config.sys!
  148.  
  149. Add c:\emx\dll to LIBPATH= of config.sys.
  150.  
  151. Add c:\emtex\dll to LIBPATH= of config.sys.
  152.  
  153. Add c:\emtex\bin to SET PATH= of config.sys.
  154.  
  155. Add c:\emx\bin to SET PATH= of config.sys.
  156.  
  157. Add c:\emtex\help to SET HELP= of config.sys.
  158.  
  159. Add c:\emtex\book\english to SET BOOKSHELF= of config.sys.
  160.  
  161. Add the following lines to config.sys:
  162.  
  163.     set emtexdir=c:\emtex
  164.     set dvidrvfonts=c:\texfonts
  165.     set mfjobopt=/3
  166.  
  167. ------------------------------------------------------------------------------
  168. 4. Choosing fonts
  169. ------------------------------------------------------------------------------
  170.  
  171. Depending on your printer, choose one of the following font sets:
  172.  
  173.     bj         Canon BubbleJet (360 DPI)
  174.     dj         HP DeskJet (300 DPI)
  175.     fax        Fax (204x196 DPI)
  176.     fx         9-pin printers (240x216 DPI)
  177.     ito        C.ITOH 8510A (160x144 DPI)
  178.     lj         HP LaserJet (300 DPI)
  179.     ljh        HP LaserJet 4 (600 DPI)
  180.     p6h        24-pin printers (360 DPI)
  181.     p6l        24-pin printers (180 DPI)
  182.     p6m        24-pin printers (360x180 DPI)
  183.     qj         HP QuietJet (192 DPI)
  184.     sty        EPSON Stylus 800 (360 DPI)
  185.  
  186. If you do not have a printer, choose `p6l' (for a slow machine) or
  187. `lj' (for a fast machine).
  188.  
  189. For the rest of this document, let `XX' represent the name of the font
  190. set you have chosen.
  191.  
  192. Copy the base fonts of the font set, if you have them:
  193.  
  194.     c:
  195.     md \texfonts
  196.     copy a:\XX_base.fli c:\texfonts
  197.  
  198.  
  199. ------------------------------------------------------------------------------
  200. 5. Unpacking the ZIP files
  201. ------------------------------------------------------------------------------
  202.  
  203. Type the following commands to unpack the ZIP files.  The diskette
  204. numbers refer to the recommandations of DISKETTE.DOC:
  205.  
  206.     c:                              --- Diskette ---
  207.     cd \                            1440KB  1200KB
  208.     unzip a:\first                    1       1
  209.     unzip a:\emxrsx                   1       1
  210.     unzip a:\mfjob12c                 1       1
  211.     unzip a:\dvid16e1                 2       2
  212.     unzip a:\dvid16e2                 3       3
  213.     unzip a:\tex4b                    4       4
  214.     unzip a:\mf4b                     5       5
  215.     unzip a:\fontcm                   5       6
  216.     unzip a:\fontltx                  5       6
  217.     unzip a:\l2input                  6       6
  218.  
  219. ------------------------------------------------------------------------------
  220. 6. Creating format files
  221. ------------------------------------------------------------------------------
  222.  
  223. Type the following commands to create format files:
  224.  
  225.     cd \emtex\btexfmts
  226.     makefmt 386 plain US                    <--- if you need PLAIN TeX
  227.     makefmt 386 latex2e US 8bit -b \emtex\bin\latex2e
  228.  
  229. ------------------------------------------------------------------------------
  230. 7. Creating base files
  231. ------------------------------------------------------------------------------
  232.  
  233. Type the following commands to create the PLAIN base file:
  234.  
  235.     cd \emtex\bmfbases
  236.     makebas 386 plain
  237.  
  238. ------------------------------------------------------------------------------
  239. 8. Testing the installation
  240. ------------------------------------------------------------------------------
  241.  
  242. Type the following commands to typeset a sample document:
  243.  
  244.     md \test
  245.     cd \test
  246.     latex2e sample2e
  247.  
  248. The following two sections tell you how to view the sample output on
  249. the screen (as defined above, `XX' is the name of the font set to use,
  250. e.g. `lj').
  251.  
  252. 8.1. Viewing the sample output under DOS
  253. ----------------------------------------
  254.  
  255. Type
  256.  
  257.     v @XX sample2e
  258.  
  259. The following message will be displayed:
  260.  
  261.     Warning 1209: do you want to call MFjob to generate 1 missing font now?
  262.     Type Y, N, or ?: 
  263.  
  264. Reply `y'.  If you have not installed fonts, computing the fonts for
  265. the sample will take a while.
  266.  
  267. When the page shows up (white background), you can scale the output by
  268. typing `-'.  To quit, type `q'.
  269.  
  270. 8.2. Viewing the sample output under OS/2
  271. -----------------------------------------
  272.  
  273. Type
  274.  
  275.     vp @XX sample2e
  276.  
  277. A dialog box asking
  278.  
  279.     Do you want to call MFjob to generate 1 missing font now?
  280.  
  281. will pop up.  Click on `Yes'.
  282.  
  283. Select the window titled `dvipm - sample2e'.  You can scale the output
  284. by typing `-'.  To quit, type Alt+F4.
  285.  
  286. 8.3. Printing the sample
  287. ------------------------
  288.  
  289. The command to print the sample depends on your printer. See
  290. \emtex\doc\english\dvidrv.doc for the appropriate command for your
  291. printer, here are examples for some printers:
  292.  
  293.     prthplj sample2e                        <--- HP LaserJet, 300 DPI (lj)
  294.     prthpljh sample2e                       <--- HP LaserJet IV, 600 DPI (ljh)
  295.     prthpdj sample2e                        <--- HP DeskJet (lj)
  296.     prtp6l sample2e                         <--- NEC P6, 180 DPI (p6l)
  297.     prtp6m sample2e                         <--- NEC P6, 360x180 DPI (p6m)
  298.     prtp6h sample2e                         <--- NEC P6, 360 DPI (p6h)
  299.     prtlql sample2e                         <--- EPSON LQ, 180 DPI (p6l)
  300.     prtlqm sample2e                         <--- EPSON LQ, 360x180 DPI (p6m)
  301.     prtlqh sample2e                         <--- EPSON LQ, 360 DPI (p6h)
  302.     prtsty sample2e                         <--- EPSON Stylus 800 (sty)
  303.     prtfx sample2e                          <--- EPSON FX-80 (fx)
  304.     prtbj10e sample2e                       <--- Canon BJ-10e (bj)
  305.     prtbj300 sample2e                       <--- Canon BJ300 (bj)
  306.  
  307. See \emtex\doc\english\dvidrv.doc for additional commands (for exotic
  308. printers, for creating drafts, for creating bitmaps).
  309.  
  310. If your printer is not connected to the default printer port (PRN),
  311. give the printer port as second argument, for example:
  312.  
  313.     prthplj sample2e lpt2
  314.  
  315. ------------------------------------------------------------------------------
  316. 9. Finishing the installation
  317. ------------------------------------------------------------------------------
  318.  
  319. Adjust the printer-model-specific margins, according to
  320. \emtex\doc\english\dvidrv.doc.
  321.  
  322. See the general installation instructions in INSTALL.ENG for
  323. installation of other packages and for further configuration of your
  324. installation.
  325.  
  326.                   -------- End of QUICK.ENG -------------
  327.