I am running a version of ubuntu that has TexLive 2009, which apparently does not come with tlmgr, so I have to install packages manually. I have done this before (extract to /usr/share/texmf/tex/latex and then run texhash /usr/share/texmf), but for this package,


I did that, but it still complains that it can't find mwe.sty. You can see in that list of files that mwe.sty is actually not there. I read that with this ins/dtx pair, I am supposed to run

latex mwe.ins

but I am getting this error:

doriad@david-lab:~/temp/mwe$ latex mwe.ins
This is pdfTeX, Version 3.1415926-1.40.10 (TeX Live 2009/Debian)
entering extended mode
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax, dumylang, noh
yphenation, loaded.
! I can't find file `ydocstrip'.
l.1 \input ydocstrip

(Press Enter to retry, or Control-D to exit)
Please type another input file name:

Any thoughts on how to install this package?

  • 3
    How about using either the TeX live 2012 backports or Vanilla TeX Live?
    – Silke
    Commented Oct 31, 2012 at 14:14
  • @Silex Ah, great. But I am still curious what I am doing wrong here (in case I ever come across another ins/dtx pair that I need to install. Commented Oct 31, 2012 at 14:17
  • 1
    Do you have the ydoc package?
    – Silke
    Commented Oct 31, 2012 at 14:21
  • @Silex Awesome, I installed ydoc (tex ydoc.dtx), and then the mwe install went as expected. Thanks! If you make "install ydoc" an answer, I can accept it. Commented Oct 31, 2012 at 14:39
  • 1
    Note - you have to have the files that 'tex ydoc.dtx' generates in the same folder as mwe.ins before running 'latex mwe.ins'. Commented Mar 13, 2014 at 12:55

1 Answer 1


It seems you're missing ydocstrip. It's included in the ydoc package.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .