<s>
or	O
;	O
see	O
also	O
Pronouncing	O
and	O
writing	O
"	O
TeX	B-Application
"	O
)	O
is	O
a	O
TeX	B-Application
typesetting	O
engine	O
using	O
Unicode	O
and	O
supporting	O
modern	O
font	O
technologies	O
such	O
as	O
OpenType	O
,	O
Graphite	B-Application
and	O
Apple	O
Advanced	O
Typography	O
(	O
AAT	O
)	O
.	O
</s>
<s>
It	O
was	O
originally	O
written	O
by	O
Jonathan	O
Kew	O
and	O
is	O
distributed	O
under	O
the	O
X11	B-License
free	I-License
software	I-License
license	I-License
.	O
</s>
<s>
Initially	O
developed	O
for	O
Mac	B-Operating_System
OS	I-Operating_System
X	I-Operating_System
only	O
,	O
it	O
is	O
now	O
available	O
for	O
all	O
major	O
platforms	O
.	O
</s>
<s>
XeTeX	B-Application
can	O
use	O
any	O
fonts	O
installed	O
in	O
the	O
operating	O
system	O
without	O
configuring	O
TeX	B-Application
font	O
metrics	O
,	O
and	O
can	O
make	O
direct	O
use	O
of	O
advanced	O
typographic	O
features	O
of	O
OpenType	O
,	O
AAT	O
and	O
Graphite	B-Application
technologies	O
such	O
as	O
alternative	O
glyphs	B-Application
and	O
swashes	O
,	O
optional	O
or	O
historic	O
ligatures	O
,	O
and	O
variable	O
font	O
weights	O
.	O
</s>
<s>
XeTeX	B-Application
even	O
allows	O
raw	O
OpenType	O
feature	O
tags	O
to	O
be	O
passed	O
to	O
the	O
font	O
.	O
</s>
<s>
XeTeX	B-Application
also	O
supports	O
typesetting	O
mathematics	O
using	O
Unicode	O
fonts	O
that	O
contain	O
special	O
mathematical	O
features	O
,	O
such	O
as	O
Cambria	O
Math	O
or	O
Asana	O
Math	O
as	O
an	O
alternative	O
to	O
the	O
traditional	O
mathematical	O
typesetting	O
based	O
on	O
TeX	B-Application
font	O
metrics	O
.	O
</s>
<s>
XeTeX	B-Application
processes	O
input	O
in	O
two	O
stages	O
.	O
</s>
<s>
In	O
the	O
first	O
stage	O
XeTeX	B-Application
outputs	O
an	O
extended	B-Application
DVI	I-Application
(	O
xdv	O
)	O
file	O
,	O
which	O
is	O
then	O
converted	O
to	O
PDF	B-Application
by	O
a	O
driver	O
.	O
</s>
<s>
It	O
is	O
possible	O
to	O
run	O
just	O
the	O
first	O
stage	O
of	O
XeTeX	B-Application
and	O
save	O
the	O
xdv	O
,	O
although	O
there	O
are	O
no	O
viewers	O
capable	O
of	O
displaying	O
the	O
intermediate	O
format	O
.	O
</s>
<s>
Two	O
backend	O
drivers	O
are	O
available	O
to	O
generate	O
PDF	B-Application
from	O
an	O
xdv	O
file	O
:	O
</s>
<s>
xdv2pdf	O
,	O
which	O
uses	O
ATSUI	B-Operating_System
and	O
QuickTime	O
frameworks	O
,	O
and	O
only	O
works	O
on	O
Mac	B-Operating_System
OS	I-Operating_System
X	I-Operating_System
.	O
</s>
<s>
xdvipdfmx	B-Application
,	O
a	O
modified	O
version	O
of	O
dvipdfmx	B-Application
,	O
which	O
uses	O
FreeType	B-Application
.	O
</s>
<s>
Starting	O
from	O
version	O
0.997	O
,	O
the	O
default	O
driver	O
is	O
xdvipdfmx	B-Application
on	O
all	O
platforms	O
.	O
</s>
<s>
XeTeX	B-Application
works	O
well	O
with	O
both	O
LaTeX	B-Application
and	O
ConTeXt	O
macro	O
packages	O
.	O
</s>
<s>
Its	O
LaTeX	B-Application
counterpart	O
is	O
invoked	O
as	O
xelatex	B-Application
.	O
</s>
<s>
XeTeX	B-Application
is	O
bundled	O
with	O
TeX	B-General_Concept
Live	I-General_Concept
,	O
MacTeX	B-General_Concept
,	O
MiKTeX	B-General_Concept
and	O
Lyx	B-Language
(	O
see	O
the	O
History	O
below	O
for	O
dates	O
and	O
versions	O
)	O
.	O
</s>
<s>
The	O
following	O
is	O
an	O
example	O
of	O
XeLaTeX	B-Application
source	O
and	O
rendered	O
output	O
.	O
</s>
<s>
The	O
typeface	O
used	O
is	O
OFL-licensed	O
font	O
Linux	B-Application
Libertine	O
.	O
</s>
<s>
The	O
text	O
is	O
to	O
be	O
processed	O
by	O
the	O
command	O
xelatex	B-Application
.	O
</s>
<s>
XeTeX	B-Application
also	O
supports	O
right-to-left	O
scripts	O
,	O
such	O
as	O
Arabic	O
.	O
</s>
<s>
One	O
way	O
of	O
rendering	O
Arabic	O
in	O
XeTeX	B-Application
is	O
to	O
use	O
the	O
package	O
arabxetex	O
.	O
</s>
<s>
In	O
bibliographic	O
files	O
(	O
see	O
below	O
the	O
BibTeX	O
example	O
)	O
you	O
can	O
use	O
Unicode	O
entities	O
and	O
call	O
them	O
with	O
their	O
native	O
scripting	O
,	O
for	O
example	O
\cite{Ekstrøm},	O
instead	O
of	O
a	O
transliterated	O
ASCII	O
form	O
like	O
\cite{Ekstrom}	O
which	O
is	O
mandatory	O
using	O
the	O
pdfTeX	B-Language
engine	O
.	O
</s>
<s>
XeTeX	B-Application
was	O
initially	O
released	O
for	O
Mac	B-Operating_System
OS	I-Operating_System
X	I-Operating_System
only	O
in	O
April	O
2004	O
with	O
built-in	O
AAT	O
and	O
Unicode	O
support	O
.	O
</s>
<s>
During	O
BachoTeX	O
2006	O
a	O
version	O
for	O
Linux	B-Application
was	O
announced	O
,	O
which	O
was	O
ported	O
to	O
Microsoft	B-Application
Windows	I-Application
by	O
Akira	O
Kakuto	O
a	O
few	O
months	O
later	O
,	O
and	O
finally	O
included	O
into	O
TeX	B-General_Concept
Live	I-General_Concept
2007	O
for	O
all	O
major	O
platforms	O
.	O
</s>
<s>
XeTeX	B-Application
is	O
also	O
supported	O
by	O
LyX	B-Language
since	O
version	O
2.0	O
and	O
shipped	O
with	O
MiKTeX	B-General_Concept
since	O
version	O
2.7	O
.	O
</s>
<s>
As	O
of	O
the	O
inclusion	O
in	O
TeX	B-General_Concept
Live	I-General_Concept
,	O
XeTeX	B-Application
supports	O
most	O
macro	O
packages	O
written	O
for	O
LaTeX	B-Application
,	O
OpenType	O
,	O
TrueType	O
and	O
PostScript	B-Language
fonts	O
without	O
any	O
specific	O
setup	O
procedure	O
.	O
</s>
<s>
Version	O
0.9999	O
,	O
released	O
in	O
May	O
2013	O
,	O
switched	O
from	O
ICU	B-Application
LayoutEngine	O
to	O
HarfBuzz	B-Language
for	O
OpenType	O
layout	O
,	O
and	O
Graphite2	B-Application
engine	O
for	O
Graphite	B-Application
layout	O
,	O
as	O
well	O
Core	B-Operating_System
Text	I-Operating_System
framework	O
instead	O
of	O
ATSUI	B-Operating_System
on	O
Mac	B-Operating_System
OS	I-Operating_System
X	I-Operating_System
.	O
</s>
