Now I need to update the caption package, since my document uses commands only available in the latest version of the caption package.
I googled a bit, found some topics on this forum and saw the following solutions:
1) install TeXLive 2008 manually, and use the package manager. But since I'm also using Kile which requires TexLive 2007 if you install it with the Ubuntu package manager, I'm not so happy with this solution
2) install the MikTeX package manager. Seems a bit overkill for just one package which needs to be updated
But I was wondering: is it possible to manually update a package.
I tried the following approach:
- Download the latest version of the caption package and run
which generates the files
Code: Select all
latex caption.ins
Code: Select all
caption.sty, caption2.sty, caption3.sty, ltcaption.sty, subcaption.sty
- Replace the contents of the caption folder:
with the newly generated .sty files
Code: Select all
/usr/share/texmf-texlive/tex/latex/caption/caption.sty /usr/share/texmf-texlive/tex/latex/caption/caption2.sty /usr/share/texmf-texlive/tex/latex/caption/caption3.sty
Code: Select all
caption.sty, caption2.sty, caption3.sty
Code: Select all
ltcaption.sty, subcaption.sty
Another possible option I thought of was placing the caption folder in my local texmf directory:
Code: Select all
/usr/local/share/texmf/tex/latex/caption
I think this latest approach, if I could get it working, would be the best and easiest way.
Any suggestions/thoughts ?