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

Bug#227398: tetex-extra: Also destroys listoffigures and listoffigures



Package: tetex-extra
Version: 2.0.2b-6
Followup-For: Bug #227398

It doesn't seem that the following came up in the discussion of this bug,
but it is basically the same problem.

If you have a "long" caption (most captions are "long") then hyperref stops
line breaks from occuring. It is not a hyphenation problem but a line break
problem. No author would ever want the behaviour that is seen as far as I
can imagine. For example, your five line caption sails off to the right
side of the page for four extra page widths! Interestingly, if the document
is put in "draft" mode then the problem goes away.

The main point is that it is uncommon for sections or chapters to be really
long, but captions are routinely over a line long. The default behaviour of
hyperref should not provide a "broken" document in this case.

##################################
\documentclass{report}
\usepackage{hyperref}
\begin{document}
\listoffigures
\begin{figure}
\caption{This is a pretty normal length caption which describes the figure
or table in question. There are no long words. The presence of hyperref
in its default incarnation stops all line breaks, leading to a very silly
output in the list of figures. I can't imagine any author who would want
this behaviour!}
\end{figure}
\end{document}
######################################
 List of ls-R files

-rw-rwSr--  1 root staff 91 2004-09-27 10:30 /usr/local/lib/texmf/ls-R
-rw-rw-r--  1 root users 842 2004-10-15 08:11 /var/lib/texmf/ls-R
lrwxrwxrwx  1 root root 29 2004-09-27 10:16 /usr/share/texmf/ls-R -> /var/lib/texmf/ls-R-TEXMFMAIN

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.7-1-686
Locale: LANG=en_AU, LC_CTYPE=en_AU

Versions of packages tetex-extra depends on:
ii  dpkg                      1.10.23        Package maintenance system for Deb
ii  gsfonts                   8.14+v8.11-0.1 Fonts for the Ghostscript interpre
ii  tetex-base                2.0.2b-6       Basic library files of teTeX
ii  tetex-bin                 2.0.2-22       The teTeX binary files
ii  ucf                       1.09           Update Configuration File: preserv

-- no debconf information



Reply to: