TeX.FAQ

Autor: lbs_at_phys.ufl.edu
Data: Sat 22 Oct 1994 - 04:23:18 MET


Pare osob pytalo, co i jak z tym TeX-em.
Po pierwsze, trzeba podac namiary na FAQ
do TeX-a.

FAQ do TeX-a jest regularnie puszczany
w comp.text.tex. Najnowsza wersja jest
z 10 pazdziernika '94. Pozwole sobie pare
fragmentow tegoz FAQ zacytowac.

Lech Borkowski

====================================================================
Comp.text.tex is a forum for the discussion of TeX, LaTeX and other
related things. TeX is a software system written by Donald Knuth to
typeset text, especially text containing mathematics. LaTeX is a set
of macros written in TeX, designed to simplify the the typesetting of
a document by allowing the user to concentrate on the content and
structure of the document rather than the exact appearance of the
finished product. METAFONT, also discussed here, is a program which
allows the user to design their own fonts. The definitive reference
for TeX is _The TeXbook_, by Donald Knuth (Addison Wesley, 1984, ISBN
0-201-13447-0, paperback 0-201-13448-9). For LaTeX, see _LaTeX, a
Document Preparation System_ by Leslie Lamport (Addison Wesley, 1986,
ISBN 0-201-15790-X); the second edition of this book covers LaTeX2e.
Full documentation for LaTeX2e can be found in _The LaTeX Companion_
by Michael Goossens, Frank Mittelbach, and Alexander Samarin (Addison
Wesley, 1993, ISBN 0-201-54199-8). For METAFONT, see _The
METAFONTbook_ by Donald Knuth (Addison Wesley, 1984, ISBN
0-201-13445-4). The American Mathematical Society has two macro
packages which are also popular, called AMS-TeX and AMS-LaTeX.

This article contains answers to some frequently asked questions on
comp.text.tex. Please don't ask these questions again, as they've been
answered many times before.

This is version 1.46 for October, last changed 10/10/94.

This article includes answers to:

  1) How can I get a copy of this article?
  2) Where can I get a DVI to PostScript conversion program?
  3) How can I include a PostScript figure in LaTeX?
  4) Where can I find a DVI previewer for machine Y running Q?
  5) Where can I get the manual for PiCTeX?
  6) In LaTeX, I put some definitions in my document, but I get the error
     ``Use of \@ doesn't match its definition.'' What's wrong?
  7) What is OzTeX and where can I get it (TeX for the Mac)?
  8) What is Fig and where can I get it?
  9) How do I get WEB for C, FORTRAN, or some other language?
  10) How can I typeset music in TeX?
  11) What is TUG and TUGboat?
  12) How do I convert Adobe's afm files to tfm format?
  13) In LaTeX, how do I get a double-spaced document?
  14) In LaTeX, how do I include a file in the verbatim environment?
  15) In LaTeX, how do I do Y?
  16) Where can I find a TeX macro or LaTeX style file for doing Y?
  17) How do I generate an index in TeX/LaTeX?
  18) How do I get METAFONT to do what I want it to do?
  19) Where do I get TeX/LaTeX for machine Y running Q?
  20) Where can I get a thesis style for LaTeX?
  21) How do I get symbols for ``the real numbers'', ``the complex numbers'',
      and so on?
  22) What repositories of TeX material are available, and how can I
      access them?
  23) How do I use PostScript fonts with LaTeX?
  24) How can I convert from format Y to TeX or LaTeX, and vice-versa?
  25) How do I get a file into the major style repositories?
  26) Where can I get font Y?
  27) Where can I get a dvi driver for the HP LaserJet?
  28) TeX and LaTeX are hyphenating words weirdly. What can I do?
  29) How can I convert a TeX or LaTeX file into a plain ASCII file,
      with all the formatting intact, a la nroff?
  30) How do I enlarge TeX? I keep getting ``memory capacity exceeded''
      errors.
  31) In LaTeX, I used \pagestyle{empty}, but the first page is still
      numbered. What do I do?
  32) Where do I find documentation about BibTeX?
  33) How do I use BibTeX with plain TeX?
  34) How do I draw Feynman diagrams in LaTeX?
  35) What is the New Font Selection Scheme (NFSS)?
  36) In LaTeX, my cross-references for floats (figures and tables) are
      incorrect. What's wrong?
  37) I want to change the margins in LaTeX. What can I do?
  38) How do I find the width of a letter, word, or phrase in TeX?
  39) In LaTeX, is there a comment or ``ignore'' environment with which
      I can exclude blocks of text from the .dvi file?
  40) Where can I find a spelling checker for my TeX file?
  41) What is LaTeX2e?
  42) In LaTeX, how can I define a new log-like function?
  43) In LaTeX, how do I put a \sqrt in my \caption statement?
  44) In LaTeX, how do I get thin and thick \hlines in a table?
  45) In LaTeX, how do I number the bibliography using Arabic numbers without
      square brackets or using superscripts?
  46) In LaTeX, why are my cites all numbered zero?
  47) In LaTeX, my figures get put on a page by themselves with too much
      whitespace, but when I tried \begin{figure}[t] they get printed at
      the end. Why?
  48) In LaTeX, how do I make a line break in a section title?
  49) In LaTeX, how do I number equations by section?

