- XeTeX
infobox software
name = XeTeX
developer = Jonathan Kew
latest_release_version = 0.996
latest_release_date =28 February 2007
operating_system =Cross-platform
genre =Typesetting
license =MIT License
website = http://scripts.sil.org/xetexXeTeX (pronEng|ˈziːtɛx or IPA|/ˈziːtɛχ/, though English lacks IPA|/x/ or IPA|/χ/) is a
TeX typesetting engine usingUnicode and supporting modern font technologies such asOpenType orApple Advanced Typography . It is written and maintained by Jonathan Kew and distributed under the X11 free software license. [cite web | url=http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=xetex_download | title=XeTeX downloads | accessdate=2007-04-02]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 inUTF-8 encoding by default. XeTeX can use any fonts installed in the operating system without configuringTeX font metric s, and can make direct use of advanced typographic features ofOpenType andAAT technologies such as alternativeglyph s and swashes, optional or historic ligatures , and variable font weights. Support for OpenType local typographic conventions (locl
tag) is also present. XeTeX even allows raw OpenType feature tags to be passed to the font. XeTeX also supports typesetting mathematics using Unicode fonts that contain special mathematical features, such as Cambria Math as an alternative to the traditional mathematical typesetting based on TeX font metrics.Mode of operation
XeTeX processes input in two stages. In the first stage XeTeX outputs an
extended DVI (xdv
) file, which is then converted toPDF by a driver. In the default operating mode thexdv
output is piped directly to the driver without producing any user-visible intermediate files. It is possible to run just the first stage of XeTeX and save thexdv
, although as of July 2008 there are no viewers capable of displaying the intermediate format.Two backend drivers are available to generate PDF from an
xdv
file:
* xdv2pdf, which uses AAT, and only works onMac OS X .
* xdvipdfmx, a modified version ofdvipdfmx , which in turn uses a modified version of ICU on top of standardFreeType andfontconfig . This driver works on all platforms.Starting from version 0.997, the default driver is
xdvipdfmx
on all platforms.XeTeX works well with both
LaTeX andConTeXt macro packages. Its LaTeX counterpart is invoked asxelatex
. It is usually used with thefontspec
package, which provides a configurable interface for font selection, and allows complex font choices to be named and later reused.XeTeX is bundled with the
TeX Live 2008,MacTeX 2008 andMiKTeX 2.7 distributions.Example
The following is an example of XeTeX source and rendered output. Fonts used are
Lucida Sans Unicode andHoefler Text .History
XeTeX was initially released for
Mac OS X only in April 2004 with built-in AAT andUnicode support. In 2005 support for OpenType layout features was first introduced. During BachoTeX 2006 a version forLinux was announced, which was ported toMicrosoft Windows by Akira Kakuto a few months later, and finally included intoTeX Live 2007 for all major platforms. XeTeX is also shipped withMiKTeX since version 2.7.As of the inclusion inTeX Live , XeTeX supports most macro packages written forLaTeX ,OpenType ,TrueType andPostScript fonts without any specific setup procedure.As of 2007, [cite conference
last = Kew
first = Jonathan
title = XeTeX Live
booktitle = TUG 2007: The 28th Annual Meeting of the TeX Users Group
place = San Diego, California
date =2007-07-20
url = http://www.river-valley.tv/conferences/tug2007/media/Jonathan_Kew_2/qt/
accessdate = 2008-07-25 ] future directions in XeTeX development include:
*microtypography support similar topdfTeX ;
* modular, Unicode-based Babel replacement for advancedhyphenation ;
* better integration with TeX editors such asTeXShop ;
*MathML support using Unicode math fonts.The upcoming 0.998 version announced atBachoTeX 2008 will supportUnicode normalization via theXeTeXinputnormalization
command.ee also
*
LuaTeX
* Omega: another Unicode-capable TeX extension.
*OpenType
*Apple Advanced Typography
*Expert font sReferences
External links
* [http://scripts.sil.org/xetex The XeTeX homepage] .
* [http://nitens.org/taraborelli/latex The Beauty of LaTeX] : illustrates XeTeX use with professional fonts.
* M. Goossens (Ed.) (2008) [http://xml.web.cern.ch/XML/lgc2/xetexmain.pdf The XeTeX Companion: TeX meets OpenType and Unicode] .
* [http://www.ctan.org/tex-archive/help/Catalogue/entries/fontspec.html TeX Catalogue Entry for fontspec] .
* [http://www.ctan.org/tex-archive/help/Catalogue/entries/xltxtra.html TeX Catalogue Entry for xltxtra] .
* [http://www.ctan.org/tex-archive/help/Catalogue/entries/xunicode.html TeX Catalogue Entry for xunicode] .
Wikimedia Foundation. 2010.