Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
generalites:glossaire:les_differents_trucs_tex [2018/06/03 10:03] – d.p.carlisle | 1_generalites:glossaire:les_differents_trucs_tex [2021/04/02 06:53] (Version actuelle) – Suppression de la page désormais inutile. yannick.tanguy | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | ||
- | title: Things with " | ||
- | category: background | ||
- | permalink: / | ||
- | date: 2018-05-26 | ||
- | --- | ||
- | |||
- | New TeX users are often baffled by the myriad terms with " | ||
- | in the name. The goal of this answer is to clarify some of the more | ||
- | common such terms. | ||
- | |||
- | TeX proper is a typesetting system based on a set of low-level | ||
- | control sequences that instruct TeX how to lay out text on the | ||
- | page. For example, `\hskip` inserts a given amount of horizontal | ||
- | space into the document, and `\font` makes a given font available | ||
- | in a document. | ||
- | scripting language that supports variables, scoping, conditional | ||
- | execution, control flow, and function (really, macro) definitions. | ||
- | See | ||
- | [what is TeX? | ||
- | information on TeX and | ||
- | [some reference documents](FAQ-ref-doc) for pointers to | ||
- | descriptions of TeX control sequences, data types, and other key | ||
- | parts of TeX. | ||
- | |||
- | Some of TeX's control sequences are tedious to use directly; they are | ||
- | intended primarily as building blocks for higher-level& | ||
- | more user-friendly& | ||
- | base TeX to specify that a piece of text should be typeset in a | ||
- | larger font. Instead, one must keep track of the current size and | ||
- | typeface, load a new font with the same typeface but a (specified) | ||
- | larger size, and tell TeX to use that new font until instructed | ||
- | otherwise. | ||
- | possible to write a macro that hides this complexity behind a simple, | ||
- | new control sequence. | ||
- | `\larger{my text}` to typeset "my text" in | ||
- | at a font size next larger than the current one.) | ||
- | |||
- | While some users write their own, perfectly customized set of | ||
- | macros& | ||
- | far more common to rely upon a _macro package_, a collection of | ||
- | TeX macros written by experts. | ||
- | macro packages are often combined with the base TeX engine into a | ||
- | standalone executable. | ||
- | that you are likely to encounter: | ||
- | |||
- | - Plain TeX (executable: | ||
- | See | ||
- | [Books on TeX and Plain TeX](FAQ-tex-books), | ||
- | [Online introductions: | ||
- | [Should I use Plain TeX or LaTeX? | ||
- | [Freely available (La)TeX books](FAQ-ol-books). | ||
- | Note that the Plain TeX executable is called `tex`; the | ||
- | base TeX engine is generally provided by a separate executable | ||
- | such as `initex` or as a `-ini` flag to | ||
- | `tex`. | ||
- | |||
- | - LaTeX (executable: | ||
- | See | ||
- | [Books on TeX and its relations](FAQ-latex-books), | ||
- | [(La)TeX Tutorials, etc.](FAQ-tutorialsstar), | ||
- | [Online introductions: | ||
- | [Specialized (La)TeX tutorials](FAQ-tutbitslatex). | ||
- | Note that there have been two major versions of LaTeX: LaTeX2e | ||
- | refers to the current version of LaTeX while LaTeX 2.09 is the | ||
- | long-since-obsolete (since 1994) version (cf.& | ||
- | [What is LaTeX2e? | ||
- | |||
- | - ConTeXt (executable: | ||
- | See | ||
- | [What is ConTeXt? | ||
- | |||
- | - Texinfo (executables: | ||
- | See | ||
- | [What is Texinfo? | ||
- | converts Texinfo documents to HTML, DocBook, Emacs info, | ||
- | XML, and plain text. `Tex` (or wrappers such as | ||
- | `texi2dvi` and `texi2pdf`) produce one of TeX's | ||
- | usual output formats such as DVI or PDF. Because | ||
- | `tex` loads the Plain TeX macros, not the Texinfo ones, | ||
- | a Texinfo document must begin with | ||
- | `\input texinfo` | ||
- | explicitly load the Texinfo macro package. | ||
- | |||
- | - Eplain& | ||
- | See | ||
- | [What is Eplain? | ||
- | |||
- | The original `tex` executable was produced in the late 1970s | ||
- | (cf.& | ||
- | lacked some features that users have come to expect from today' | ||
- | software. | ||
- | the TeX engine with some additional useful features: | ||
- | |||
- | - pdfTeX (executable: | ||
- | TeX, which pre-dates the PDF file format by a decade, | ||
- | outputs files in a TeX-specific format called DVI | ||
- | (cf.& | ||
- | contrast, pdfTeX can output both DVI _and_ PDF | ||
- | files. | ||
- | PDF features such as hyperlinks, bookmarks, and annotations, | ||
- | pdfTeX additionally supports two sophisticated micro-typographic | ||
- | features: character protrusion and font expansion. | ||
- | [What is pdfTeX? | ||
- | |||
- | - XeTeX (executable: | ||
- | XeTeX reads UTF-8 encoded Unicode input, and extends | ||
- | TeX's font support to include " | ||
- | OpenType; these extensions to its capabilities make it | ||
- | well-suited to multi-lingual texts covering different writing | ||
- | systems. | ||
- | |||
- | - LuaTeX (executable: | ||
- | TeX is programmed in its own arcane, integrated, macro-based | ||
- | programming language. | ||
- | using a modern scripting language, Lua, which is " | ||
- | TeX-alike engine; it too reads UTF-8 and uses | ||
- | OpenType fonts. | ||
- | [What are XeTeX and LuaTeX? | ||
- | |||
- | - & | ||
- | & | ||
- | it's only indirectly useful to end users, but it can be valuable to | ||
- | package developers; there is an increasing number of macro packages | ||
- | that require the use of & | ||
- | `etex`, & | ||
- | `pdftex` executables provided in the standard | ||
- | distributions; | ||
- | programming facilities. | ||
- | [What is & | ||
- | |||
- | (Note: & | ||
- | confused with Eplain, which enhances the Plain TeX macro | ||
- | package.) | ||
- | |||
- | Because each of the above derive from a base TeX engine, it is in | ||
- | principle possible to combine any of them with one of the TeX macro | ||
- | packages listed earlier to produce " | ||
- | example, the `pdflatex`, `xelatex` and | ||
- | `lualatex` executables each combine LaTeX with an enhanced | ||
- | TeX engine. | ||
- | ConTeXt now uses LuaTeX. | ||
- | |||
- | Some executables combine the features of multiple enhanced TeX | ||
- | engines: for example, `pdftex` now (in current distributions) | ||
- | offers both pdfTeX and & | ||
- | This executable may be offered with a LaTeX format (as | ||
- | `latex` or `pdflatex`) or with a Plain TeX format | ||
- | (as `pdftex`). | ||
- | TeX executable using Plain TeX, for people such as Knuth himself, | ||
- | who want the certainty of the " | ||
- | |||
- | A _TeX distribution_ provides a structured collection of | ||
- | TeX-related software. | ||
- | set of " | ||
- | `latex`; various fonts optimized for use with TeX; helper | ||
- | programs such as the BibTeX bibliographic-database formatter, | ||
- | editors, integrated development environments, | ||
- | programs; numerous LaTeX packages; configuration tools; and any | ||
- | other goodies the distributor chooses to include. | ||
- | |||
- | Commonly encountered TeX distributions include TeX& | ||
- | MiKTeX and MacTeX; older ones include ozTeX, | ||
- | CMacTeX and teTeX. | ||
- | basis of the ProTeXt bundle, distributed on the TeX& | ||
- | DVD mailing, as well as being available online. | ||
- | |||
- | Some TeX distributions target a specific operating system and/or | ||
- | processor architecture; | ||
- | distributions are free; a few require payment. | ||
- | [(La)TeX for different machines](FAQ-TeXsystems) for a | ||
- | list of free and shareware TeX distributions and | ||
- | [Commercial TeX implementations](FAQ-commercial) for a | ||
- | list of commercial TeX distributions. | ||
- | |||
- | What does it all mean?& | ||
- | no help for the beginner. | ||
- | only to be of use for people who are seeking guidance elsewhere | ||
- | (possibly within these FAQs) and coming across an unexpected | ||
- | name like " | ||
- | |||
- | The subject matter covered by this answer is also addressed in a page | ||
- | on the TUG site, | ||
- | "[the Levels of TeX](https:// | ||
- | |||