Différences
Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente | ||
generalites:glossaire:xetex_et_luatex [2018/05/25 06:51] – créée joseph.wright | 1_generalites:glossaire:xetex_et_luatex [2021/03/20 13:05] (Version actuelle) – Suppression de la page désormais inutile. yannick.tanguy | ||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | --- | ||
- | section: The Background | ||
- | permalink: / | ||
- | date: 2018-05-25 | ||
- | redirect_From: | ||
- | redirect_From: | ||
- | --- | ||
- | # What are XeTeX and LuaTeX? | ||
- | |||
- | The standard [pdfTeX](FAQ-pdftex) engine is fully backward-compatible with | ||
- | Knuth' | ||
- | metrics](FAQ-tfm). In contrast, the engines XeTeX and LuaTeX are both | ||
- | Unicode-based and able to load standard system (OpenType) fonts. Internally, | ||
- | they differ in approach: the same outcomes are reached using very different | ||
- | philosophies. There are advantages to the user in each approach. | ||
- | |||
- | ## XeTeX | ||
- | |||
- | [XeTeX](http:// | ||
- | system fonts directly using the HarfBuzz library, which is built in. To do | ||
- | this, the `\font` primitive is extended. In order to support these major | ||
- | concepts, a range of TeX primitives are extended. For most LaTeX end users, | ||
- | these subtleties are transparent, | ||
- | [`fontspec`](https:// | ||
- | |||
- | Like Knuth' | ||
- | _via_ an intermediate format, XDV (eXtended DVI). Unlike the classical | ||
- | [DVI](FAQ-dvi) format produced by TeX, XDV files cannot be viewed directly, and | ||
- | are normally converted directly to PDF as part of the `xetex` run. (The | ||
- | conversion itself is carried out by `xdvpdfmx`.) | ||
- | |||
- | ## LuaTeX | ||
- | |||
- | LuaTeX consists of a TeX-like engine with a Lua interpreter '' | ||
- | the Lua interpreter has access to many of the data structures used for | ||
- | typesetting, | ||
- | into their (La)TeX macros, or as '' | ||
- | engine does certain operations. | ||
- | |||
- | LuaTeX, like [XeTeX](FAQ-xetex), | ||
- | system fonts. In contrast to XeTeX, the latter ability is not '' | ||
- | the engine itself, but is added using Lua code. This possibility to modify the | ||
- | behaviour of the engine at the '' | ||
- | |||
- | Whilst there are some (deliberate) differences between the behavior of LuaTeX | ||
- | and that of Knuth' | ||
- | be used as a drop-in replacement. For most LaTeX end users, the subtleties are | ||
- | transparent, | ||
- | [`fontspec`](https:// | ||
- | |||
- | [ConTeXt](FAQ-context) Mark& | ||
- | this is again transparent to users. |