I've installed XeTeX to my Fedora 17 recently (before that, I was using pdfLaTeX). The main reason for switching to XeTeX was the polyglossia package I'd like to make use of. Unfortunately, whenever trying to compile a *.tex
source file that includes polyglossia
with xelatex, e.g.
xelatex file.tex
the following error message turns up:
(/usr/share/texmf/tex/latex/fontspec/fontspec.sty
! LaTeX Error: File `expl3.sty' not found.
Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
Enter file name:
I therefore tried to install the expl3
library, which is included in the l3kernel package. Nonetheless, this didn't solve the problem since the package doesn't contain the file expl3.sty
itself, only expl3.dtx
(and expl3.pdf
). So far I haven't been able to build expl3.sty
from it (should be done using xelatex expl3.dtx
? Sadly, doesn't work.)
expl3
package. To install a package see How do I update my TeX distribution?expl3
andfontspec
and then install the current versions, ideally using.tds.zip
files. The first option is easiest, but may not be realistic (e.g., bandwidth limits). The second option is not particularly hard, but requires comfort with the command line and the willingness to track down all the offending files. The biggest problem is that oldexpl3
stuff has changed location compared to thel3*
stuff. (con't)fontspec.tds.zip
,l3kernel.tds.zip
,l3packages.tds.zip
,l3experimental.tds.zip
. If you plan to useluatex
, then also install:lualibs.tds.zip
,luamplib.tds.zip
,luaotfload.tds.zip
,luatexbase.tds.zip
,luatextra.tds.zip
--- along with the current binaries forluatex
. I'd also add theoberdiek.tds.zip
bundle as it includes many useful facilities for the newer engines.