# The Background

## What is TeX?

TeX is a typesetting system written by Donald E. Knuth, who says in the Preface to his book on TeX (see TeX-related books) that it is ``intended for the creation of beautiful books-and especially for books that contain a lot of mathematics''.

Knuth developed a system of `literate programming' to write TeX, and he provides the literate (WEB) source of TeX free of charge, together with tools for processing the `web` source into something that can be compiled and something that can be printed; there's never any mystery about what TeX does. Furthermore, the WEB system provides mechanisms to port TeX to new operating systems and computers; in order that one may have some confidence in the ports, Knuth supplied a test by means of which one may judge the fidelity of a TeX system. TeX and its documents are therefore highly portable.

TeX is a macro processor, and offers its users a powerful programming capability. For this reason, TeX on its own is a pretty difficult beast to deal with, so Knuth provided a package of macros for use with TeX called `plain` TeX; `plain` TeX is effectively the minimum set of macros one can usefully employ with TeX, together with some demonstration versions of higher-level commands (the latter are better regarded as models than used as-is). When people say they're ``programming in TeX'', they usually mean they're programming in `plain` TeX.

## How should I pronounce ``TeX''?

The `X' stands for the Greek letter Chi, and is pronounced by English-speakers either a bit like the `ch' in `loch' ([x] in the IPA) or like `k'. It definitely is not pronounced `ks'.

## What is METAFONT?

METAFONT was written by Knuth as a companion to TeX; whereas TeX defines the layout of glyphs on a page, METAFONT defines the shapes of the glyphs and the relations between them. METAFONT details the sizes of glyphs, for TeX's benefit, and details the rasters used to represent the glyphs, for the benefit of programs that will produce printed output as post processes after a run of TeX.

METAFONT's language for defining fonts permits the expression of several classes of things: first (of course), the simple geometry of the glyphs; second, the properties of the print engine for which the output is intended; and third, `meta'-information which can distinguish different design sizes of the same font, or the difference between two fonts that belong to the same (or related) families.

Knuth (and others) have designed a fair range of fonts using METAFONT, but font design using METAFONT is much more of a minority skill than is TeX macro-writing. The complete TeX-user nevertheless needs to be aware of METAFONT, and to be able to run METAFONT to generate personal copies of new fonts.

## What is MetaPost?

The MetaPost system implements a picture-drawing language very much like that of METAFONT except that it outputs PostScript commands instead of run-length-encoded bitmaps. MetaPost is a powerful language for producing figures for documents to be printed on PostScript printers. It provides access to all the features of PostScript and it includes facilities for integrating text and graphics. (Knuth tells us that he uses nothing else for diagrams in text that he is writing.)

Much of MetaPost's source code was copied from METAFONT's sources with Knuth's permission.

## What is LaTeX?

LaTeX is a TeX macro package, originally written by Leslie Lamport, that provides a document processing system. LaTeX allows markup to describe the structure of a document, so that the user need not think about presentation. By using document classes and add-on packages, the same document can be produced in a variety of different layouts.

Lamport says that LaTeX ``represents a balance between functionality and ease of use''. This shows itself as a continual conflict that leads to the need for such as the present article: LaTeX can meet most user requirements, but finding out how is often tricky.

## How should I pronounce ``LaTeX(2e)''?

Lamport never recommended how one should pronounce LaTeX, but a lot of people pronounce it `Lay TeX' or perhaps `Lah TeX' (with TeX pronounced as the program itself; see the rules for TeX).

The `epsilon' in `LaTeX2e' is supposed to be suggestive of a small improvement over the old LaTeX 2.09. Nevertheless, most people pronounce the name as `LaTeX-two-ee'.

## Should I use `plain` TeX or LaTeX?

There's no straightforward answer to this question. Many people swear by `plain` TeX, and produce highly respectable documents using it (Knuth is an example of this, of course). But equally, many people are happy to let someone else take the design decisions for them, accepting a small loss of flexibility in exchange for a saving of brain power.

The arguments around this topic can provoke huge amounts of noise and heat, without offering much by way of light; your best bet is to find out what those around you are using, and to go with the crowd. Later on, you can always switch your allegiance; don't bother about it.

If you are preparing a manuscript for a publisher or journal, ask them what markup they want before you develop your own; many big publishers have developed their own LaTeX styles for journals and books, and insist that authors stick closely to their markup.

## What are the AMS packages (AMS-TeX, etc.)?

