Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the differences between XeLaTeX and pdfLaTeX? [closed]

Tags:

There are multiple TeX typesetting engines. Both commands (pdflatex and xelatex) generate a PDF. What is the technical/effective/historical/etc. difference between these two commands? I'm using TeX Live.

like image 232
George Hilliard Avatar asked Apr 03 '13 19:04

George Hilliard


People also ask

What is the difference between pdfTeX and PDFLaTeX?

Hence, pdflatex , for example, calls the pdfTeX program using the standard LaTeX macros to typeset LaTeX documents, whereas it is the default rendering engine for ConTeXt documents.

What is XeLaTeX and LuaLaTeX?

LuaTeX, like XeTeX, is a Unicode engine and is capable of loading system fonts. In contrast to XeTeX, the latter ability is not “built-in” to the engine itself, but is added using Lua code. This possibility to modify the behaviour of the engine at the “user” end makes it particularly powerful.

Is LuaLaTeX faster than PDFLaTeX?

microtype is indeed slower with luatex than with pdftex . This is mostly because of certain operations that have to be applied to all glyphs in the font (and Opentype fonts can be huge!), These loops are carried out in tex while it would be much faster using luatex techniques.

What is XeTeX LaTeX?

XeTeX is a typesetting engine derived from Donald Knuth's original TeX software.

What is the difference between pdfTeX and pdflatex?

First things first, the difference between pdfTeX and pdfLaTeX is the same as the difference between TeX and LaTeX described above, it is the same binary with a different format file. The difference between TeX, pdfTeX, XeTeX, luaTeX is that they are different versions of the fundamental TeX executable.

What is the difference between XeLaTeX and pdpdflatex?

PDFLaTeX is faster than XeLaTeX as you've noticed. It also currently has better support for certain advanced microtypographic features. (Margin kerning and the like.)

Should I switch from XeLaTeX to pdflatex?

If you have no need of those features, then I'd stick with PDFLaTeX. PDFLaTeX is faster than XeLaTeX as you've noticed. It also currently has better support for certain advanced microtypographic features. (Margin kerning and the like.) And if you really want to confuse yourself, you could also be considering LuaLaTeX at this point too.

What is the difference between latex and XeTeX?

What we refer to today as LaTeX or TeX is in fact pdfTeX running in DVI mode, in which case these DVI files must then be converted to PDF with an external tool. XeTeX: a separate development of e-TeX with support for modern (i.e. TTF) fonts and with native Unicode character set support.


1 Answers

PdfTeX and XeTeX and the equivalent commands for latex are two implementations for the same purpose, as you have pointed out already. The Wikipedia articles have more details on the history and development.

One of the main differences from an operational point of view is that XeTeX has better support for fonts -- in particular you can use system fonts instead of only TeX fonts. It also has better support for non-latin character encodings.

like image 128
Lars Kotthoff Avatar answered Oct 07 '22 21:10

Lars Kotthoff