[XeTeX] Undefined control sequence

Dominik Wujastyk wujastyk at gmail.com
Mon Oct 4 10:37:29 CEST 2010


Dear Cesar,

Perhaps you've already seen

http://cikitsa.blogspot.com/2010/07/xelatex-for-sanskrit.html

that explores how to do this and similar tasks?

I tried your file, and it worked more or less out-of-the-box.  I don't have
XITS, so I replaced that with Charis SIL.  See the input and output in the
attached zip file.

I'm using TeXlive 2010, updated as of this morning.

Dominik

On 2 October 2010 16:38, Cesar Romani <cesar.romani at gmail.com> wrote:

> I'm using xelatex from TexLive 2008 on Win XP.
> I wanted to run the following text under xelatex:
>
> --------------------
> \documentclass{article}
>
> \usepackage{fontspec}
> \usepackage{xunicode}
> \usepackage{xltxtra}
> \usepackage{polyglossia}
>
> \newfontfamily\devanagarifont[Script=Devanagari]{Nakula}
> \newfontfamily\englishfont[Script=Latin]{XITS}
>
> \setmainlanguage{sanskrit}
> \setotherlanguages{english}
>
> \begin{document}
>
> \section{संस्कृतम्}
> जीवनस्य लक्ष्यमेव संस्कृतस्य वर्धनम्
> \subsection{कोऽम्}
> \textenglish{(Sanskrit)}
> \end{document}
> --------------------
>
>
> Bu I'm getting the following error:
>
> --------------------
> ! Undefined control sequence.
> \zf at check@ot at lang ...Tcountlanguages \zf at basefont
>                                                  \c at zf@script \c at zf@index
> \...
> l.14 \begin{document}
> --------------------
>
> Many thanks in advance,
>
> --
> Cesar
>
>
>
> --------------------------------------------------
> Subscriptions, Archive, and List information, etc.:
>  http://tug.org/mailman/listinfo/xetex
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20101004/a41df43f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: nakula.zip
Type: application/zip
Size: 23873 bytes
Desc: not available
URL: <http://tug.org/pipermail/xetex/attachments/20101004/a41df43f/attachment-0001.zip>


More information about the XeTeX mailing list