caption plugin for texlive needs to be updated

Bug #784366 reported by MichaelM
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
texlive-base (Ubuntu)
Confirmed
Undecided
Unassigned

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.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in texlive-base (Ubuntu):
status: New → Confirmed
Revision history for this message
Álvaro Morán (nirvana644) wrote :

Another example that only works with the latex version of the caption package: http://tex.stackexchange.com/questions/128103/hang-caption-in-lstlisting/128141#128141

The example was written by its maintainer

Revision history for this message
Álvaro Morán (nirvana644) wrote :

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.