XeTeX
XeTeX (/ˈziːtɛx/ ZEE-tekh[1] or /ˈziːtɛk/; see also Pronouncing and writing "TeX") is a TeX typesetting engine using Unicode and supporting modern font technologies such as OpenType, Graphite and Apple Advanced Typography (AAT). It was originally written by Jonathan Kew and is distributed under the X11 free software license.[2] The last change to the source code was made on January 20, 2020, and there has been no further development since then.[3] Initially developed for Mac OS X only, it is now available for all major platforms. It natively supports Unicode and the input file is assumed to be in UTF-8 encoding by default. XeTeX can use any fonts installed in the operating system without configuring TeX font metrics, and can make direct use of advanced typographic features of OpenType, AAT and Graphite technologies such as alternative glyphs and swashes, optional or historic ligatures, and variable font weights. Support for OpenType local typographic conventions ( Mode of operation![]() XeTeX processes input in two stages. In the first stage XeTeX outputs an extended DVI ( Two backend drivers are available to generate PDF from an
Starting from version 0.997, the default driver is xdvipdfmx on all platforms. As of version 0.9999, xdv2pdf is no longer supported and its development has been discontinued.[4] XeTeX works well with both LaTeX and ConTeXt macro packages. Its LaTeX counterpart is invoked as XeTeX is bundled with TeX Live, MacTeX, MiKTeX and Lyx (see the History below for dates and versions).[6] ExampleThe following is an example of XeLaTeX source and rendered output. The typeface used is OFL-licensed font Linux Libertine. The text is to be processed by the command Arabic supportXeTeX also supports right-to-left scripts, such as Arabic. One way of rendering Arabic in XeTeX is to use the package arabxetex. In order to do so, the Arabic is placed inside the following: \begin{arab}[utf]
.
.
.
\end{arab}
The following code illustrates this: FeaturesIn bibliographic files (see below the BibTeX example) you can use Unicode entities and call them with their native scripting, for example \cite{Ekstrøm}, instead of a transliterated ASCII form like \cite{Ekstrom} which is mandatory using the pdfTeX engine. % Encoding: UTF8
@ARTICLE(Ekstrom,
AUTHOR = "Author w",
TITLE = "{Ekstrøm title}",
JOURNAL = "Ekstr{\o}m Journal",
YEAR = 1965,
note = {Working with pdflatex}
)
@ARTICLE(Ekstrøm,
AUTHOR = "Author Ekstr{\o}m",
TITLE = "{Ekstrøm title}",
JOURNAL = "Ekstrøm Journal",
YEAR = "1965",
note = {Not working with pdflatex but with xelatex}
)
HistoryXeTeX was initially released for Mac OS X only in April 2004[citation needed] with built-in AAT and Unicode support. In 2005 support for OpenType layout features was first introduced. During BachoTeX 2006 a version for Linux was announced, which was ported to Microsoft Windows by Akira Kakuto a few months later, and finally included into TeX Live 2007 for all major platforms. XeTeX is also supported by LyX since version 2.0[7] and shipped with MiKTeX since version 2.7.
As of the inclusion in TeX Live, XeTeX supports most macro packages written for LaTeX, OpenType, TrueType and PostScript fonts without any specific setup procedure.
Version 0.998 announced at BachoTeX 2008 supports Unicode normalization via the See also
References
Further reading
External linksWikimedia Commons has media related to XeTeX.
|