0

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.

M. Toya
  • 3,227
  • 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.

    – M. Toya 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 01 '13 at 10:17

1 Answers1

3

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.

packagename.tds.zip
    |
    |-doc
    |   |-latex
    |       |-packagename
    |
    |-source
    |   |-latex
    |       |-packagename
    |
    |-tex
        |-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:

Marco Daniel
  • 95,681