[XeTeX] Undefined control sequence

Ross Moore ross.moore at mq.edu.au
Sun Oct 3 05:55:58 CEST 2010


Hello Cesar,

On 03/10/2010, at 12:38 AM, Cesar Romani 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 \...

This looks like a mismatch in package versions,

Please use  \listfiles  in the preamble,
which will result in version information being written
to the .log file (or Console/Log window) for each
package being loaded.

Then post that list so we can try to spot the mismatch.


> l.14 \begin{document}
> --------------------
> 
> Many thanks in advance,
> 
> -- 
> Cesar


Hope this helps,

	Ross

------------------------------------------------------------------------
Ross Moore                                       ross.moore at mq.edu.au 
Mathematics Department                           office: E7A-419      
Macquarie University                             tel: +61 (0)2 9850 8955
Sydney, Australia  2109                          fax: +61 (0)2 9850 8114
------------------------------------------------------------------------






More information about the XeTeX mailing list