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.)
expl3package. To install a package see How do I update my TeX distribution? – Dec 25 '12 at 15:53tex -vgivesTeX 3.141592 (Web2C 7.5.6),latex -vgivespdfTeX using libpoppler 3.141592-1.40.3-2.2 (Web2C 7.5.6). Is it what you're asking about? Not sure how to tell my distribution & version another way. – Martti Määriläinen Dec 25 '12 at 16:04expl.sty. When trying to compile the same code, I get: ! Package expl3 Error: Required primitives not found. – Martti Määriläinen Dec 25 '12 at 16:42tlmgris unrecognized. – Martti Määriläinen Dec 25 '12 at 16:45expl3andfontspecand then install the current versions, ideally using.tds.zipfiles. 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 oldexpl3stuff has changed location compared to thel3*stuff. (con't) – jon Dec 26 '12 at 19:39fontspec.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.zipbundle as it includes many useful facilities for the newer engines. – jon Dec 26 '12 at 19:45