I have developed a quick fix, just create this makefile and run it:

all: compile install

download:
        if [ ! -f ./caption/caption.ins ]; then \
                wget http://mirrors.ctan.org/macros/latex/contrib/caption.zip ;\
                unzip caption.zip ;\
        fi

compile: download
        cd caption;\
        latex caption.ins

documentation: compile
        cd caption;\
        latex caption-eng.tex;\
        #latex caption-deu.tex;\
        #latex caption-rus.tex;

install:
        if [ `whoami` != root ]; then \
                echo "This must be run as root" ;\
        else \
                RUTACAPTION=$$(kpsewhich caption.sty|xargs dirname) ;\
                echo "The files in $$RUTACAPTION will be backed up in a folder 
called caption.old" ;\
                cp -R $$RUTACAPTION caption.old ;\
                cp  ./caption/*.sty $$RUTACAPTION ;\
                sudo texhash ;\
        fi

clean:
        rm caption.zip
        rm -R caption

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to texlive-base in Ubuntu.
https://bugs.launchpad.net/bugs/784366

Title:
  caption plugin for texlive needs to be updated

Status in “texlive-base” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: texlive-base

  With some latex files, figure captions are not processed correctly.
  This is due to an outdated caption.sty shipping with texlive on
  Ubuntu.

  The problem has already been described in detail at
  tex.stackexchange.com:

  http://tex.stackexchange.com/questions/2462/enumerate-and-itemize-
  undefined-captions-not-working

  The solution is to ship the latest version of caption from CTAN:

  http://mirror.ctan.org/macros/latex/contrib/caption.zip

  as part of texlive in Ubuntu.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/texlive-base/+bug/784366/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to