AMS-TeX is a TeX macro package, originally written by Michael Spivak for the American Mathematical Society (AMS) during 1983-1985. It is described in ``The Joy of TeX'' by Michael D. Spivak (second edition, AMS, 1990, ISBN 0-821-82997-1). It is based on `plain` TeX, but provides many features for producing more professional-looking maths formulas with less burden on authors. It pays attention to the finer details of sizing and positioning that mathematical publishers care about. The aspects covered include multi-line displayed equations, equation numbering, ellipsis dots, matrices, double accents, multi-line subscripts, syntax checking (faster processing on initial error-checking TeX runs), and other things.

As LaTeX increased in popularity, authors asked to submit papers to the AMS in LaTeX, and so the AMS developed AMS-LaTeX, which is a collection of LaTeX packages and classes that offer authors most of the functionality of AMS-TeX.

## What is Eplain?

The Eplain macro package expands on and extends the definitions in `plain` TeX. Eplain is not intended to provide ``generic typesetting capabilities'', as do LaTeX or Texinfo. Instead, it provides definitions that are intended to be useful regardless of the high-level commands that you use when you actually prepare your manuscript.

For example, Eplain does not have a command `\section`, which would format section headings in an ``appropriate'' way, as LaTeX's `\section`. The philosophy of Eplain is that some people will always need or want to go beyond the macro designer's idea of ``appropriate''. Such canned macros are fine - as long as you are willing to accept the resulting output. If you don't like the results, or if you are trying to match a different format, you are out of luck.

On the other hand, almost everyone would like capabilities such as cross-referencing by labels, so that you don't have to put actual page numbers in the manuscript. Karl Berry, the author of Eplain, says he is not aware of any generally available macro packages that do not force their typographic style on an author, and yet provide such capabilities.

## What is Lollipop?

Lollipop is a macro package written by Victor Eijkhout; it was used in the production of his book ``TeX by Topic'' (see Tex-related books). The manual says of it:

Lollipop is `TeX made easy'. Lollipop is a macro package that functions as a toolbox for writing TeX macros. It was my intention to make macro writing so easy that implementing a fully new layout in TeX would become a matter of less than an hour for an average document, and that it would be a task that could be accomplished by someone with only a very basic training in TeX programming.

Lollipop is an attempt to make structured text formatting available for environments where previously only WYSIWYG packages could be used because adapting the layout is so much more easy with them than with traditional TeX macro packages.

The manual goes on to talk of ambitions to ``capture some of the LaTeX market share''; it's a very witty package, but little sign of it taking over from LaTeX is detectable... An article about Lollipop appeared in TUGboat 13(3).

## What is Texinfo?

Texinfo is a documentation system that uses one source file to produce both on-line information and printed output. So instead of writing two different documents, one for the on-line help and the other for a typeset manual, you need write only one document source file. When the work is revised, you need only revise one document. You can read the on-line information, known as an ``Info file'', with an Info documentation-reading program. By convention, Texinfo source file names end with a `.texi` or `.texinfo` extension. You can write and format Texinfo files into Info files within GNU emacs, and read them using the emacs Info reader. If you do not have emacs, you can format Texinfo files into Info files using makeinfo and read them using info.

A set of TeX macros for formatting Texinfo files are available as macros/texinfo/texinfo.tex

## If TeX is so good, how come it's free?

It's free because Knuth chose to make it so. He is nevertheless apparently happy that others should earn money by selling TeX-based services and products. While several valuable TeX-related tools and packages are offered subject to restrictions imposed by the GNU General Public Licence (`Copyleft'), TeX itself is not subject to Copyleft.

There are commercial versions of TeX available; for some users, it's reassuring to have paid support. What is more, some of the commercial implementations have features that are not available in free versions. (The reverse is also true: some free implementations have features not available commercially.)

Usually, this article does not describe commercial versions; see major vendors for some details.

## What is the future of TeX?

