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.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have some problem trying to compile siunitx. When I do latex siunitx.dtx, I get the following message:

! I can't find file `l3docstrip.tex'.
l.77 \input l3docstrip.tex

Where am I supposed to find it? I have installed both l3kernel and l3packages as indicated in the README. By the way, I have a working older version of siunitx installed; I noticed this issue when I wanted to install siunitx from the latest sources on another computer.

share|improve this question
why not update the whole distribution using the relevant package manager? How do I update my TeX distribution? – cmhughes Feb 28 '13 at 19:17
Although it's possible, I strongly recommend people don't unpack code themselves but rather use their package manager or .tds.zip files for installation. Of course, I am willing to get you sorted: as I say it is quite possible to do this unpacking yourself, if a bit tedious. To give more help, I'll need to know the version of l3kernel you have. – Joseph Wright Feb 28 '13 at 19:25
I have not complete control on the said computer so the update is not really an option (though that would probably be the best). I use just downloaded l3kernel from ctan. If that's tedious then I could as well copy my old version from on computer to another or use a .tds.zip. I did not knew where to find the latter and thought it did not make a huge difference. I have found it now. – Alfred M. Feb 28 '13 at 19:36
I need to check if the latest .tds.zip has the file placed correctly: if not I'll adjust our build script for the next (imminent) CTAN snapshot. – Joseph Wright Mar 1 '13 at 10:17
up vote 3 down vote accepted

First of all I want to recommend an update of the whole distribution. Most packages have some decencies and so a single update of a sty file isn't sufficient. To update the whole distribution see How do I update my TeX distribution?

Instead of compiling the dtx file you can use the sty files directly. As mentioned by Joseph you can download every package as <packagename>.tds.zip. These archive has the default texmf tree structure.

    |   |-latex
    |       |-packagename
    |   |-latex
    |       |-packagename

In the path tex->latex->packagename you will find the relevant sty file(s).

The correct tds.zip archive can be found by using the following link:

share|improve this answer
please don't point direct at archive servers (they are there as the centre of a network of mirrors, not as mirrors themselves). the correct address for a tds file would be http://mirror.ctan.org/install/macros/latex/contrib/pkg.tds.zip – wasteofspace Mar 1 '13 at 11:17
@wasteofspace: Changed. Thanks. I didn't find the correct link ;-) – Marco Daniel Mar 1 '13 at 11:20

Your Answer


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.