[...]

1) How can I get a copy of this article?

   You're reading it aren't you? SAVE it :-). This article is posted
   monthly to comp.text.tex and cross-posted to news.answers. It is
   therefore archived at any site that archives news.answers.
   News.answers is archived on rtfm.mit.edu, and this article is
   available there via anonymous ftp in the directory
   ./pub/usenet/news.answers/tex-faq. If you do not have anonymous
   ftp, send an e-mail message containing the lines ``SENDME FAQ.'' to
   fileserv_at_shsu.edu (fileserv_at_shsu.bitnet). Another way to retrieve
   it via email is through the mailserver at rtfm: send a message
   containing the lines ``help'' and ``index'' to
   mail-server_at_rtfm.mit.edu for information on how to obtain it.

   Other news.answers/FAQ archives are: cnam.cnam.fr (163.173.128.6)
   in the anonymous ftp directory /pub/FAQ; ftp.uu.net (192.48.96.2)
   in the anonymous ftp directory /pub/usenet (also available via mail
   server requests to netlib_at_uunet.uu.net, or via uunet's 1-900
   anonymous UUCP phone number); and ftp.cs.ruu.nl (131.211.80.17) in
   the anonymous ftp directory NEWS.ANSWERS (also accessible via mail
   server requests to mail-server_at_cs.ruu.nl). Many of the archives
   mentioned in question 22 also maintain current versions of this
   document.

[...]

