[XeTeX] Polyglossia errors on Windows/MikTeX 2.8/TeXworks

Peter Davis pfdavis at vistaprint.com
Fri Apr 16 15:35:57 CEST 2010


Am 15.04.2010 22:34, schrieb Peter Davis:
I'm trying to compile the polyglossia sample file, test-polyglossia-setup.tex, but it's failing with errors like:

! Undefined control sequence.
l.82 \newXeTeXintercharclass
\xpg at normalclass %TODO

and


! LaTeX Error: File `loadingorder-bidi.def' not found.

Type X to quit or <RETURN> to proceed,

or enter new name. (Default extension: def)


My searches indicate that this was a known problem that was fixed sometime in December, but I've updated everything I can find to update, and I'm still seeing this.  I've tried updating using the Start->MikTeX 2.8->Maintenance (Admin)->Update (Admin) options, and supposedly everything's up to date, but I still get the errors.

Can anyone tell me what files I need to update, where to get them, where to put them, and what commands to use to regenerate formats, etc. after?


You can regenerate formats using the MikTeX Settings Manager (Admin). I needed several rounds of rebuilding the filename database (FNDB, to be done from the same spot) and rebuilding formats to fix this error.
You should enable the XeTeX and XeLaTeX formats in the last section first!

Thanks, Johannes.  I've tried this, but still no joy.  Here's the whole error output, in case that has any clues:

This is XeTeX, Version 3.1415926-2.2-0.9995.1 (MiKTeX 2.8)
entering extended mode
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\test-polyglossia-se
tup.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\article.cls"
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\size12.clo"))
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\fontspec\fontspec.sty"
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\ifxetex\ifxetex.sty")
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\tools\calc.sty")
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\xkeyval\xkeyval.sty"
("C:\Program Files (x86)\MiKTeX 2.8\tex\generic\xkeyval\xkeyval.tex"
("C:\Program Files (x86)\MiKTeX 2.8\tex\generic\xkeyval\keyval.tex")))
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\base\fontenc.sty"
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\euenc\eu1enc.def")
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\euenc\eu1lmr.fd"))
fontspec.cfg loaded.
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\fontspec\fontspec.cfg"))
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\polyglossia.sty"
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\etoolbox\etoolbox.sty"
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\misc\etex.sty"))
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\makecmds\makecmds.sty")
! Undefined control sequence.
l.82 \newXeTeXintercharclass
\xpg at normalclass %TODO
?
! Undefined control sequence.
l.82 \newXeTeXintercharclass\xpg at normalclass
%TODO
?
Package polyglossia Warning: Your xelatex format appears to be outdated!
Please update your system and recreate it with fmtutil. on input line 330.
) ("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\gloss-french.ldf"
) ("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\gloss-bahasai.ldf
" ("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\hijrical.sty"
======================================================================
starting package maintenance...
installation directory: "C:\Program Files (x86)\MiKTeX 2.8"
package repository: ftp://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/
lightweight database digest: 5fd716f641e5235bcac60e8d7e2e626a
going to download 1319400 bytes
going to install 115 file(s) (1 package(s))
downloading ftp://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/bidi.tar.lzma...
1319400 bytes, 69.02 KB/Sec
extracting files from bidi.tar.lzma...
======================================================================
======================================================================
starting package maintenance...
installation directory: "C:\Program Files (x86)\MiKTeX 2.8"
package repository: ftp://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/
lightweight database digest: 5fd716f641e5235bcac60e8d7e2e626a
going to download 1319400 bytes
going to install 115 file(s) (1 package(s))
downloading ftp://tug.ctan.org/tex-archive/systems/win32/miktex/tm/packages/bidi.tar.lzma...
1319400 bytes, 74.56 KB/Sec
extracting files from bidi.tar.lzma...
======================================================================
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\bidi\bidi.sty"
bidi package (Support for bidirectional typesetting with XeLaTeX and LuaLaTeX)
Description: A convenient interface for typesetting bidirectional
texts with XeLaTeX and LuaLaTeX. The package includes adaptations for use
with many other commonly-used packages.
Copyright (c) 2009-2010 Vafa Khalighi
v1.0.7, <commit 26>, 2010/07/25
License: LaTeX Project Public License, version 1.3c or higher (your choice)
Home: http://bitbucket.org/vafa/bidi
Location on CTAN: /macros/latex/contrib/bidi
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\iftex\iftex.sty")
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\loadingorder-bidi.def")
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\bidi\xetex-bidi.def"
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\bidi\footnote-xetex-bidi.def")
("C:\Program Files (x86)\MiKTeX 2.8\tex\latex\bidi\article-xetex-bidi.def")))
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\arabicnumbers.sty")
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\cal-util.def"))
Package polyglossia Warning: No hyphenation patterns were loaded for `Bahasa In
donesia'
(polyglossia) I will use the patterns for \language=\l at nohyphena
tion instead on input line 13.
Package polyglossia Warning: \setlocalhyphenminuseless for unhyphenated languag
e bahasai on input line 73.
) ("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\gloss-turkish.ldf
"
Package polyglossia Warning: No hyphenation patterns were loaded for `turkish'
(polyglossia) I will use the patterns for \language=\l at nohyphena
tion instead on input line 20.
Package polyglossia Warning: \setlocalhyphenminuseless for unhyphenated languag
e turkish on input line 84.
)
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\gloss-ukrainian.ldf
"
Package polyglossia Warning: No hyphenation patterns were loaded for `Ukrainian
'
(polyglossia) I will use the patterns for \language=\l at nohyphena
tion instead on input line 8.
Package polyglossia Warning: \setlocalhyphenminuseless for unhyphenated languag
e ukrainian on input line 101.
) ("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\gloss-arabic.ldf"
)
("C:\Program Files (x86)\MiKTeX 2.8\tex\xelatex\polyglossia\test-polyglossia-se
tup.aux")
! Undefined control sequence.
\today ->\ifx \ier \undefined \def \ier
{er}\fi \ifnum \day =1\relax 1\ier \...
l.27 \textbahasai{\today
}
?
! Undefined control sequence.
\today ->\ifx \ier \undefined \def \ier
{er}\fi \ifnum \day =1\relax 1\ier \...
l.29 \textturkish{\today
}
?
)
! Incomplete \iffalse; all text was ignored after line 45.
<inserted text>
\fi
<*> test-polyglossia-setup.tex
?
*\end
*
Process interrupted by user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/xetex/attachments/20100416/cf9c1cd2/attachment-0001.html>


More information about the XeTeX mailing list