[XeTeX] difference between xetex and xelatex

Wolfgang Schuster schuster.wolfgang at googlemail.com
Wed Feb 11 13:30:21 CET 2009


وفا خلیقی schrieb:

> I am a Plain TeX user, so I use xetex.
> 
> You might be a LaTeX user so you use xelatex.
> 
> someone else is a ConTeXt user, so he uses XeConTeXt.

A few distributions provide a xecontext command but the official
way is "texexe --xtx filename".

> This is an example that I would have to produce my documents
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \magnification\magstep1
> \baselineskip 14pt
> \font\tenrm="Junicode:mapping=tex-text" at 10pt
> \font\tenbf="Junicode/B:mapping=tex-text" at 10pt
> \fon\tenit="Junicode/I:mapping=tex-text" at 10pt\tenrm
> 
> This is a {\bf line} that is written in {\it Junicode\/} font.
> 
> \end
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> 
> And you would use this in xelatex:
> 
> %%%%%%%%%%%%%%%%%%%%%%%%%%
> \documentclass{article}
> \usepackage{fontspec}
> \setmainfont[Mapping=tex-text]{Junicode}
> \begin{document}
> This is a \textbf{line} that is written in ......
> \end{document}
> %%%%%%%%%%%%%%%%%%%%%%%%%
> 
> I have no clue how ConTeXt is maybe something like
> 
> %%%%%%%%%%%%%%%%%%%%

\definetypeface[xetex][rm][Xserif][Junicode][default]
\setupbodyfont[xetex]

> \starttext
> text is here
> 
> \stoptext
> %%%%%%%%%%%%%%%%%%%%
> 
> I believe Plain TeX is so cool. but some people like to use LaTeX and a 
> few like to use ConTeXt.

Plain TeX is nice but sometimes to much work for a complex layout.

Wolfgang


More information about the XeTeX mailing list