16) Where can I find a TeX macro or LaTeX style file for doing Y?

    Before you ask for a TeX macro or LaTeX style file to do something,
    please search the TeX macro index written by David M. Jones
    (dmjones_at_theory.lcs.mit.edu) and available via anonymous ftp
    from theory.lcs.mit.edu (18.52.0.92) in ./pub/tex/TeX-index. Those
    without access to anonymous ftp can send a message containing the
    line ``send tex TeX-index'' to archive-server_at_theory.lcs.mit.edu.
    The index is an excellent reference document with plenty of
    cross-references. Also, many of the archive sites mentioned in
    question 22 maintain extensive latex style collections, which you
    can look through if you need something not in the index.

    Another possibility is to use the searching features of the CTAN
    archives (see question 22). Once you have an anonymous ftp connection
    established to a CTAN site, you can type the command `quote site index
    <term>' and it will provide a list of files with the string <term> in
    their names.

[...]

19) Where do I get TeX/LaTeX for machine Y running Q?

    Unix - The Unix TeX distribution is available via anonymous ftp from any
       CTAN archive (see question 22). The Northwest Computing Support Center
       was ordered closed by the University of Washington, thus Unix TeX
       can no longer be ordered.

       Instructions for retrieving TeX via anonymous ftp are available
       in the document FTP.nwc, itself available via anonymous ftp from
       ftp.cs.umb.edu (158.21.104.33) in ./pub/tex.

       Note: The Unix version of TeX allows your ``macros'' or ``inputs''
       and ``fonts'' directories to be hierarchically organized with
       further subdirectories, rather than dumping everything into one
       directory. This can cause TeX to start very slowly. The cure
       for this problem is to insure each subdirectory contains either
       only directories or only files.

    AIX - TeX for the IBM RS6000 running AIX can be found on
       ftp.dante.de (129.206.100.192) in ./tex-archive/systems/unix/aix3.2.

    386/ix - Executables for the 386/ix are available via anonymous ftp
       from tik.vtt.fi (130.188.52.2) in ./pub/tex/bin-386ix and from
       math.berkeley.edu (128.32.183.94) in ./pub/tex386ix.tar.Z.

    PC - A TeX package for the PC, including LaTeX, BibTeX, previewers,
       and drivers is available via anonymous ftp from
       vax.eedsp.gatech.edu (130.207.226.24) in ./pub/TeX. The variety here
       is sbtex version 30 by Wayne Sullivan. EmTeX, another TeX package
       for the PC by Eberhard Mattes, is available via anonymous ftp from
       ftp.dante.de (129.206.100.192) in
       ./tex-archive/systems/msdos/emtex and also from niord.shsu.edu
       (192.92.115.8) in [.emtex]. This package includes LaTeX, METAFONT,
       BibTeX, etc., as well. Documentation is available in both German
       and English.

       All Public Domain TeX software for the PC is also available
       through TUG. A catalog is available free from them at the
       address given in question 11. This collection is maintained by
       Jon Radel, who will answer technical questions on the material
       (with no service guarantee). Send electronic mail to jon_at_radel.com.

    Mac - see question 7 for a public domain version (OzTeX). Another version
       is CMacTeX, which has TeX 3.14, METAFONT 2.7, a screen previewer,
       dvips, a PostScript printing utility for the LaserWriter, and some font
       managing utilities. It is available from the CTAN archives discussed
       in question 22.

    TOPS-20 - TeX was originally written on a DEC-10 under WAITS, and so
       was easily ported to TOPS-20. A Distribution that runs on TOPS-20
       is available via anonymous ftp from ftp.math.utah.edu
       (128.110.198.34) in ./pub/tex/pub/web.

    VAX/VMS - TeX for VMS is available from any CTAN site (see question 22)
       in the directory ./systems/vms. Standard tape distribution is
       through DECUS.

    Atari - TeX is available for the Atari ST from atari.archive.umich.edu
       (141.211.165.41) in ./atari/tex. If anonymous ftp is not available
       to you, send a message containing the line ``help'' to
       atari_at_atari.archive.umich.edu. The mail server can uuencode
       binary files. Another version can be obtained via anonymous
       ftp from ifi.informatik.uni-stuttgart.de (129.69.211.1) in
       ./pub/atari.st/tex. There is also lots of TeX stuff for the
       Atari on the CTAN and ftp.cs.ruu.nl archives mentioned in
       question 22.

    Amiga - A full implementation of TeX 3.1 call PasTeX and METAFONT 2.7
        are available via anonymous ftp from merlin.etsu.edu (192.43.199.20)
        in ./ab20/AMIGA. It is also available via anonymous ftp from
        forwiss.uni-passau.de (132.231.20.10) in ./pub/amiga/tex.
        You can also order a CDROM containing this and other amiga software
        from Walnut Creek CDROM, (510) 947-5997.

    Tandy 6000 - If you are interested in building TeX on this machine
        contact Ken Yap (ken_at_syd.dit.csiro.au), and he'll help you.

[...]

22) What repositories of TeX material are available, and how can I access
    them?

    To aid the archiving and retrieval of of TeX-related files, a TUG
    working group developed the Comprehensive TeX Archive Network
    (CTAN). Each CTAN site has identical material, and maintains
    authoritative versions of its material. These collections are
    extensive; in particular, almost everything mentioned in this
    document is archived at the CTAN sites, even if not explicitly
    stated.

    The CTAN sites are currently ftp.dante.de (129.206.100.192)
    ftp.tex.ac.uk (134.151.44.19), and pip.shsu.edu (192.92.115.10).
    The organization of TeX files on all these sites is identical and
    starts at ./tex-archive. To reduce network load, please use the
    CTAN site or mirror closest to you. A complete and current list
    of CTAN sites and mirrors can be obtained by using the finger
    utility to finger ctan_us_at_ftp.SHSU.edu.

    To find software at a CTAN site, use anonymous ftp to the host,
    and then execute the command `quote site index <search-term>'.

    The mail servers of the CTAN sites are not yet identical, but this is
    planned. Here are the current methods of access via electronic mail:
      - For the UK site, send a message to texserver_at_tex.ac.uk. The
        first non-blank line of the message must contain a valid
        TeXserver command (help, directory, files, whereis, search,
        or path). The program will then mail you a response notifying
        you that your request has been received. If you fail to get a
        response from the TeXserver, you may need to use the ``path''
        command to help the program out. For Internet users the
        return address is of the form name%site_at_nsfnet-relay, while
        for Bitnet and EARN it is name%site_at_earn-relay (i.e., include
        a line that says ``path name%site_at_nsfnet-relay'' along with a
        line containing ``help'').
      - For ftp.dante.de, send a message containing the line
        ``help'' to mail-server_at_ftp.dante.de.
      - For the SHSU site, send a message with the line "help" to
        ftpmail_at_ftp.shsu.edu. This provides an ftp-like interface
        through mail.

    There are several other repositories of TeX material available:
      - ftp.cs.ruu.nl (131.211.80.17) also contains a substantial TeX
        archive with ftp access. To use it via email, send a message
        containing the line ``help'' to mail-server_at_cs.ruu.nl. This mail
        server can send binary files in a variety of different formats.
      - There are LISTSERV facilities for TeX at LISTSERV_at_DHDURZ1.BITNET.
        Send a message containing the line ``help'' to this address.
      - For users on BITNET, access to anonymous ftp for some files can
        be obtained indirectly by sending mail to BITFTP_at_PUCC.BITNET.
        Send a message containing the line ``help'' to this address for
        more information.

    There is also the DECUS TeX collection, a collection of TeX material
    for VMS, Unix, MS-DOS, and the Macintosh. It is available via
    anonymous ftp from wuarchive.wustl.edu (128.252.135.4) in ./decus/tex.
    It can also be obtained from the DECUS Library (reference number
    VS0058) in the US, or through your DECUS office outside of the US. To
    contact the DECUS Library, send mail or call:
                 The DECUS Program Library
                 334 South Street SHR3-1/T25
                 Shrewsbury, MA 01545-4195
                 (800)332-3755
    The last update to this collection was in February 1991, so it is old.

    Another good source of information is NETWORK SOURCES OF TeX WARE by
    Peter Flynn which appeared in TeXhax, volume 90, issues 45-47 (in
    May 1990).