Knuth has declared that he will do no further development of TeX; he will continue to fix any bugs that are reported to him (though bugs are rare). This decision was made soon after TeX version 3.0 was released; at each bug-fix release the version number acquires one more digit, so that it tends to the limit pi (at the time of writing, Knuth's latest release is version 3.14159). Knuth wants TeX to be frozen at version pi when he dies; thereafter, no further changes may be made to Knuth's source. (A similar rule is applied to METAFONT; its version number tends to the limit e, and currently stands at 2.718.)

There are projects (some of them long-term projects: see, for example, the LaTeX3 project) to build substantial new macro packages based on TeX. For the even longer term, there are various projects to build a successor to TeX; see the Omega project and NTS.

## What are TUG and TUGboat?

TUG is the TeX Users Group. TUGboat is TUG's main journal, containing useful articles about TeX and METAFONT. TUG also produces a newsletter for members (TeX and TUG News), organises a yearly conference, runs training courses, sells almost all TeX-related books, and distributes TeX-related microcomputer software on disk. TUG has a Technical Council to coordinate TeX-related developments (TUG Technical Working Groups). Enquiries should be directed to:

TeX Users Group
1850 Union Street, #1637
San Francisco CA 94123
USA
Tel: (+1) 805-963-1338
Fax: (+1) 805-963-8358
Email: tug@tug.org
Web: http://www.tug.org/
CTAN details: usergrps/tug

## Are there nationally-based user groups, too?

The following groups publish their membership (etc.) information electronically on CTAN archives:

DANTE, Deutschsprachige Anwendervereinigung TeX e.V.
Postfach 101840
D-69008 Heidelberg
Germany
Tel: (+49) 06221 29766
Fax: (+49) 06221 167906
Email: dante@dante.de
Web: http://www.dante.de/
CTAN details: usergrps/dante
Association GUTenberg,
BP 10,
93220 Gagny principal,
France
Email: gut@irisa.fr
Web: http://www.ens.fr/gut/
CTAN details: usergrps/gut

NTG
Postbus 394, 1740AJ Schagen,
The Netherlands
Email: ntg@nic.surfnet.nl
Web: http://ei0.ei.ele.tue.nl/ntg/ntg.html
CTAN details: usergrps/ntg
UK TeX Users' Group,
c/o Peter Abbott,
1 Eymore Close,
Selly Oak,
Birmingham B29 4LB
UK
Tel: (+44) 0121 476 2159
Email: UKTuG-Enquiries@tex.ac.uk
Web: http://www.tex.ac.uk/UKTUG/home.html
CTAN details: usergrps/uktug

A listing of all known groups is available as usergrps/info/usergrps.tex

## TUG Technical Working Groups

TUG has an autonomous Technical Council which oversees a number of working groups on areas of common interest to the TeX community. The Council has three members (current chair is Michael Ferguson, assisted by Yannis Haralambous and Sebastian Rahtz), who liaise with chair people of each working group. Each group establishes its own working methods and membership, and anyone interested in taking part should contact the chair. Suggestions for new groups should be addressed to Michael Ferguson (mike@inrs-telecom.uquebec.ca).

A brief list of the active groups follows:

WG-92-00 (IRP-TWG)
Independent Research Project TWG.
To recognise and report to the TeX Board and the TeX Community on important projects which are independent of TUG but are of concern to the entire TeX Community.

Contact: Alan Hoenig (ajhjj@cunyvm.cuny.edu)

WG-92-01
TeX Extended Mathematics Font Encoding.
To create font encoding standards for Mathematical fonts used in TeX systems.

Contact: Barbara Beeton (bnb@math.ams.org)

WG-92-03
Multiple Language Coordination.
The primary purpose of this working group is to obtain, for TeX systems, a consistent means for implementing, accessing, and describing, the fonts, ligature rules, hyphenation patterns and other special requirements for a given linguistic group.

Contact: Yannis Haralambous (Yannis.Haralambous@univ-lille1.fr)

WG-92-04
TeX for the Disabled.
The primary purpose of this working group is as a forum for those people interested in using and/or enhancing TeX to serve the needs of those with visual and other disabilities.

WG-92-05
TeX Archive Guidelines.
The purpose of this Technical Working Group is to develop guidelines for the effective management and utilisation of major TeX archives, and to initiate communication among the maintainers of the existing archives for the purpose of coordination and synchronisation.

Contact: Sebastian Rahtz (s.rahtz@elsevier.co.uk)

WG-94-07
TeX Directory Structures.
The primary purpose of this TWG is to identify a universal directory structure for macros, fonts and other related TeX software so that recommendations can be made to all suppliers of TeX software.

The group's current set of proposals are to be found on CTAN at tds/draft-standard

Contact: Karl Berry (kb@cs.umb.edu)

WG-94-08
DVI Driver Implementation and Standardisation Issues.
The major objective shall be to study the issues in the requirements of DVI Drivers imposed by changing needs and technologies, and to make recommendations for implementation and standardisation of such drivers to enhance the uniformity of their use. Work will include, but not be limited to, the examination of the use, syntax, and semantics of `\special{..}` commands.

Contact: Michael Sofka (sofkam@rpi.edu)

WG-94-09
TeX and SGML.
The major objective is to investigate the requirements and difficulties in developing an interface technology for TeX and SGML.

Contact: Ken Dreyhaupt (kend@springer-ny.com)

WG-94-10
TeX and Linguistics.
The main goal is to study and discuss the requirements for typesetting linguistics in TeX and as a means of identifying, examining, testing, and comparing macros, fonts, style files and other aids for typesetting linguistics.

Contact: Christina Thiele (cthiele@ccs.carleton.ca)