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.

My real problem is that I am trying to use a package which depends on siunitx, and it complains on compiling with the following error:

(/usr/share/texmf/tex/latex/siunitx/siunitx.sty
! Package siunitx Error: Support package expl3 too old.. 
See the siunitx package documentation for explanation.
Type H <return> for immediate help. ... l.29 }
)

I would really rather install the package using a package manager. I'm on Gentoo, which has a nice little tool called g-ctan that creates distro packages from packages on CTAN.

expl3 isn't in the package database, even though it can be found on CTAN.

It says that it is a wrapper for experimental LaTeX 3... the package name is l3kernel. Eek! Experimental!

Is it safe for me to install l3kernel? Is it going to break my LaTeX installation?

share|improve this question
add comment

2 Answers

up vote 15 down vote accepted

In common with a number of other Linux distributions, Gentoo probably uses a rather old version of TeX Live (I would assume TL2009, but cannot be sure). You will therefore need to obtain the necessary support files from CTAN and install them locally.

The LaTeX3 support material is currently split into three parts

You will need l3kernel and l3packages to use siunitx. The links above are to the ready-to-install TDS-style .zip files. Download these, and unzip them inside your local TeX tree (usually ~/texmf), to create a structure. You should not need to run texhash for a local installation, unless Gentoo includes a really old TeX Live or if your ~ folder is not on the 'local' PC.

The 'experimental' nature of the code has been clarified a lot in the past couple of years. The l3kernel and l3packages code is stable for general use, while l3experimental may be more variable. However, none of them will have any impact on other LaTeX material (unless it uses LaTeX3).

share|improve this answer
1  
It might be worth mentioning that if (like me) you put these in the regular TeX tree, the renaming/reorganization of the l3* packages (in 2010 or 2011, I think) required purging the tree of the older files because it led to package clashes. –  jon Apr 25 '12 at 17:40
    
Yes, that's correct. Take a look at this question –  Brent.Longborough Apr 25 '12 at 19:13
add comment

I had the same problem. If you are using MiKTeX 2.9, try updating it. On Windows: Start > Miktex 2.9 > Maintenance (Admin ) > Update (Admin). That solved it for me. I found this suggestions after crawling the web for hours, So I hope it helps.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.