[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#458269: texlive-latex-recommended: "caption" package gets margins wrong in list environment



Package: texlive-latex-recommended
Version: 2007-13
Severity: minor

The "caption" package produces captions where the right margin is too
large when used inside a list environment, as the file below shows.
This bug seems to not be present in the current version of the
environment, version 3.1f, released September 7, 2007.

-- Package-specific info:
##################################
minimal input file

\documentclass[12pt]{article}
\usepackage[margin=0.5in]{caption}

\begin{document}
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
\begin{figure}[ht]
  \centering
  This figure intentionally left blank.
  \caption{
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
  }
\end{figure}
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.
This is some sample text.

Now in a list environment.
\begin{enumerate}
\item[A] Item A.
\item[AA] Item AA.
\item[AAA] Item AAA.
\begin{figure}[ht]
  \centering
  Second figure, also blank.
  \caption{
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
    Sample caption text.
  }
\end{figure}
\item[AAAA] Item AAAA.
\end{enumerate}
\end{document}

######################################
 List of ls-R files

-rw-r--r-- 1 root root 1051 2007-12-26 07:38 /var/lib/texmf/ls-R
lrwxrwxrwx 1 root root 29 2007-11-25 16:37 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN
lrwxrwxrwx 1 root root 27 2007-11-04 16:19 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
lrwxrwxrwx 1 root root 27 2007-11-04 16:19 /usr/share/texmf-texlive/ls-R -> /var/lib/texmf/ls-R-TEXLIVE
######################################
 Config files
lrwxrwxrwx 1 root root 20 2007-11-25 16:37 /usr/share/texmf/web2c/texmf.cnf -> /etc/texmf/texmf.cnf
-rw-r--r-- 1 root root 7641 2007-12-25 19:22 /var/lib/texmf/web2c/fmtutil.cnf
-rw-r--r-- 1 root root 17890 2007-12-25 19:22 /var/lib/texmf/web2c/updmap.cfg
-rw-r--r-- 1 root root 10424 2007-12-25 19:22 /var/lib/texmf/tex/generic/config/language.dat
######################################
 Files in /etc/texmf/web2c/
total 1
-rw-r--r-- 1 root root 283 2006-08-16 11:02 mktex.cnf
######################################
 md5sums of texmf.d
42c20d7e8bd343542772b5a145bf8ad8  /etc/texmf/texmf.d/05TeXMF.cnf
5f7f6652cc8b8071c9e4ea6ba9e9f0a1  /etc/texmf/texmf.d/15Plain.cnf
8ed54ce13b2eed4871e03bdfdace9342  /etc/texmf/texmf.d/45TeXinputs.cnf
ea33127256c6a9f37145ae5b16fdb80c  /etc/texmf/texmf.d/55Fonts.cnf
afccf1d3f87057411166a77c58e00bd1  /etc/texmf/texmf.d/65BibTeX.cnf
9da7c1c7b1eaf06f941af91f48a23068  /etc/texmf/texmf.d/75DviPS.cnf
7ae52efac46feb97010986e57877d12e  /etc/texmf/texmf.d/80DVIPDFMx.cnf
92e13107fe95c3f681df94e0235d0e45  /etc/texmf/texmf.d/80tex4ht.cnf
8fee79ccdd5d1f56b1563dabfd53c717  /etc/texmf/texmf.d/85Misc.cnf
a8952d594677235951d447665ec46e9c  /etc/texmf/texmf.d/90TeXDoc.cnf
30f4f13357c2761ed01a6a15f28725a5  /etc/texmf/texmf.d/95NonPath.cnf

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (50, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.22
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages texlive-latex-recommended depends on:
ii  texlive-common                2007-13    TeX Live: Base component
ii  texlive-latex-base            2007-13    TeX Live: Basic LaTeX packages

Versions of packages texlive-latex-recommended recommends:
ii  latex-beamer     3.07-1                  LaTeX class to produce presentatio
ii  latex-xcolor     2.11-1                  Easy driver-independent TeX class 
ii  prosper          1.00.4+cvs.2007.05.01-3 LaTeX class for writing transparen
ii  texlive-latex-re 2007-13                 TeX Live: Documentation files for 

Versions of packages tex-common depends on:
ii  debconf                       1.5.17     Debian configuration management sy
ii  ucf                           3.004      Update Configuration File: preserv

Versions of packages texlive-latex-recommended is related to:
pn  tetex-base                    <none>     (no description available)
pn  tetex-bin                     <none>     (no description available)
pn  tetex-extra                   <none>     (no description available)
ii  tex-common                    1.10       common infrastructure for building

-- debconf information:
  tex-common/check_texmf_wrong:
  tex-common/check_texmf_missing:
  tex-common/singleuser: false



Reply to: