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

Bug#336743: marked as done (hyperref: needs better documentation about hyperlink wrapping)



Your message dated Mon, 6 Sep 2010 14:32:34 +0200
with message-id <20100906123234.GA3284@PC23>
and subject line Re: Bug#227398: hyperref destroys hyphenation of ToC
has caused the Debian Bug report #227398,
regarding hyperref: needs better documentation about hyperlink wrapping
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
227398: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=227398
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tetex-bin
Version: 3.0-10.1
Severity: normal

I just upgraded to 3.0 and noticed that DVI does not break long \hrefs
across a line - while PDF does.  A simple test case is attached.

BTW, this new xdvi is cool.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages tetex-bin depends on:
ii  debconf [debconf-2.0]    1.4.58          Debian configuration management sy
ii  debianutils              2.15            Miscellaneous utilities specific t
ii  dpkg                     1.13.11.0.1     package maintenance system for Deb
ii  ed                       0.2-20          The classic unix line editor
ii  libc6                    2.3.5-7         GNU C Library: Shared libraries an
ii  libgcc1                  1:4.0.2-3       GCC support library
ii  libice6                  6.8.2.dfsg.1-10 Inter-Client Exchange library
ii  libkpathsea4             3.0-10.1        path search library for teTeX (run
ii  libpaper1                1.1.14-3        Library for handling paper charact
ii  libpng12-0               1.2.8rel-5      PNG library - runtime
ii  libsm6                   6.8.2.dfsg.1-10 X Window System Session Management
ii  libstdc++6               4.0.2-3         The GNU Standard C++ Library v3
ii  libt1-5                  5.1.0-2         Type 1 font rasterizer library - r
ii  libx11-6                 6.8.2.dfsg.1-10 X Window System protocol client li
ii  libxaw8                  6.8.2.dfsg.1-10 X Athena widget set library
ii  libxext6                 6.8.2.dfsg.1-10 X Window System miscellaneous exte
ii  libxmu6                  6.8.2.dfsg.1-10 X Window System miscellaneous util
ii  libxp6                   6.8.2.dfsg.1-10 X Window System printing extension
ii  libxpm4                  6.8.2.dfsg.1-10 X pixmap library
ii  libxt6                   6.8.2.dfsg.1-10 X Toolkit Intrinsics
ii  mime-support             3.35-1          MIME files 'mime.types' & 'mailcap
ii  perl                     5.8.7-7         Larry Wall's Practical Extraction 
ii  sed                      4.1.4-4         The GNU sed stream editor
ii  tetex-base               3.0-10          Basic library files of teTeX
ii  ucf                      2.003           Update Configuration File: preserv
ii  xlibs                    6.8.2.dfsg.1-10 X Window System client libraries m
ii  zlib1g                   1:1.2.3-6       compression library - runtime

Versions of packages tetex-bin recommends:
ii  dialog                    1.0-20051030-1 Displays user-friendly dialog boxe
ii  libxml-parser-perl        2.34-4         Perl module for parsing XML files
pn  perl-tk                   <none>         (no description available)
ii  psutils                   1.17-19        A collection of PostScript documen
ii  whiptail                  0.51.6-31      Displays user-friendly dialog boxe

-- debconf information:
  tetex-bin/updmap-failed:
  tetex-bin/hyphen: french[=patois], ngerman[=naustrian-neue_Rechtschreibung]
  tetex-bin/oldcfg: true
  tetex-bin/upd_map: true
  tetex-bin/cnf_name:
  tetex-bin/fmtutil: true
  tetex-bin/use_debconf: false
  tetex-bin/fmtutil-failed:

-- 
Martin Michlmayr
http://www.cyrius.com/
\documentclass[12pt]{scrartcl}

\usepackage[utf8]{inputenc}
\usepackage[colorlinks=true,urlcolor=blue]{hyperref}

\begin{document}

\href{http://www.debian.org/}{Debian is a very popular
distribution that ships LaTeX, and it has just upgraded to a new
major version of tetex.}

\end{document}


--- End Message ---
--- Begin Message ---
Version: 2009-1

On 12.01.04 Juhapekka Tolvanen (juhtolv@cc.jyu.fi) wrote:

Hi,

> Package: tetex-extra
> Version: 2.0.2-5.1
> 
> 
> If I use hyperref and run pdflatex, it works fine. I load it like this:
> 
> \usepackage[a4paper,pdftex]{hyperref}
> 
> But I use hyperref and run that LaTeX-doc through vanilla latex-command,
> all hyphenation disappears from Table of Contents and I get more
> Overfull box-warnings. I load it like this:
> 
> \usepackage[a4paper,dvips]{hyperref}
> 
As discussed in the bug this is a limitation of the dvips driver. The
README of hyperref now has a section "7 Limitations":

Wrapped/broken link support
 Only few drivers support automatically wrapped/broken links,
 e.g. pdftex, dvipdfm, hypertex. Other drivers lack this
 feature, e.g. dvips, dvipsone.
 Workarounds:
 * For long section or caption titles in the table of contents
   or list of figures/tables option "linktocpage" can be used.
   Then the page number will be a link, and the overlong section
   title is not forced into an one line link with overvull \hbox
   warning.
 * "\url"s are caught by package "breakurl".
 * The option "breaklinks" is intended for internal use. But it
   can be used to force link wrapping, e.g. when printing a
   document. However, when such a document is converted to PDF
   and viewed with a PDF viewer, the active link area will be
   misplaced.
     Another limitation: some penalties are "optimized" by TeX,
   thus there are missing break points, especially within
   \url. (See thread "hyperref.sty, breaklinks and url.sty 3.2"
   in comp.text.tex 2005-09).

This should be sufficient -> Closing your bug.

Hilmar
-- 
sigmentation fault


--- End Message ---

Reply to: