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

Sian Mountbatten poenikatu at fastmail.co.uk
Thu Dec 20 16:33:42 CET 2012


On 2012-12-20 14:38, Dominik Wujastyk wrote:
> 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:
>
> Inline images 2
>
>
> On 20 December 2012 14:46, Sian Mountbatten <poenikatu at fastmail.co.uk 
> <mailto: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
>
>
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>    http://tug.org/mailman/listinfo/xetex
TVM for your reply. In fact, I have now discovered lualatex and, after 
succeeding in typesetting the
first chapter of my book, I shall use it. It would seem that lualatex 
does most of what xetex does, but
of course I may be wrong in that assertion.

Many thanks for your reply

-- 
Sian Mountbatten
Specialisto pri Algol 68

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20121220/5b531867/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 131035 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20121220/5b531867/attachment-0001.png>


More information about the XeTeX mailing list