Thursday, May 20, 2010

LaTex: Floatflt.sty missing on ubuntu lucid 10.04

The recent upgrade to the new ubuntu stable version missed installing all tex-live ressources, I thought at first.
However license of floatflt.sty has been changed, thus it is no longer in ubuntu or tex-live.

Here's a quick guide to reenable it.



Problem:



LaTeX Error: File `floatflt.sty' not found

Solution (to be run as root ):



sudo mkdir -p /usr/share/texmf-texlive/tex/latex/floatflt
cd /usr/share/texmf-texlive/tex/latex/floatflt
sudo rm -f floatflt.* float*.tex
sudo wget http://mirror.ctan.org/macros/latex/contrib/floatflt/floatflt.ins
sudo wget http://mirror.ctan.org/macros/latex/contrib/floatflt/floatflt.dtx
sudo latex floatflt.ins
sudo texhash /usr/share/texmf-texlive


Source of suggestion with discussion wether to use backport ........

I would appreciate any hint to any solution which does this more automatically please drop me a comment on your solution.

12 comments:

  1. It works perfect. You saved my life. Thank you!

    ReplyDelete
  2. Thanks for this! Great.

    ReplyDelete
  3. please do not mess with the system wide texmf. Either put the file in your ~/.texmf or in the folder next to the .tex document in which you want to use it.

    ReplyDelete
  4. Thanks for your comment.
    What would be your suggestion on a multi user machine?

    ReplyDelete
  5. Thanks! It works perfectly!
    Greetzz, Dan

    ReplyDelete
  6. Thanks! Easy and working.

    ReplyDelete
  7. Thanks! It works perfectly.

    ReplyDelete