[...]

24) How can I convert from format Y to TeX or LaTeX, and vice-versa?

    troff - TROFF-TO-LATEX.TAR-Z is available via anonymous ftp from
      wsmr-simtel20.army.mil (192.88.110.20) in the directory
      pd2:<unix-c.textproc>. This program, written by Kamal Al-Yahya
      at Stanford, assists in the translation of a troff document into
      LaTeX format. It recognizes most -ms and -man macros, plus most
      eqn and some tbl preprocessor commands. Anything fancier needs
      to be done by hand. Two style files are provided. There
      is also a man page (which converts very well to LaTeX :-).
      The program is copyrighted but free. An enhanced version of this
      program, tr2latex, is available from
      ftp.informatik.rwth-aachen.de (137.226.112.172) in ./pub/TeX.
      The DECUS TeX distribution (see question 22) also contains a program
      which converts troff to TeX. If you are interested in obtaining a copy
      of this program without getting the entire DECUS TeX distribution,
      send the command: SENDME TROFFTOTEX in the body of a mail message to
      FILESERV_at_SHSU.BITNET (FILESERV_at_SHSU.edu), or use anonymous ftp to the
      directory [.TROFFTOTEX] on Niord.SHSU.edu (192.92.115.8).

    scribe - Mark James has a copy of scribe2latex he has been
      unable to test but which he will let anyone interested have.
      Send email to jamesm_at_procor.dialogic.com. The program was written
      by Van Jacobson of Lawrence Berkeley Laboratory.

    wordperfect - wp2latex.zip is available on wuarchive.wustl.edu
      (128.252.135.4) in the directory ./mirrors/msdos/tex and on
      wsmr-simtel20.army.mil (192.88.110.20) in the directory pd1:<msdos.tex>.
      This is a PC program written in Turbo Pascal by R. C. Houtepen at
      the Eindhoven University in the Netherlands. It converts
      WordPerfect 5.0 documents to LaTeX. Pascal source is included.
      Users find it ``helpful'' and ``decent'' in spite of some
      limitations. It gets high marks for handling font changes.
      Limitations include no indices, table of contents, margins or
      graphics. It also won't handle the new features of WordPerfect
      5.1, in particular the equation formatter. The program is
      copyrighted but free.

      Glenn Geers of the University of Sydney (glenn_at_qed.physics.su.oz.au)
      is translating wp2latex into C and adding some WordPerfect 5.1
      features, in particular its equation handling. This is an ongoing
      project; the most recent version can be retrieved via anonymous ftp
      from suphys.physics.su.oz.au (129.78.129.1) in ./wp2latex. It was
      posted to alt.sources on 8 August 1990.

      Commercial packages are available for DOS which convert from
      WordPerfect to LaTeX, and from TeX and LaTeX to WordPerfect, but
      I am unaware of any free products which do this.

    PC-Write - pcwritex.arc is available on wuarchive.wustl.edu
      (128.252.135.4) in directory mirrors/msdos/tex and on
      wsmr-simtel20.army.mil (192.88.110.20) in directory pd1:<msdos.tex>.
      This is a print driver for PC-Write that ``prints'' a PC-Write V2.71
      document to a TeX-compatible disk file. It was written by Peter
      Flynn at University College, Cork, Ireland. It is public domain.

    runoff - Peter Vanroose (vanroose_at_esat.kuleuven.ac.be) has
      written a RUNOFF-to-TeX conversion program in VMS Pascal. It is
      available from comp.text archives (they do exist, don't they? The
      program was submitted in December 1987) or from the author
      (peter_at_dit.lth.se) or from Mark James (jamesm_at_procor.dialogic.com).

    refer/Tib - There are a few programs for converting bibliographic data
      between BibTeX and refer/Tib formats. They are available via
      anonymous ftp from ftp.ai.mit.edu (128.52.32.11) in the
      directory ./pub/refer-to-bibtex. In spite of the directory name,
      it also contains a shell script to convert BibTeX to REFER as
      well. Unfortunately, this collection is not maintained.

    RTF - A program for converting Microsoft's Rich Text Format to TeX
      is available via anonymous ftp from astro.princeton.edu
      (128.112.128.131) in ./pub/rtf2TeX.tar.Z. It was written and is
      maintained by Robert Lupton (rhl_at_astro.princeton.edu). There is
      also an rtf2LateX written by Erwin Wechtl available from
      ftp.vmars.tuwien.ac.at (128.130.39.16) in ./pub/misc.

    Microsoft Word - A rudimentary program for converting MS-Word
      to LaTeX is wd2latex, for MS-DOS, available via anonymous ftp
      from any CTAN site (see question 22). A better idea, however,
      is to convert the document to RTF format and use the RTF
      converter mentioned above.

    In addition, a group at Ohio State University is working on a common
    document format based on SGML. In theory any format could be
    translated to or from this one. Also, Framemaker supposedly has
    ``import filters'' to aid in the translation from alien formats
    (presumably including TeX) to Framemaker; perhaps other desktop
    publishing programs have similar things.
     
[...]

40) Where can I find a spelling checker for my TeX file?

    For Unix, ispell is probably the program of choice. It is available
    from any CTAN site (see question 22) in ./tex-archive/support/ispell.

    For DOS, jspell is an extended version of ispell, and is available via
    anonymous ftp from oak.oakland.edu (141.210.10.117) in
    ./pub/msdos/tex/jspell*.zip.

    For VMS, a spell checker can be found via anonymous ftp from ftp.spc.edu
    in [.MACRO32.SAVESETS]. Retrieve SPELL.ZIP and SPELL_DICTIONARY.ZIP.

41) What is LaTeX2e?

    LaTeX2e is the new standard version of LaTeX, prepared and
    supported by the LaTeX3 project team. It is the current version of
    LaTeX and is available from any CTAN site (see question 22) in
    ./tex-archive/macros/latex. LaTeX 2.09 is no longer supported.

    LaTeX2e is upwardly compatible with LaTeX 2.09, but supports many new
    features, including:
     - NFSS (see question 35) is now standard.
     - SliTeX is consolidated into it, and there is no longer a need for
       a separate program.
     - The output routine gives better control of floating environments,
       such as figures.
     - There is a documented interface to style files.
     - Enhanced box commands, e.g., options to specify the height of a
       minipage.
     - \ref is now robust and can be used in \caption.
     - \newcommand can define commands with optional arguments.
     - A standard package for color and graphics inclusion.

    Since LaTeX2e is supported, you can report bugs or problems with it by
    typing `latex latexbug' and sending the report it generates to
    latex-bugs_at_rus.uni-stuttgart.de.

[...]

--
Bobby Bodenheimer                               @hot.caltech.edu
// ARPA  : bobby_at_hot.caltech.edu                |
// BITNET: bobby_at_caltech.bitnet                 | Woof!
// UUCP  : {amdahl,ames!elroy}!cit-vax!bobby    |


To archiwum zostało wygenerowane przez hypermail 2.1.7 : Wed 19 May 2004 - 15:46:36 MET DST