home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / answers / tex-faq < prev    next >
Internet Message Format  |  1993-12-07  |  55KB

  1. Path: senator-bedfellow.mit.edu!bloom-beacon.mit.edu!xlink.net!howland.reston.ans.net!usc!elroy.jpl.nasa.gov!nntp-server.caltech.edu!hot.caltech.edu!bobby
  2. From: bobby@hot.caltech.edu (Bobby Bodenheimer)
  3. Newsgroups: comp.text.tex,news.answers
  4. Subject: TeX, LaTeX, etc.: Frequently Asked Questions with Answers [Monthly]
  5. Supersedes: <tex-faq_752661194@hot.caltech.edu>
  6. Followup-To: comp.text.tex
  7. Date: 7 Dec 1993 22:21:10 GMT
  8. Organization: California Institute of Technology, Pasadena, CA.
  9. Lines: 1041
  10. Approved: news-answers-request@MIT.Edu
  11. Expires: 4 Feb 1994 22:20:54 GMT
  12. Message-ID: <tex-faq_755302854@hot.caltech.edu>
  13. Reply-To: bobby@hot.caltech.edu
  14. NNTP-Posting-Host: hot.caltech.edu
  15. Keywords: monthly faq
  16. Originator: bobby@hot.caltech.edu
  17. Xref: senator-bedfellow.mit.edu comp.text.tex:40025 news.answers:15586
  18.  
  19. Archive-name: tex-faq
  20.  
  21. Comp.text.tex is a forum for the discussion of TeX, LaTeX and other
  22. related things. TeX is a software system written by Donald Knuth to
  23. typeset text, especially text containing mathematics. LaTeX is a set
  24. of macros written in TeX, designed to simplify the the typesetting of
  25. a document by allowing the user to concentrate on the content and
  26. structure of the document rather than the exact appearance of the
  27. finished product. METAFONT, also discussed here, is a program which
  28. allows the user to design their own fonts. The definitive reference
  29. for TeX is _The TeXbook_, by Donald Knuth (Addison Wesley, 1984, ISBN
  30. 0-201-13447-0, paperback 0-201-13448-9). For LaTeX, see _LaTeX, a
  31. Document Preparation System_ by Leslie Lamport (Addison Wesley, 1986,
  32. ISBN 0-201-15790-X). For METAFONT, see _The METAFONTbook_ by Donald
  33. Knuth (Addison Wesley, 1984, ISBN 0-201-13445-4). The American
  34. Mathematical Society has two macro packages which are also popular,
  35. called AMS-TeX and AMS-LaTeX.
  36.  
  37. This article contains answers to some frequently asked questions on
  38. comp.text.tex. Please don't ask these questions again, as they've been
  39. answered many times before. Note that Guoying Chen
  40. (chenguo@spunky.cs.nyu.edu) posts the monthly document ``Supplementary 
  41. TeX Information'' to this newsgroup containing other information and 
  42. software relevant to TeX users but beyond the scope of this article.
  43.  
  44. This is version 1.42 for December, last changed 12/7/93.
  45.  
  46. This article includes answers to:
  47.  
  48.   1) How can I get a copy of this article?
  49.   2) Where can I get a DVI to PostScript conversion program?
  50.   3) How can I include a PostScript figure in LaTeX?
  51.   4) Where can I find a DVI previewer for machine Y running Q?
  52.   5) Where can I get the manual for PiCTeX?
  53.   6) What is VorTeX and where can I get it?
  54.   7) What is OzTeX and where can I get it (TeX for the Mac)?
  55.   8) What is Fig and where can I get it?
  56.   9) How do I get WEB for C, FORTRAN, or some other language?
  57.   10) How can I typeset music in TeX?
  58.   11) What is TUG and TUGboat?
  59.   12) How do I convert Adobe's afm files to tfm format?
  60.   13) In LaTeX, how do I get a double-spaced document?
  61.   14) In LaTeX, how do I include a file in the verbatim environment?
  62.   15) In LaTeX, how do I do Y?
  63.   16) Where can I find a TeX macro or LaTeX style file for doing Y?
  64.   17) How do I generate an index in TeX/LaTeX?
  65.   18) How do I get METAFONT to do what I want it to do?
  66.   19) Where do I get TeX/LaTeX for machine Y running Q?
  67.   20) Where can I get a thesis style for LaTeX?
  68.   21) How do I get symbols for ``the real numbers'', ``the complex numbers'',
  69.       and so on?
  70.   22) What repositories of TeX material are available, and how can I
  71.       access them?
  72.   23) How do I use PostScript fonts with LaTeX?
  73.   24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  74.   25) How do I get a file into the major style repositories?
  75.   26) Where can I get font Y?
  76.   27) Where can I get a dvi driver for the HP LaserJet?
  77.   28) TeX and LaTeX are hyphenating words weirdly. What can I do?
  78.   29) How can I convert a TeX or LaTeX file into a plain ASCII file,
  79.       with all the formatting intact, a la nroff?
  80.   30) How do I enlarge TeX? I keep getting ``memory capacity exceeded''
  81.       errors.
  82.   31) In LaTeX, I used \pagestyle{empty}, but the first page is still 
  83.       numbered. What do I do?
  84.   32) Where do I find documentation about BibTeX?
  85.   33) How do I use BibTeX with plain TeX?
  86.   34) How do I draw Feynman diagrams in LaTeX?
  87.   35) What is the New Font Selection Scheme (NFSS)?
  88.   36) In LaTeX, my cross-references for floats (figures and tables) are
  89.       incorrect. What's wrong?
  90.   37) I want to change the margins in LaTeX. What can I do?
  91.   38) How do I find the width of a letter, word, or phrase in TeX?
  92.   39) In LaTeX, is there a comment or ``ignore'' environment with which
  93.       I can exclude blocks of text from the .dvi file?
  94.   40) Where can I find a spelling checker for my TeX file?
  95.  
  96. If you are looking, for instance, for the answer to question 17, and wish
  97. to skip everything else, you can search ahead for the regular expression
  98. ``^17)''.
  99.  
  100. These are all legitimate questions, but they seem to appear too 
  101. frequently for long-time readers of the list. 
  102.  
  103. Many of the answers below tell you that you can obtain something
  104. through anonymous ftp. ``Ftp'' stands for file transfer protocol, and
  105. is also the name of a program implementing the protocol. The program
  106. allows users to transfer files to and from remote sites, if the sites
  107. are connected via a network such as the Internet. ``Anonymous ftp'' 
  108. indicates a user may connect to a remote site as the user 
  109. ``anonymous'' with a password consisting of their email address, and
  110. thus be able to retrieve files from that site. Remember, anonymous
  111. ftp is a privilege and the system administrators for these sites 
  112. have made these files available out of their own generosity. Therefore
  113. please restrict your ftp'ing to non-prime hours at the various sites.
  114.  
  115. I would like to acknowledge Don Hosek, Ken Yap, Tomas Rokicki, and
  116. Micah Beck, whose postings provided many of the answers. Joe Weening,
  117. Hal Perkins, Walter Carlip, Max Hailpern, Tad Guy, Raymond Chen,
  118. Henning Schulzrinne, Sebastian Rahtz, Mark James, Peter Galko, Mike
  119. Ernst, Rainer Sch\"opf, Oren Patashnik, Philippe Louarn, Rafal
  120. Zbikowski, Anita Marie Hoover, David Rhead, Darrell McCauley, Cameron
  121. Smith, Emma Pease, Patrick McPhee, Karl Berry, Robin Fairbairns, and
  122. Joohee Jeong provided additional material and criticisms. The format
  123. of this document is based on the Frequently Asked Questions written by
  124. Steve Hayman which formerly appeared in comp.unix.wizards. Any
  125. mistakes are mine. Send corrections, suggestions, and additions to
  126. bobby@hot.caltech.edu.
  127.  
  128. 1) How can I get a copy of this article?
  129.  
  130.    You're reading it aren't you? SAVE it :-). This article is posted
  131.    monthly to comp.text.tex and cross-posted to news.answers. It is
  132.    therefore archived at any site that archives news.answers.
  133.    News.answers is archived on rtfm.mit.edu (18.70.0.209), and this
  134.    article is available there via anonymous ftp in the directory
  135.    ./pub/usenet/news.answers/tex-faq. If you do not have anonymous
  136.    ftp, send an e-mail message containing the lines ``SENDME FAQ.'' to
  137.    fileserv@shsu.edu (fileserv@shsu.bitnet).  Another way to retrieve
  138.    it via email is through the mailserver at rtfm: send a message
  139.    containing the lines ``help'' and ``index'' to
  140.    mail-server@rtfm.mit.edu for information on how to obtain it.
  141.  
  142.    Other news.answers/FAQ archives are: cnam.cnam.fr (163.173.128.6)
  143.    in the anonymous ftp directory /pub/FAQ; ftp.uu.net (192.48.96.2)
  144.    in the anonymous ftp directory /pub/usenet (also available via mail
  145.    server requests to netlib@uunet.uu.net, or via uunet's 1-900
  146.    anonymous UUCP phone number); and ftp.cs.ruu.nl (131.211.80.17) in
  147.    the anonymous ftp directory NEWS.ANSWERS (also accessible via mail
  148.    server requests to mail-server@cs.ruu.nl). Many of the archives
  149.    mentioned in question 22 also maintain current versions of this
  150.    document.
  151.  
  152. 2) Where can I get a DVI to PostScript conversion program?
  153.  
  154.    Two good DVI to PostScript conversion programs that run under
  155.    Unix are:
  156.      dvips - by Tomas Rokicki. This driver is very nice and has the
  157.        ability to deal with virtual fonts. Available via anonymous ftp
  158.        from labrea.stanford.edu (36.8.0.112) in ./pub. Dvips is
  159.        written in C and ports easily to other operating systems.  It
  160.        is available for VMS via anonymous ftp from any CTAN site (see
  161.        question 22) and also through the DECUS library (see question
  162.        22). A precompiled version for MSDOS is available from
  163.        monu1.cc.monash.edu.au (130.194.1.101) in ./pub/dvips54.zip or
  164.        from shape.mps.ohio-state.edu (128.146.110.30) in
  165.        ./pub/msdos/dvips/dvips54.zip. If you wish to use postscript
  166.        fonts, get dvipslib.zip as well.  Documentation is available in
  167.        dvips.ps.Z. Karl Berry has a version of dvips called dvipsk
  168.        which has a configure script and path searching code similar to
  169.        that in his other programs (e.g., web2c).  It is available via
  170.        anonymous ftp from ftp.cs.umb.edu (158.121.104.33) in
  171.        ./pub/tex/.
  172.  
  173.      dvitops - by James Clark. Available via anonymous ftp from any CTAN site
  174.        (see question 22, e.g., pip.shsu.edu (192.92.115.10)), in 
  175.        ./tex-archive/dviware/dvitops. Dvitops is written in C and will 
  176.        compile under Unix, MSDOS, VMS, and Primos.
  177.  
  178. 3) How can I include a PostScript figure in LaTeX?
  179.  
  180.    Perhaps the best way to do this is to use the psfig macros written
  181.    by Trevor Darrell. They are available via anonymous ftp from
  182.    whitechapel.media.mit.edu (18.85.0.125) in ./pub/psfig. You will
  183.    also need a dvi to PostScript conversion program that supports
  184.    \specials. The ones mentioned in question 2 do, and come with a
  185.    version of psfig ready to use with them. The psfig macros work best
  186.    with Encapsulated PostScript Files (EPS). In particular, psfig will
  187.    need the file to have a BoundingBox (see Appendix C of the
  188.    _PostScript Language Reference Manual_). If you don't have an EPS
  189.    file, life can be difficult.
  190.  
  191.    One further note about including PostScript figures is that they
  192.    are not part of the dvi file, but are included when you use a dvi
  193.    to PostScript conversion program. As a result, most dvi previewers
  194.    will simply show the blank space TeX has reserved for your figure,
  195.    not the figure itself.
  196.  
  197.    Anil K. Goel has written a long document describing in detail how to
  198.    include figures, pictures, and images in LaTeX documents. It is available
  199.    via anonymous ftp from math.uwaterloo.ca (129.97.140.144) in
  200.    ./pub/figsInLatex.ps.Z. A dvi file with the included PostScript files
  201.    is also available.
  202.  
  203. 4) Where can I find a DVI previewer for machine Y running Q?
  204.  
  205.    This briefly lists some previewers available via anonymous ftp. All
  206.    are available from any CTAN site (see question 22) in addition to the
  207.    sites listed below:
  208.       dvipage - For SunView. This was published in volume 15 of 
  209.         comp.sources.unix and is available at sites that archive
  210.         this. One such source is archive.cis.ohio-state.edu 
  211.         (128.146.8.52).
  212.       xtex - For the X Window System. Available via anonymous ftp 
  213.         from ftp.cs.colorado.edu (128.138.243.151) in 
  214.         ./pub/cs/misc/SeeTeX/SeeTeX/SeeTeX-*.tar.Z.
  215.       dviapollo- for Apollo Domain. Available via anonymous ftp from
  216.         labrea.stanford.edu (36.8.0.112) in ./pub/dviapollo.tar.Z.
  217.       dvidis - For VAXstation VWS. Available via anonymous ftp from
  218.         src.doc.ic.ac.uk (146.169.2.1) in /packages/tex/dviware/dvidis.
  219.       xdvi - Also for the X Window System. Available via anonymous ftp
  220.         from ftp.x.org (192.112.44.100) in ./contrib/xdvi.tar.Z. Karl
  221.         Berry has a version of called xdvik with features analogous
  222.         to his dvipsk (see question 2) available via anonymous ftp from
  223.         ftp.cs.umb.edu (158.121.104.33) in ./pub/tex.
  224.       dvitovdu - for Tektronix 4010 and other terminals under Unix.
  225.         Available via anonymous ftp from wsmr-simtel20.army.mil
  226.         (192.88.110.20) in the directory pd6:<unix-c.printers> as
  227.         dvi2vdu.tar-z (ftp in ``tenex'' mode).
  228.       dvi2tty - A dvi to ASCII conversion program, for normal terminals.
  229.         Available from ftp.cs.ruu.nl (131.211.80.17) in 
  230.         ./pub/TEX/DVI/dvi2tty.shar. A VMS version is available from
  231.         fileserv@shsu.edu (see question 22).
  232.       texsgi - For SGI under Irix. Available via anonymous ftp from 
  233.         ftp.brl.mil (128.63.16.158) in ./info-iris/tex. Both a binary 
  234.         and source are available, but be sure to get the fonts as well.
  235.    
  236. 5) Where can I get the manual for PiCTeX?
  237.  
  238.    The PiCTeX manual is not free. It is available for $30 ($35 with the
  239.    disk) from the TeX Users Group:
  240.                      TeX Users Group
  241.                      P. O. Box 869
  242.                      Santa Barbara, CA 93102-0869 (USA)
  243.                      805-963-1338
  244.                      FAX: 805-963-8358
  245.                      tug@tug.org
  246.  
  247.    The proceeds from this sale go to Michael Wichura, the author of PiCTeX,
  248.    and TUG.
  249.  
  250. 6) What is VorTeX and where can I get it?
  251.  
  252.    VorTeX is a package of programs written at the University of California.
  253.    It includes several nice previewers and some Emacs modes for TeX and
  254.    BibTeX. It is available via anonymous ftp from ftp.cs.berkeley.edu
  255.    (128.32.149.78) in ./ucb/mhgs. The VorTeX distribution is not maintained.
  256.  
  257. 7) What is OzTeX and where can I get it (TeX for the Mac)?
  258.  
  259.    OzTeX is a public domain version of TeX for the Macintosh. A DVI
  260.    Previewer and PostScript driver are also included. It should run on
  261.    any Macintosh Plus, SE, II, or newer model, but will not work on a
  262.    128K or 512K Mac. It was written by Andrew Trevorrow, and is available 
  263.    via anonymous ftp from from midway.uchicago.edu (128.135.12.73) in 
  264.    ./pub/OzTeX, which contains other public domain TeX-related software 
  265.    for the Mac as well, or on a floppy disk from TUG (see question 11). 
  266.    Questions about OzTeX may be directed to oztex@midway.uchicago.edu.
  267.    
  268. 8) What is Fig and where can I get it?
  269.  
  270.    Fig is a menu driven tool similar to MacDraw that allows you to
  271.    draw objects on the screen of a Sun Workstation running SunView.
  272.    TransFig is a set of tools which translate the code fig produces to
  273.    other graphics languages including PostScript and the LaTeX picture
  274.    environment. Both are available via anonymous ftp from
  275.    ftp.cs.cornell.edu (128.84.218.75) in ./pub/fig. Both Fig and
  276.    TransFig are also available from the Clarkson archive server at
  277.    sun.soe.clarkson.edu (see question 22). Fig is supported by Micah
  278.    Beck (beck@cs.cornell.edu) and Transfig is maintained by Brian
  279.    Smith (bvsmith@lbl.gov). Another tool for fig conversion is fig2MF
  280.    which generates METAFONT code from fig input. It is available from
  281.    the CTAN archives discussed in question 22.
  282.  
  283.    XFig is essentially the same program except it runs under the X
  284.    Window System. It is available via anonymous ftp from ftp.x.org
  285.    (192.112.44.100) in ./contrib/R5fixes/xfig-patches/xfig-2.1.*.Z. It
  286.    was written by Brian Smith.
  287.  
  288. 9) How do I get WEB for C, FORTRAN, or some other language?
  289.  
  290.    There is a version of WEB for C called CWEB written by Silvio Levy. It
  291.    is available via anonymous ftp from princeton.edu (128.112.128.1) in 
  292.    the directory ./pub/cweb.
  293.  
  294.    There is a version of WEB called Spidery WEB which supports many 
  295.    languages including ADA, awk, and C. It was written by Norman Ramsey 
  296.    and, while not in the public domain, is usable free. It is available 
  297.    via anonymous ftp from pip.shsu.edu (192.92.115.10) in 
  298.    tex-archive/web/spiderweb.
  299.  
  300.    FWEB is a version of WEB for Fortran, Ratfor, and C written by John
  301.    Krommes (krommes@lyman.pppl.gov). Version 1.13 is available via
  302.    anonymous ftp from lyman.pppl.gov (192.55.106.129) in ./pub/fweb.
  303.  
  304.    SchemeWEB is a Unix filter that translates SchemeWEB into LaTeX source
  305.    or Scheme source. It was written by John Ramsdell and is available from
  306.    sun.soe.clarkson.edu (128.153.12.3) in ./pub/tex/tex-programs/schemeweb.
  307.  
  308.    APLWEB is a version of WEB for APL and is available from
  309.    watserv1.waterloo.edu (129.97.129.140) in ./languages/apl.
  310.  
  311.    FunnelWeb is a version of WEB that is language independent. It is 
  312.    available via anonymous ftp from ftp.adelaide.edu.au (129.127.40.3)
  313.    in ./pub/funnelweb. It also appeared in comp.sources.unix volume 26
  314.    issue 121, posted 11 April 1993. Another language independent version
  315.    of WEB is NUWEB, available via anonymous ftp from cs.rice.edu
  316.    (128.42.1.30) in ./public/preston. NUWEB is written in ANSI C.
  317.  
  318.    Most of the above are also available from your nearest CTAN site
  319.    (see question 22).
  320.  
  321. 10) How can I typeset music in TeX?
  322.  
  323.     A package called MuTeX, written by Andrea Steinbach and Angelika
  324.     Schofer, aids in doing this. It is available via anonymous ftp
  325.     from ftp.cs.ruu.nl (131.211.80.17) in pub/TEX/MuTeX.tar.Z.  This
  326.     package allows you to typeset single-staff music and lyrics.
  327.  
  328.     A more powerful package which allows the typesetting of orchestral
  329.     and polyphonic music is MusicTeX, written by Daniel Taupin 
  330.     (taupin@frups51.bitnet). It is available via anonymous ftp from
  331.     rsovax.ups.circe.fr (130.84.128.100) [.musictex]. It should also
  332.     be available from the archive sites detailed in question 22.
  333.  
  334.     There is a mailing list for discussion of typesetting music in TeX.
  335.     To subscribe, send a request to mutex-request@stolaf.edu.
  336.  
  337. 11) What is TUG and TUGboat?
  338.  
  339.     TUG is the TeX Users Group. TUGboat is their newsletter, containing
  340.     useful articles about TeX and METAFONT. TUG also distributes
  341.     TeX-related microcomputer software on disks. Inquiries should be 
  342.     directed to:
  343.                      TeX Users Group
  344.                      P. O. Box 869
  345.                      Santa Barbara, CA 93102-0869 (USA)
  346.                      805-963-1338
  347.                      FAX: 805-963-8358
  348.                      tug@tug.org
  349.  
  350. 12) How do I convert Adobe's afm files to tfm format?
  351.  
  352.     Use the afm2tfm program distributed with dvips, available via
  353.     anonymous ftp from labrea.stanford.edu (36.8.0.112) in ./pub. 
  354.  
  355.     For the Macintosh, there is a program called EdMetrics which does
  356.     the job (and more). It is available free from:
  357.               Blue Sky Research
  358.               534 Southwest Third Avenue
  359.               Portland, Oregon 97204 (USA)
  360.               800-622-8398 or 503-222-9571
  361.  
  362. 13) In LaTeX, how do I get a double-spaced document?
  363.  
  364.     Are you producing a thesis, and trying to obey regulations that were
  365.     drafted in the typewriter era?  LaTeX is a typesetting system, so the
  366.     appropriate design conventions are for ``real books''.  Find whoever
  367.     is responsible for the regulations, and try to get the wording changed
  368.     to cater for typeset theses (e.g., to say ``if using a typesetting 
  369.     system, aim to make your thesis look like a well-designed book'').
  370.  
  371.     If you fail to convince your officials, or want some inter-line 
  372.     space for copy-editing:
  373.      - Try changing \baselinestretch: \renewcommand{\baselinestretch}{1.2}
  374.        may be enough to give officials the impression you've kept
  375.        to their regulations.  Don't try changing \baselineskip: its
  376.        value is reset at any size-changing command.
  377.      - Alternatively, get doublespace.sty from any CTAN site (see question 22,
  378.        e.g., pip.shsu.edu (192.92.115.10)) in 
  379.        ./tex-archive/macros/latex/contrib/misc. There's also a setspace.sty
  380.        in the same directory which is more flexible, and consistent with the
  381.        latest release of LaTeX.
  382.  
  383.     It's not worth going to a lot of trouble.  (If officials won't allow
  384.     standard typographic conventions, you won't be able to produce an
  385.     aesthetically pleasing document anyway!)
  386.  
  387. 14) In LaTeX, how do I include a file in the verbatim environment?
  388.  
  389.     A good way to do this is to use Rainer Sch\"opf's verbatim.sty,
  390.     which provides the command \verbatiminput that takes a file
  391.     as an argument. This package is available from any CTAN site (see 
  392.     question 22) in ./tex-archive/macros/latex/distribs. Several
  393.     files are needed.
  394.  
  395.     Another way to do this is to use the alltt environment defined in
  396.     the style file alltt.sty available from the CTAN archives in 
  397.     ./tex-archive/macros/latex/contrib/misc/alltt.sty.
  398.  
  399. 15) In LaTeX, how do I do Y?
  400.  
  401.     If you can't figure out how to do something in LaTeX after you
  402.     have read the manual very carefully, asked your local LaTeX
  403.     guru, and thought about it, there is a LaTeX help service 
  404.     available. Please note that the way to accomplish something 
  405.     in LaTeX is often by using an appropriate style file, so please
  406.     check this also (see question 16). If none of this works, send mail 
  407.     in English describing your problem to latex-help@cs.stanford.edu. 
  408.     If you haven't gotten a reply to your problem within about a week, 
  409.     send mail to latex-help-coordinator@cs.stanford.edu.
  410.  
  411. 16) Where can I find a TeX macro or LaTeX style file for doing Y?
  412.  
  413.     Before you ask for a TeX macro or LaTeX style file to do something, 
  414.     please search the TeX macro index written by David M. Jones
  415.     (dmjones@theory.lcs.mit.edu) and available via anonymous ftp
  416.     from theory.lcs.mit.edu (18.52.0.92) in ./pub/tex/TeX-index. Those 
  417.     without access to anonymous ftp can send a message containing the
  418.     line ``send tex TeX-index'' to archive-server@theory.lcs.mit.edu.
  419.     The index is an excellent reference document with plenty of 
  420.     cross-references. Also, many of the archive sites mentioned in
  421.     question 22 maintain extensive latex style collections, which you
  422.     can look through if you need something not in the index.
  423.     
  424. 17) How do I generate an index in TeX/LaTeX?
  425.  
  426.     Making an index is not trivial. There are several indexing programs
  427.     which aid in doing this. The following are available from any CTAN
  428.     site (see question 22):
  429.       makeindex - for LaTeX under Unix (but runs under other OS's
  430.          without changes). A version for the Macintosh is available from
  431.          Johnny Tolliver at tolliver%atf.mfenet@nmfecc.llnl.gov. The 
  432.          Makeindex documentation is a good source of information on how 
  433.          to create your own index. Makeindex can be used with some TeX macro
  434.          packages other than LaTeX, such as Eplain.
  435.       idxtex - for LaTeX under VMS.
  436.       texix - for TeX on CMS and Macintosh machines.
  437.       texindex - for LaTeX under Unix. Available from
  438.          comp.sources.misc archives in Volume 23.
  439.  
  440. 18) How do I get METAFONT to do what I want it to do?
  441.  
  442.     METAFONT allows you to create your own fonts, and ordinary TeX users
  443.     will never need to use it. METAFONT, unlike TeX, requires some 
  444.     customization. Each output device for which you will be generating 
  445.     fonts needs a mode associated with it. Modes are defined using the 
  446.     mode_def convention described on page 94 of _The METAFONTbook_. So 
  447.     first create a file, which we will call local.mf, containing all the 
  448.     mode_defs you will be using. The file modes.mf by Karl Berry,
  449.     available via anonymous ftp from ftp.cs.umb.edu (158.121.104.33) in
  450.     ./pub/tex is a good starting point for this. Listings of settings for 
  451.     various output devices are also published periodically in TUGboat 
  452.     (see question 11). Now create a plain base file using inimf, plain.mf, 
  453.     and local.mf:
  454.        % inimf
  455.        This is METAFONT....
  456.        **plain                 # you type plain
  457.        (output)
  458.        *input local            # you type this
  459.        (output)
  460.        *dump                   # you type this
  461.        Beginning to dump on file plain....
  462.        (output)
  463.        %
  464.     This should create a base file named plain.base (or something close)
  465.     and should be moved to the directory containing the base files on
  466.     your system.
  467.  
  468.     Now you need to make sure METAFONT loads this base when it starts
  469.     up. If METAFONT loads the plain base by default on your system, then
  470.     you're ready to go. Under Unix, we might, for instance define a 
  471.     command mf which executes ``virmf &plain,'' loading the plain base
  472.     file.
  473.  
  474.     The usual way to create a font with plain METAFONT is to then start 
  475.     it with the line
  476.        \mode=<mode name>; mag=<magnification>; input <font file name>
  477.     in response to the * prompt or on the METAFONT command line. If 
  478.     <mode name> is unknown or omitted, then the mode defaults to proof 
  479.     mode. If this has happened METAFONT will produce an output file
  480.     called <font file name>.2602gf. The <magnification> is a floating 
  481.     point number or magstep (magsteps are defined in _The METAFONTbook_ 
  482.     and _The TeXbook_). If mag=<magnification> is omitted, then the 
  483.     default is 1. For example, to generate cmr10 at 12pt for an epson 
  484.     printer you would type
  485.        mf \mode=epson; mag=1.2; input cmr10
  486.     Note that under Unix the '\' and ';' characters must usually be 
  487.     escaped, so this would typically look something like
  488.        mf \\mode=epson\; mag=1.2\; input cmr10
  489.  
  490.     If you don't have inimf or need a special mode that isn't in the
  491.     base, you can put its commands in a file (e.g., ln03.mf) and invoke
  492.     it on the fly with the \smode command. For example, to create 
  493.     ln03.300gf for an LN03 printer, using the file
  494.     % This is ln03.mf as of 2/27/90
  495.     % mode_def courtesy of John Sauter
  496.     proofing:=0;
  497.     fontmaking:=1;
  498.     tracingtitles:=0;
  499.     pixels_per_inch:=300;
  500.     blacker:=0.65;
  501.     fillin:=-0.1;
  502.     o_correction:=.5;
  503.     (note the absence of the mode_def and enddef commands), you would type
  504.        mf \smode="ln03"; input cmr10
  505.     
  506. 19) Where do I get TeX/LaTeX for machine Y running Q?
  507.  
  508.     Unix - The Unix TeX distribution is available via anonymous ftp from any 
  509.        CTAN archive (see question 22). If you don't want to do this, you can 
  510.        order it from the University of Washington, for a small fee. Contact:
  511.                   Director
  512.                   Northwest Computing Support Center
  513.                   Thomson Hall, Mail Stop DR-10
  514.                   University of Washington
  515.                   Seattle, WA 98195 (USA)
  516.                   (206)543-6259
  517.        or send electronic mail to Elizabeth Tachikawa at 
  518.        elisabet@max.u.washington.edu (note the ``s''). The fee charged 
  519.        for getting the TeX distribution through the University of 
  520.        Washington helps fund the further development of Unix TeX, so 
  521.        it's a good idea to order it this way.
  522.  
  523.        Instructions for retrieving TeX via anonymous ftp are available
  524.        in the document FTP.nwc, itself available via anonymous ftp from
  525.        ftp.cs.umb.edu (158.21.104.33) in ./pub/tex.
  526.  
  527.        Note: The Unix version of TeX allows your ``macros'' or ``inputs''
  528.        and ``fonts'' directories to be hierarchically organized with
  529.        further subdirectories, rather than dumping everything into one
  530.        directory. This can cause TeX to start very slowly. The cure
  531.        for this problem is to insure each subdirectory contains either
  532.        only directories or only files.
  533.  
  534.     AIX - TeX for the IBM RS6000 running AIX can be found on
  535.        ftp.uni-stuttgart.de (129.69.8.13) in
  536.        ./tex-archive/systems/unix/aix3.1.
  537.  
  538.     386/ix - Executables for the 386/ix are available via anonymous ftp 
  539.        from tik.vtt.fi (130.188.52.2) in ./pub/tex/bin-386ix and from 
  540.        math.berkeley.edu (128.32.183.94) in ./pub/tex386ix.tar.Z.
  541.  
  542.     PC - A TeX package for the PC, including LaTeX, BibTeX, previewers,
  543.        and drivers is available via anonymous ftp from 
  544.        vax.eedsp.gatech.edu (130.207.226.24) in ./pub/TeX. The variety here
  545.        is sbtex version 30 by Wayne Sullivan. EmTeX, another TeX package 
  546.        for the PC by Eberhard Mattes, is available via anonymous ftp from 
  547.        ftp.uni-stuttgart.de (129.69.8.13) in 
  548.        ./tex-archive/systems/msdos/emtex and also from niord.shsu.edu
  549.        (192.92.115.8) in [.emtex]. This package includes LaTeX, METAFONT,
  550.        BibTeX, etc., as well. Documentation is available in both German 
  551.        and English.
  552.  
  553.        All Public Domain TeX software for the PC is also available 
  554.        through TUG. A catalog is available free from them at the 
  555.        address given in question 11. This collection is maintained by 
  556.        Jon Radel, who will answer technical questions on the material 
  557.        (with no service guarantee). Send electronic mail to jon@radel.com.
  558.  
  559.     Mac - see question 7 for a public domain version (OzTeX). Another version
  560.        is CMacTeX, which has TeX 3.14, METAFONT 2.7, a screen previewer,
  561.        dvips, a PostScript printing utility for the LaserWriter, and some font
  562.        managing utilities. It is available from the CTAN archives discussed
  563.        in question 22. 
  564.  
  565.     TOPS-20 - TeX was originally written on a DEC-10 under WAITS, and so
  566.        was easily ported to TOPS-20. A Distribution that runs on TOPS-20 
  567.        is available via anonymous ftp from science.utah.edu 
  568.        (128.110.198.2) in ./pub/tex/pub/web.
  569.  
  570.     VAX/VMS - TeX for VMS is available from any CTAN site (see question 22)
  571.        in the directory ./systems/vms. Standard tape distribution is 
  572.        through DECUS or Maria Code.
  573.  
  574.     Atari - TeX is available for the Atari ST from atari.archive.umich.edu
  575.        (141.211.165.41) in ./atari/tex. If anonymous ftp is not available
  576.        to you, send a message containing the line ``help'' to
  577.        atari@atari.archive.umich.edu. The mail server can uuencode
  578.        binary files. Another version can be obtained via anonymous
  579.        ftp from ifi.informatik.uni-stuttgart.de (129.69.211.1) in
  580.        ./pub/atari.st/tex. There is also lots of TeX stuff for the
  581.        Atari on the rusinfo and ftp.cs.ruu.nl archives mentioned in
  582.        question 22.
  583.  
  584.     Amiga - A full implementation of TeX 3.1 call PasTeX and METAFONT 2.7
  585.         are available via anonymous ftp from merlin.etsu.edu (192.43.199.20)
  586.         in ./ab20/AMIGA. It is also available via anonymous ftp from
  587.         forwiss.uni-passau.de (132.231.20.10) in ./pub/amiga/tex. 
  588.         You can also order a CDROM containing this and other amiga software
  589.         from Walnut Creek CDROM, (510) 947-5997.
  590.  
  591.     Tandy 6000 - If you are interested in building TeX on this machine
  592.         contact Ken Yap (ken@syd.dit.csiro.au), and he'll help you.
  593.  
  594. 20) Where can I get a thesis style for LaTeX?
  595.  
  596.     Thesis styles are usually very specific to your University, so it's
  597.     usually not profitable to ask the whole newsgroup for one. If you
  598.     want to write your own, a good place to start is the ucthesis style
  599.     available from any CTAN archive in macros/latex/contrib/ucthesis
  600.     (see question 22).
  601.  
  602. 21) How do I get symbols for ``the real numbers'', ``the complex numbers'',
  603.     and so on?
  604.  
  605.     These symbols are known as ``blackboard bold'' and are available in
  606.     the AMS fonts ``msam'' (e.g., ``msam10'' for 10pt) and ``msbm''. 
  607.     They replace the older ``msxm'' and ``msym''. The fonts have a large
  608.     number of mathematical symbols to supplement the ones 
  609.     provided by TeX. The fonts are available via anonymous ftp from
  610.     e-math.ams.com (130.44.1.100) in the directory ./ams/amsfonts.
  611.     Two files which load the fonts and define the symbols are provided,
  612.     and both work with either TeX or LaTeX. Questions or suggestions 
  613.     regarding these fonts should be directed to 
  614.     tech-support@math.ams.com.
  615.  
  616.     A set of LaTeX macros for a ``lazy person's'' blackboard bold are:
  617.        \newcommand{\R}{{\sf R\hspace*{-0.9ex}\rule{0.15ex}%
  618.        {1.5ex}\hspace*{0.9ex}}}
  619.        \newcommand{\N}{{\sf N\hspace*{-1.0ex}\rule{0.15ex}%
  620.        {1.3ex}\hspace*{1.0ex}}}
  621.        \newcommand{\Q}{{\sf Q\hspace*{-1.1ex}\rule{0.15ex}%
  622.        {1.5ex}\hspace*{1.1ex}}}
  623.        \newcommand{\C}{{\sf C\hspace*{-0.9ex}\rule{0.15ex}%
  624.        {1.3ex}\hspace*{0.9ex}}}
  625.  
  626. 22) What repositories of TeX material are available, and how can I access
  627.     them?
  628.  
  629.     To aid the archiving and retrieval of of TeX-related files, a TUG
  630.     working group developed the Comprehensive TeX Archive Network
  631.     (CTAN).  Each CTAN site has identical material, and maintains
  632.     authoritative versions of its material.  These collections are
  633.     extensive; in particular, almost everything mentioned in this
  634.     document is archived at the CTAN sites, even if not explicitly
  635.     stated.
  636.  
  637.     The CTAN sites are currently ftp.uni-stuttgart.de (129.69.8.13)
  638.     with the TeX root directory ./pub/tex, ftp.tex.ac.uk
  639.     (134.151.44.19) with root directory ./pub/archive, and
  640.     pip.shsu.edu (192.92.115.10) with root directory ./tex-archive.
  641.     Under the root directory, the organization is identical.
  642.  
  643.     To find software at a CTAN site, use anonymous ftp to the host,
  644.     and then execute the command `quote site index <search-term>'.
  645.  
  646.     The mail servers of the CTAN sites are not yet identical, but this is
  647.     planned. Here are the current methods of access via electronic mail:
  648.       - For the UK site, send a message to texserver@tex.ac.uk. The
  649.         first non-blank line of the message must contain a valid
  650.         TeXserver command (help, directory, files, whereis, search,
  651.         or path). The program will then mail you a response notifying
  652.         you that your request has been received. If you fail to get a
  653.         response from the TeXserver, you may need to use the ``path''
  654.         command to help the program out. For Internet users the
  655.         return address is of the form name%site@nsfnet-relay, while
  656.         for Bitnet and EARN it is name%site@earn-relay (i.e., include
  657.         a line that says ``path name%site@nsfnet-relay'' along with a
  658.         line containing ``help''). 
  659.       - For ftp.uni-stuttgart.de, send a message containing the line
  660.         ``help'' to mail-server@ftp.uni-stuttgart.de.
  661.       - For the SHSU site, send a message with the line HELP to
  662.         FILESERV@SHSU.BITNET. SENDME FILELIST will get an annotated
  663.         listing of all packages available there.
  664.  
  665.     The host nic.switch.ch (130.59.1.40) mirrors ftp.uni-stuttgart.de
  666.     in /mirrors/tex, as does ftp.uni-bielefeld.de (129.70.4.55) in
  667.     /pub/tex. Src.doc.ic.ac.uk (146.169.2.1) mirrors ftp.tex.ac.uk in
  668.     /packages/TeX/uk-tex/. Finally, wuarchive.wustl.edu
  669.     (128.252.135.4) mirrors pip.shsu.edu in /packages/TeX.
  670.  
  671.     There are several other repositories of TeX material available:
  672.       - ftp.cs.ruu.nl (131.211.80.17) also contains a substantial TeX
  673.         archive with ftp access. To use it via email, send a message
  674.         containing the line ``help'' to mail-server@cs.ruu.nl. This mail 
  675.         server can send binary files in a variety of different formats.
  676.       - There are LISTSERV facilities for TeX at LISTSERV@DHDURZ1.BITNET. 
  677.         Send a message containing the line ``help'' to this address.
  678.       - For users on BITNET, access to anonymous ftp for some files can
  679.         be obtained indirectly by sending mail to BITFTP@PUCC.BITNET.
  680.         Send a message containing the line ``help'' to this address for
  681.         more information.
  682.      
  683.     There is also the DECUS TeX collection, a collection of TeX material
  684.     for VMS, Unix, MS-DOS, and the Macintosh. It is available via 
  685.     anonymous ftp from wuarchive.wustl.edu (128.252.135.4) in ./decus/tex.
  686.     It can also be obtained from the DECUS Library (reference number 
  687.     VS0058) in the US, or through your DECUS office outside of the US. To 
  688.     contact the DECUS Library, send mail or call:
  689.                  The DECUS Program Library
  690.                  219 Boston Post Road BP02
  691.                  Marlboro, MA 01752-1850
  692.                  (508)480-3418
  693.     or send electronic mail to the DECUS TeX Collection Editor, Ted 
  694.     Nieland, at decus_tex@nieland.dayton.oh.us.
  695.      
  696.     Another good source of information is NETWORK SOURCES OF TeX WARE by
  697.     Peter Flynn which appeared in TeXhax, volume 90, issues 45-47 (in
  698.     May 1990).      
  699.  
  700. 23) How do I use PostScript fonts with LaTeX?
  701.  
  702.     The best way to do this is to install the New Font Selection
  703.     Scheme (NFSS) (see question 35), and use the psnfss package
  704.     written by Sebastian Rahtz. It is available from all the major
  705.     archives mentioned in question 22. Unfortunately, on some it is
  706.     known as soton and on others as psnfss. The definitive home for
  707.     it is the UK TeX archive, tex.ac.uk (134.151.40.18) in
  708.     [tex-archive.macros.latex.distribs.psnfss]. Other methods for using
  709.     PostScript fonts in LaTeX are cumbersome at best.
  710.  
  711. 24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  712.  
  713.     troff - TROFF-TO-LATEX.TAR-Z is available via anonymous ftp from
  714.       wsmr-simtel20.army.mil (192.88.110.20) in the directory 
  715.       pd2:<unix-c.textproc>. This program, written by Kamal Al-Yahya 
  716.       at Stanford, assists in the translation of a troff document into 
  717.       LaTeX format.  It recognizes most -ms and -man macros, plus most 
  718.       eqn and some tbl preprocessor commands. Anything fancier needs 
  719.       to be done by hand.  Two style files are provided.  There 
  720.       is also a man page (which converts very well to LaTeX :-).  
  721.       The program is copyrighted but free. An enhanced version of this
  722.       program, tr2latex, is available from 
  723.       ftp.informatik.rwth-aachen.de (137.226.112.172) in ./pub/TeX. 
  724.       The DECUS TeX distribution (see question 22) also contains a program
  725.       which converts troff to TeX. If you are interested in obtaining a copy
  726.       of this program without getting the entire DECUS TeX distribution, 
  727.       send the command: SENDME TROFFTOTEX in the body of a mail message to
  728.       FILESERV@SHSU.BITNET (FILESERV@SHSU.edu), or use anonymous ftp to the
  729.       directory [.TROFFTOTEX] on Niord.SHSU.edu (192.92.115.8). 
  730.  
  731.     scribe - Mark James has a copy of scribe2latex he has been
  732.       unable to test but which he will let anyone interested have.
  733.       Send email to jamesm@procor.dialogic.com. The program was written
  734.       by Van Jacobson of Lawrence Berkeley Laboratory.
  735.  
  736.     wordperfect -  wp2latex.zip is available on wuarchive.wustl.edu
  737.       (128.252.135.4) in the directory ./mirrors/msdos/tex and on
  738.       wsmr-simtel20.army.mil (192.88.110.20) in the directory pd1:<msdos.tex>.
  739.       This is a PC program written in Turbo Pascal by R. C. Houtepen at
  740.       the Eindhoven University in the Netherlands.  It converts
  741.       WordPerfect 5.0 documents to LaTeX.  Pascal source is included.
  742.       Users find it ``helpful'' and ``decent'' in spite of some
  743.       limitations. It gets high marks for handling font changes.
  744.       Limitations include no indices, table of contents, margins or
  745.       graphics.  It also won't handle the new features of WordPerfect
  746.       5.1, in particular the equation formatter. The program is
  747.       copyrighted but free.
  748.  
  749.       Glenn Geers of the University of Sydney (glenn@qed.physics.su.oz.au)
  750.       is translating wp2latex into C and adding some WordPerfect 5.1
  751.       features, in particular its equation handling.  This is an ongoing
  752.       project; the most recent version can be retrieved via anonymous ftp
  753.       from suphys.physics.su.oz.au (129.78.129.1) in ./wp2latex. It was 
  754.       posted to alt.sources on 8 August 1990.
  755.  
  756.       Commercial packages are available for DOS which convert from
  757.       WordPerfect to LaTeX, and from TeX and LaTeX to WordPerfect, but
  758.       I am unaware of any free products which do this.
  759.  
  760.     PC-Write - pcwritex.arc is available on wuarchive.wustl.edu
  761.       (128.252.135.4) in directory mirrors/msdos/tex and on
  762.       wsmr-simtel20.army.mil (192.88.110.20) in directory pd1:<msdos.tex>.
  763.       This is a print driver for PC-Write that ``prints'' a PC-Write V2.71
  764.       document to a TeX-compatible disk file.  It was written by Peter
  765.       Flynn at University College, Cork, Ireland.  It is public domain.  
  766.  
  767.     runoff - Peter Vanroose (vanroose@esat.kuleuven.ac.be) has 
  768.       written a RUNOFF-to-TeX conversion program in VMS Pascal.  It is 
  769.       available from comp.text archives (they do exist, don't they?  The 
  770.       program was submitted in December 1987) or from the author 
  771.       (peter@dit.lth.se) or from Mark James (jamesm@procor.dialogic.com).
  772.  
  773.     refer/Tib - There are a few programs for converting bibliographic data 
  774.       between BibTeX and refer/Tib formats.  They are available via 
  775.       anonymous ftp from ftp.ai.mit.edu (128.52.32.11) in the 
  776.       directory ./pub/refer-to-bibtex.  In spite of the directory name, 
  777.       it also contains a  shell script to convert BibTeX to REFER as 
  778.       well. Unfortunately, this collection is not maintained.
  779.  
  780.     RTF - A program for converting Microsoft's Rich Text Format to TeX
  781.       is available via anonymous ftp from astro.princeton.edu
  782.       (128.112.128.131) in ./pub/rtf2TeX.tar.Z. It was written and is
  783.       maintained by Robert Lupton (rhl@astro.princeton.edu). There is
  784.       also an rtf2LateX written by Erwin Wechtl available from 
  785.       ftp.vmars.tuwien.ac.at (128.130.39.16) in ./pub/misc.
  786.  
  787.     Microsoft Word - A rudimentary program for converting MS-Word
  788.       to LaTeX is wd2latex, for MS-DOS, available via anonymous ftp
  789.       from any CTAN site (see question 22). A better idea, however, 
  790.       is to convert the document to RTF format and use the RTF 
  791.       converter mentioned above.
  792.     
  793.     In addition, a group at Ohio State University is working on a common
  794.     document format based on SGML.  In theory any format could be
  795.     translated to or from this one.  Also, Framemaker supposedly has
  796.     ``import filters'' to aid in the translation from alien formats
  797.     (presumably including TeX) to Framemaker; perhaps other desktop
  798.     publishing programs have similar things.
  799.       
  800. 25) How do I get a file into the major style repositories?
  801.     
  802.     Use anonymous ftp to any CTAN archive (see question 22) and
  803.     retrieve the file README.uploads in the root directory. It contains
  804.     instructions for uploading files and notifying the appropriate
  805.     people for that site.
  806.  
  807.     If you cannot use ftp, mail your contribution to sty-mgr@shsu.edu
  808.     and it will be passed along. You will make everyone's life easier
  809.     if you choose a descriptive and unique name for your submission, so
  810.     it's probably good idea to browse through some of the styles
  811.     already available to insure your style file's name is not already
  812.     in use.
  813.  
  814. 26) Where can I get font Y?
  815.  
  816.     A comprehensive list of METAFONT fonts is posted to Comp.fonts
  817.     about once every six weeks by Lee Quin (lee@sq.sq.com). It contains
  818.     both commercial fonts and fonts available via anonymous ftp. Most
  819.     of the fonts available via anonymous ftp are available from
  820.     the CTAN archives (see question 22). Also, the file wujastyk.txh
  821.     ./tex-archive/digests/texhax/txh/wujastyk.txh is a copy of
  822.     Dominik Wujastyk's font article, and contains information on
  823.     METAFONT fonts as well.
  824.  
  825. 27) Where can I get a dvi driver for the HP LaserJet?
  826.  
  827.     PC - The emtex package mentioned in question 19 contains a driver for
  828.        the LaserJet, dvihplj. 
  829.  
  830.     Version 2.10 of the Beebe drivers support the LaserJet. These drivers
  831.     will compile under Unix, VMS, and on the Atari ST and DEC-20's. They
  832.     are available from science.utah.edu (128.110.198.2) in ./pub/tex/dvi.
  833.  
  834. 28) TeX and LaTeX are hyphenating words weirdly. What can I do?
  835.  
  836.     You have a version mismatch problem. The hyphenation algorithm changed
  837.     between version 2.9 and 3.0. If you are using TeX version 3.0 or
  838.     later, make sure you have plain.tex and lplain.tex files with a
  839.     version number of at least 3.0.
  840.  
  841.     For those of you curious about the change, here's what happened:
  842.     in versions of TeX before 3.0 the hyphenation algorithm would not
  843.     break a word if the part before the break was not at least two
  844.     characters long, and the part after the break at least three 
  845.     characters long. Starting with version 3.0 two integer parameters,
  846.     \lefthyphenmin and \righthyphenmin, control the length of these
  847.     fragments. These are set to 2 and 3, respectively, in the new
  848.     plain and lplain formats. They can be set to any value, of course,
  849.     but if \lefthyphenmin + \righthyphenmin is greater than 62, all
  850.     hyphenation is suppressed.
  851.  
  852. 29) How can I convert a TeX or LaTeX file into a plain ASCII file,
  853.     with all the formatting intact, a la nroff?
  854.  
  855.     Ralph Droms (droms@bucknell.edu) has a style file and a C program
  856.     that provide the LaTeX equivalent of nroff. Although it doesn't do
  857.     a good job with tables and math, it's the best way to convert that
  858.     I've seen. The software is available for anonymous ftp from
  859.     sol.cs.bucknell.edu (134.82.1.8) in ./droms/txt-dist.tar.
  860.  
  861.     Another possibility is to use screen.sty, available from all the
  862.     major archives. However you need a program called crudetype to
  863.     process the resulting dvi file. It is available from
  864.     emx.utexas.edu (128.83.186.11) in
  865.     ./pub/mnt/source/tex/tex-3.0/DVIware/lpr-viewers/crudetype and
  866.     from ftp.uni-stuttgart.de (129.69.8.13) in
  867.     ./tex-archive/dviware/screenview. Another possibility is to use
  868.     the LaTeX-to-ASCII conversion program, l2a, available from
  869.     comp.sources.misc archives (one archive site is ftp.uu.net
  870.     (192.48.96.9)), although this is really more of a de-TeXing
  871.     program. If you are running under Unix and have C++ and perl, you
  872.     might try Jonathan Monsarrat's LameTeX package (which actually
  873.     does much more than this), available from wilma.cs.brown.edu
  874.     (128.148.33.66) in ./pub/lametex.tar.Z.
  875.  
  876. 30) How do I enlarge TeX? I keep getting `memory capacity exceeded'
  877.     errors.
  878.  
  879.     Most of the time, a ``memory capacity exceeded'' error can be fixed
  880.     without enlarging TeX.  The most common causes are unmatched braces,
  881.     extra-long lines, and poorly-written macros.  Extra-long lines
  882.     are often introduced when files are transferred incorrectly between
  883.     operating systems.  (The tell-tale sign of an extra-long line error
  884.     is when the complaint is that the `buf_size' has overflowed.)
  885.  
  886.     If you really need to extend your TeX's capacity, the proper method
  887.     varies depending on your installation.  In the purest form, you
  888.     change the parameters in module 11 (``The following parameters can
  889.     be changed...'')  In less pure forms, you might need to modify a
  890.     change file, or perhaps change some environment variables.  Consult
  891.     the documentation that came with your particular implementation.
  892.  
  893. 31) In LaTeX, I used \pagestyle{empty}, but the first page is still 
  894.     numbered. What do I do?
  895.  
  896.     If you see this problem, you are using the \maketitle command too.
  897.     This is a bug in LaTeX. The workaround is to put the command
  898.     \thispagestyle{empty} immediately after the \maketitle command, with
  899.     no blank line between them.
  900.  
  901. 32) Where do I find documentation about BibTeX?
  902.  
  903.     BibTeX, a program originally designed to produce bibliographies in
  904.     conjunction with LaTeX, is explained in Section 4.3 and Appendix B 
  905.     of Leslie Lamport's LaTeX manual.  The ``BibTeXing'' document, 
  906.     contained in the file btxdoc.tex, gives a more complete description.
  907.  
  908.     The ``Designing BibTeX Styles'' document, contained in the file 
  909.     btxhak.tex, explains the postfix stack-based language used to
  910.     write BibTeX styles (.bst files).  The file btxbst.doc is the template
  911.     file for the four standard styles (plain, abbrv, alpha, unsrt). It
  912.     also contains the documentation for them.
  913.  
  914.     The current Unix-BibTeX man page, contained in the file
  915.     bibtex.1, was updated in January 1992 and is about one page long.
  916.     There's an old and obsolete version floating around, written in 1985
  917.     before ``BibTeXing'' and ``Designing BibTeX Styles'' appeared, that is
  918.     several pages long.  You should ignore it (or throw it away), since it
  919.     describes BibTeX version 0.98, style files of which are incompatible 
  920.     with the current version, 0.99 (to be precise, 0.99c).
  921.  
  922.     All files mentioned in this answer are available via anonymous ftp
  923.     from labrea.stanford.edu (36.8.0.112) in the BibTeX ftp area, 
  924.     tex/bibtex. All the non-Unix files should be available on any system 
  925.     that runs BibTeX; if they're not on your system, please complain to 
  926.     your BibTeX installer or to your distribution source.
  927.  
  928. 33) How do I use BibTeX with plain TeX?
  929.  
  930.     The file btxmac.tex contains TeX macros and documentation for using
  931.     BibTeX with plain TeX, either directly or with Karl Berry's Eplain
  932.     package. It is available via anonymous ftp from labrea.stanford.edu
  933.     (36.8.0.112) in tex/bibtex (see question 32 for more information 
  934.     about BibTeX).
  935.  
  936. 34) How do I draw Feynman diagrams in LaTeX?
  937.  
  938.     Michael Levine's macro package for drawing Feynman diagrams in LaTeX
  939.     is available via mail-server from physics.utoronto.ca. Send a message
  940.     containing the line ``send INDEX'' to mail-server@physics.utoronto.ca
  941.     for information on how to retrieve it.
  942.  
  943. 35) What is the New Font Selection Scheme (NFSS)?
  944.  
  945.     NFSS is an extension to LaTeX written by Frank Mittelbach and Rainer
  946.     Sch\"opf. It is described in TUGboat, volume 10 (1989), No. 2.
  947.     In traditional typesetting, fonts are described by four parameters:
  948.     the family (e.g., computer modern), the series (i.e., the weight and
  949.     width of the font, like light or bold), the shape (e.g., italic), and
  950.     the size. NFSS is a mechanism allowing the user to change any of these
  951.     independently. NFSS makes it relatively easy to use nonstandard fonts
  952.     such as the PostScript ones with LaTeX, and easy to change math fonts.
  953.     It also allows dynamic loading of fonts at runtime (not when the
  954.     format file is created).
  955.  
  956.     NFSS will be part of version 3.0 of LaTeX. Currently, you need
  957.     to create a new format file to use it. It is available via
  958.     anonymous ftp from all the major archives mentioned in question
  959.     22. Its home is on ftp.uni-stuttgart.de (129.69.8.13) in
  960.     ./tex-archive/macros/latex/distribs/nfss2. NFSS can be used in plain
  961.     TeX as well, through an interface written by Wayne Sullivan.
  962.  
  963.     There is one caveat that applies to LaTeX documents written for
  964.     the OLD scheme: some of them use special styles for special fonts
  965.     which will not work under the NFSS.
  966.  
  967. 36) In LaTeX, my cross-references for floats (figures and tables) are
  968.     incorrect. What's wrong?
  969.  
  970.     The \label command must come after the \caption command, or
  971.     be part of it. For example,
  972.        \begin{figure}               \begin{figure}
  973.        \caption{A Figure}    or     \caption{A Figure\label{fig}}
  974.        \label{fig}                  \end{figure}
  975.        \end{figure}
  976.  
  977. 37) I want to change the margins in LaTeX. What can I do?
  978.  
  979.     This answer first helps you change the margins throughout a
  980.     document, then tells you how to change the margins in a portion
  981.     of the document.
  982.  
  983.     Perhaps the easiest way to get more out of a page in LaTeX is to
  984.     get fullpage.sty, available from all the major archive servers
  985.     mentioned in question 22. This sets the margins of the page identical
  986.     to those of Plain TeX, i.e., 1-inch margins at all four sides of the
  987.     paper. It also contains an adjustment for A4 paper.
  988.  
  989.     Here is a brief explanation of what's going on with the page
  990.     parameters in LaTeX. They are explained in section C.4.2 of the
  991.     LaTeX manual (p. 163). The margin parameters represent measurements
  992.     made to the DVI file. The origin in DVI coordinates is one inch
  993.     from the top of the paper and one inch from the left side. This
  994.     explains the ``one inch less than'' terminology used in the LaTeX
  995.     manual. In DVI coordinates, positive horizontal measurements extend
  996.     right across the page, and positive vertical measurements extend down
  997.     the page. Thus, for margins closer to the left and top edges of the
  998.     page than 1 inch, the corresponding parameters, e.g.,
  999.     \evensidemargin, \oddsidemargin, \topmargin, can be set to negative
  1000.     values.
  1001.  
  1002.     Finally, to change the margins of a document within the document,
  1003.     modifying the parameters listed on page 163 will not work. They
  1004.     can only be changed in the preamble of the document, i.e, before
  1005.     the \begin{document} statement. To adjust the margins within a
  1006.     document we define an environment which does it:
  1007.       \newenvironment{changemargin}[2]{\begin{list}{}{
  1008.          \setlength{\topsep}{0pt}\setlength{\leftmargin}{0pt}
  1009.          \setlength{\rightmargin}{0pt}
  1010.          \setlength{\listparindent}{\parindent}
  1011.          \setlength{\itemindent}{\parindent}
  1012.          \setlength{\parsep}{0pt plus 1pt}
  1013.          \addtolength{\leftmargin}{#1}\addtolength{\rightmargin}{#2}
  1014.          }\item }{\end{list}}
  1015.     This environment takes two arguments, and will indent the left
  1016.     and right margins by their values, respectively. Negative values
  1017.     will cause the margins to be widened, so
  1018.     \begin{changemargin}{-1cm}{-1cm} widens the left and right margins
  1019.     by 1cm.
  1020.  
  1021. 38) How do I find the width of a letter, word, or phrase in TeX?
  1022.  
  1023.     Put the word in a box, and measure the width of the box. For example,
  1024.         \setbox0=\hbox{hi}
  1025.         width=\wd0
  1026.     Note that if the quantity in the hbox is a phrase, the actual 
  1027.     measurement only approximates this width, since the interword glue
  1028.     can be adjusted in paragraph mode.
  1029.  
  1030.     In LaTeX, the following works (taken from the manual):
  1031.         \newlength{\gnat}
  1032.         \settowidth{\gnat}{\em small}
  1033.     This sets the value of the length command \gnat to the width of ``small''
  1034.     in emphasized text.
  1035.  
  1036. 39) In LaTeX, is there a comment or ``ignore'' environment with which
  1037.     I can exclude blocks of text from the .dvi file?
  1038.  
  1039.     Rainer Sch\"opf's verbatim.sty provides a comment environment which
  1040.     excludes everything between \begin{comment} and \end{comment}. It is
  1041.     available via anonymous ftp from any CTAN site (see question 22) in
  1042.     ./tex-archive/macros/latex/distribs. Several files are needed to
  1043.     install the package. A more general environment for doing this is
  1044.     comment.sty, also available from the CTAN sites in
  1045.     ./tex-archive/macros/latex/contrib/misc.
  1046.  
  1047. 40) Where can I find a spelling checker for my TeX file?
  1048.  
  1049.     For Unix, ispell is probably the program of choice. It is available
  1050.     from any CTAN site (see question 22) in ./tex-archive/support/ispell.
  1051.  
  1052.     For DOS, jspell is an extended version of ispell, and is available via
  1053.     anonymous ftp from oak.oakland.edu (141.210.10.117) in 
  1054.     ./pub/msdos/tex/jspell*.zip.
  1055. -- 
  1056. Bobby Bodenheimer                @hot.caltech.edu
  1057. // ARPA  : bobby@hot.caltech.edu                |
  1058. // BITNET: bobby@caltech.bitnet                 | Woof!
  1059. // UUCP  : {amdahl,ames!elroy}!cit-vax!bobby    | 
  1060.