home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / next / software / 2547 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.6 KB  |  65 lines

  1. Newsgroups: comp.sys.next.software
  2. Path: sparky!uunet!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!destroyer!cs.ubc.ca!unixg.ubc.ca!kakwa.ucs.ualberta.ca!vega!ntomczak
  3. From: ntomczak@vega.math.ualberta.ca (N Tomczak-Jaegermann)
  4. Subject: Re: TeX disk space inefficiencies. (save ~2 meg)
  5. Message-ID: <ntomczak.721174349@vega>
  6. Sender: news@kakwa.ucs.ualberta.ca
  7. Nntp-Posting-Host: vega.math.ualberta.ca
  8. Organization: University Of Alberta, Edmonton Canada
  9. References: <1992Nov7.172031.10284@dartvax.dartmouth.edu>
  10. Date: Sat, 7 Nov 1992 22:12:29 GMT
  11. Lines: 52
  12.  
  13. fermat@fermat.dartmouth.edu (Michael Glenn) writes:
  14.  
  15. >After installing amstex and amslatex on my NeXT, I discovered several  
  16. >additional files that were not needed.  Namely duplicate copies of files  
  17. >that could easily be replaced with symbolic links.
  18.  
  19. >In /usr/lib/tex/formats:
  20.  
  21. >splain.fmt == slitex.fmt (576k)
  22. >lplain.fmt == latex.fmt  (496k)
  23. >plain.fmt  == tex.fmt    (288k)
  24.  
  25. >In /usr/bin:
  26.  
  27. >latex  == tex (184k)
  28. >slitex == tex (184k)
  29. >virtex == tex (184k)
  30.  
  31. >/usr/bin/tex apparently looks at what command line command was used to  
  32. >execute it to determine which .fmt file is loaded in.
  33.  
  34. >I've removed latex, slitex, virtex, splain.fmt, lplain.fmt, and plain.fmt,  
  35. >and replaced them with symbolic links, a total savings of 1912k, almost 2  
  36. >meg!
  37.  
  38. All these 'extra' files were hard links.  You managed to replace
  39. them with symbolic links actually using for this slightly more
  40. disk space then before.
  41.  
  42. They are there because of way TeX is configured on Unix.  If you
  43. call it as 'latex' it executes 'virtex' with a format file 'latex.fmt'.
  44. Similar deal is with other formats (you may make your own).
  45. A default format is 'plain.fmt'.  Names like 'plain.fmt', 'lplain.fmt'
  46. and so on are needed for compatibility with other installations.
  47.  
  48. If you search for savings in disk space in your TeX font installation
  49. look rather at bitmap images of fonts in /usr/lib/tex/fonts/pk.
  50. For example, if you have only 400dpi printer you may throw away
  51. from your disk all 300pk fonts and their magnifications.   This will
  52. cut disk usage considerably.  More radical step consist of throwing
  53. away all pk's and generating fonts (NeXT TeX is doing that
  54. automatically) only when they are needed.  After a while you will end
  55. up only with bitmaps for fonts YOU are using.  Since this takes time
  56. you may want to initialize the whole process running through TeX
  57. as an overnight batch job a set of "typical" - for your installation -
  58. texts and continuing from that point.
  59.  
  60. Other method consist of replacing all bitmap fonts with their PostScript
  61. equivalents from Y&Y.
  62.  
  63.    Michal Jaegermann
  64.    ntomczak@vega.math.ualberta.ca
  65.