Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

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.)

share|improve this question
4  
Update your TeX distribution –  smh Dec 25 '12 at 15:32
2  
You have to install expl3 package. To install a package see How do I update my TeX distribution? –  Harish Kumar Dec 25 '12 at 15:53
1  
The best way is to not rely on Fedora's packaging and install a regular TeXLive installation. See How to install "vanilla" TeXLive on Debian or Ubuntu. –  Alan Munn Dec 25 '12 at 16:53
1  
This seems old. There are two options: purge your installation and install TeX Live directly (as suggested), or (first!) remove respository-installed versions of the expl3 and fontspec 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 old expl3 stuff has changed location compared to the l3* stuff. (con't) –  jon Dec 26 '12 at 19:39
2  
... you must purge all expl3 files first because of the location and file re-naming changes from about 2 years ago: they cause endless conflicts. Then install: fontspec.tds.zip, l3kernel.tds.zip, l3packages.tds.zip, l3experimental.tds.zip. If you plan to use luatex, then also install: lualibs.tds.zip, luamplib.tds.zip, luaotfload.tds.zip, luatexbase.tds.zip, luatextra.tds.zip --- along with the current binaries for luatex. I'd also add the oberdiek.tds.zip bundle as it includes many useful facilities for the newer engines. –  jon Dec 26 '12 at 19:45
show 7 more comments

closed as too localized by cgnieder, Werner, Kurt, Stefan Kottwitz Jan 5 '13 at 22:59

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.