[XeTeX] New user of XeTeX: book in Esperanto (UTF-8)

Dominik Wujastyk wujastyk at gmail.com
Thu Dec 20 15:38:52 CET 2012


Use xelatex to compile a file like this:

\documentclass{book}
\usepackage{polyglossia}  % loads fontspec and other good stuff.  Supports
esperanto explicitly.
\setdefaultlanguage{esperanto} % um, you can probably guess this.

\begin{document}

a b c ĉ d e f g ĝ h ĥ i j ĵ k l m n o p r s ŝ t u ŭ v z

En multaj lokoj de Ĉinio estis temploj de la drako-reĝo. Dum trosekeco oni
preĝis en la temploj, ke la drako-reĝo donu pluvon al la homa mondo. Tiam
drako estis simbolo de la supernatura estaĵo. Kaj pli poste, ĝi fariĝis
prapatro de la plej altaj regantoj kaj simbolis la absolutan aŭtoritaton de
feŭda imperiestro. La imperiestro pretendis, ke li estas filo de la drako.
Ĉiuj liaj vivbezonaĵoj portis la nomon drako kaj estis ornamitaj per
diversaj drakofiguroj. Nun ĉie en Ĉinio videblas drako-ornamentaĵoj, kaj
cirkulas legendoj pri drakoj.

\end{document}

and get this output:

[image: Inline images 2]


On 20 December 2012 14:46, Sian Mountbatten <poenikatu at fastmail.co.uk>wrote:

> Hello list.
>
> I am translating a book written in English into Esperanto. I am using
> UTF-8 for the book's content.
> Is it possible to use xetex to read UTF-8 text? Should I create a standard
> LaTeX document and use
> XeTeX as a LaTeX package, or can XeTeX be used on it's own? Some help to
> get me started would
> be very useful.
>
> Thanks in advance
>
> --
> Sian Mountbatten
> Specialisto pri Algol 68
>
>
>
> ------------------------------**--------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/**listinfo/xetex<http://tug.org/mailman/listinfo/xetex>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20121220/9c2946de/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screenshot from 2012-12-20 15:37:27.png
Type: image/png
Size: 131035 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20121220/9c2946de/attachment-0001.png>


More information about the XeTeX mailing list