home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / text / tex / 14454 < prev    next >
Encoding:
Internet Message Format  |  1992-12-23  |  4.7 KB

  1. Path: sparky!uunet!spool.mu.edu!hri.com!ukma!hsdndev!news.cs.umb.edu!karl
  2. From: karl@cs.umb.edu (Karl Berry)
  3. Newsgroups: comp.text.tex
  4. Subject: Re: input only existing file
  5. Message-ID: <KARL.92Dec23201335@ra.cs.umb.edu>
  6. Date: 24 Dec 92 01:13:35 GMT
  7. References: <1992Dec14.150513.10159@rcvie.co.at> <85467@ut-emx.uucp>
  8. Sender: news@cs.umb.edu (USENET News System)
  9. Reply-To: karl@cs.umb.edu
  10. Organization: University of Massachusetts at Boston
  11. Lines: 110
  12. In-Reply-To: myers@emx.cc.utexas.edu's message of 16 Dec 92 21: 36:53 GMT
  13. Nntp-Posting-Host: ra.cs.umb.edu
  14.  
  15.  
  16.     >I want to include a file into TeX if the file exists. If it doesn't,
  17.     >nothing should happen. Is there a possibility to check within TeX,
  18.     >if an specific file exists?
  19.  
  20. If you don't want to build the \openin and \ifeof stuff yourself, check
  21. out \iffileexists in eplain.tex (ftp.cs.umb.edu:pub/tex/eplain.tar.Z.)
  22. Actually, it's part of btxmac.tex (\@iffileexists, if memory serves).
  23.  
  24.     just fine in the standard Unix version you can get from labrea.stanford.edu.
  25.  
  26. Do not get the ``standard Unix version'' (by which I presume is meant
  27. web2c) from labrea; labrea is out-of-date wrt web2c, has been for years,
  28. and is apparently never going to catch up.  Here is a note written by
  29. Elizabeth and Pierre at the Unix TeX distribution site of U. of
  30. Washington about ftp sites for Unix TeX.
  31.  
  32. ----
  33.  
  34. [This is ~/pub/unixtex/readme1.ftp on byron.u.washington.edu
  35. (128.95.48.32).]
  36.  
  37. Most people who get in touch with us are aiming to install plain TeX,
  38. LaTeX, SliTeX, and plain Metafont, a previewer that will work in an X 
  39. environment, and a PostScript printer driver.  We hope you will not mind 
  40. if we limit ourselves to addressing only the simplest means by which 
  41. to attain these three aims via ftp.  
  42.  
  43. Thanks to Karl Berry who is the Unix System Coordination Chair for TUG, 
  44. and maintainer of WEB-to-C, and without whom TeX users with Unix machines 
  45. would be nowhere, retrieval can be done from the following three sites 
  46. (all of which have many useful things for TeX users other than what we 
  47. will be focussing on here).  The steps are:
  48.  
  49.    ftp ftp.cs.umb.edu        (Internet address: 192.12.26.33)
  50.  
  51.     ftp> cd pub/tex
  52.     ftp> get modes.mf    [place in whatever you will be defining 
  53.                  as your MFINPUTS directory in your
  54.                  ./src-<version>/lib/site.h file]
  55.     ftp> bi
  56.     ftp> get dvipsk.tar.Z    [PostScript printer driver source:
  57.                  unpacks into ./dvipsk-<version>]
  58.  
  59.     ftp> get web.tar.Z    [WEB source for TeX, Metafont, & family:
  60.                  unpacks into ./src-<version>]
  61.  
  62.     ftp> get web2c.tar.Z    [web2c source:
  63.                  unpacks into ./src-<version>]
  64.  
  65.     ftp> get xdvik.tar.Z    [X-windows previewer source:
  66.                  unpacks into ./xdvik-<version>]
  67.  
  68.    ftp labrea.stanford.edu    (Internet address: 36.8.0.112)
  69.  
  70.     ftp> cd tex/bibtex
  71.     ftp> prompt        [to avoid being asked about the retrieval
  72.                  of each file covered by a wildcard symbol]
  73.     ftp> mget *.bib        [place in your BIBINPUTS directory]
  74.     ftp> mget *.bst        [place in your TEXINPUTS directory]
  75.     ftp> mget *.sty        [place in your TEXINPUTS directory]
  76.     ftp> mget *.tex        [place in your TEXINPUTS directory]
  77.     ftp> cd ../cm
  78.     ftp> mget *.mf        [place in MFINPUTS directory]
  79.     ftp> cd ../lib        
  80.     ftp> mget *        [place *.mf files in MFINPUTS directory,
  81.                  *.mft and *.tex in TEXINPUTS directory]
  82.     ftp> cd ../fonts    
  83.     ftp> bi
  84.     ftp> mget *.tfm        [place in TEXFONTS directory]
  85.  
  86.      For a basic set of 300 dpi Computer Modern fonts generated for a 
  87.      Canon CX engine (not absolutely necessary, for dvips will generate 
  88.      fonts as needed):
  89.  
  90.     ftp> cd ../gf
  91.     ftp> mget *        [These are in gf format.  To convert
  92.                  them into pk format, use "gftopk" which, 
  93.                  along with its man page, will be made and 
  94.                  installed during the web2c make of TeX.]
  95.  
  96.    ftp niord.shsu.edu        (Internet address: 192.92.115.8)
  97.  
  98.     ftp> cd latex        
  99.     ftp> bi
  100.     ftp> get LATEX-25MAR1992.TAR_Z
  101.     
  102.         [This should unbundle into 4 directories.
  103.          The general/*.tex and sty/*.sty files 
  104.          should be placed in your TEXINPUTS directory;
  105.          the fonts/*.mf files into MFINPUTS.]
  106.  
  107. We believe this covers the retrieval of the essential files.  
  108. Each of the three packages from ftp.cs.umb.edu contains its own 
  109. installation instructions.  Begin with ./src-<version>/README.W2C.
  110.  
  111. People who are installing for the first time may not find this
  112. process as easy as installing directly from our distribution tape, 
  113. but ease is a matter of degree.  All installation processes require
  114. careful attention to detail, and knowledge of your system.  
  115. Festina Lente (Make Haste Slowly), and you improve your chances 
  116. of success.  
  117.  
  118. Until we can do more, we hope that this will help.  
  119.  
  120. --Elizabeth Tachikawa            --Prof. Pierre A. MacKay
  121.   elisabet@u.washington.edu          mackay@cs.washington.edu
  122. --
  123. karl@cs.umb.edu
  124. Member of the League for Programming Freedom---write to lpf@uunet.uu.net.
  125.