Re: Problem with hyperref + tableofcontents + tetex?



Morten Høgholm <morten.hoegholm@xxxxxxxxx> wrote:

> On Sat, 27 Aug 2005 11:36:49 +0200, Diego Andres Alvarez
> <diegoandresalvarez@xxxxxxxxxxx> wrote:
>
> > I compile the following with latex using MIKTEX and TETEX:
> >
> > \documentclass[12pt,a4paper]{article}
> > \usepackage{hyperref}
> > \begin{document}
> > \tableofcontents
> > \section{Epistemic uncertainty quantification techniques including
> > evidence theory for large-scale structures}
> [...]
> > \end{document}
> >
> > with miktex, it compiles perfect, and the table of contents looks nice:
> > See here screenshot of the DVI:
> > http://img377.imageshack.us/img377/9562/miktex3eb.png
> >
> > but, when I compile it with tetex, the table of contents looks really
> > ugly, it does not make wrapping of the lines:
> > See here screenshot of the DVI:
> > http://img377.imageshack.us/img377/9388/tetex1gb.png
> >
> > Is this a bug?

No. (Lack of feature in dvips).

> When you don't specify a driver, the optional file hyperref.cfg will
> provide one of possible. On teTeX, the driver chosen is dvips but and it
> looks like MiKTeX chooses hypertex as driver.

This can be changed by the configuration file hyperref.cfg.
My experience/impression is that more people want to have
ps/pdf than dvi.

> dvips does not support line breaks in hyperlinks, although the recent
> package breakurl claims to solve that.

Excerpt from the README:

| * 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 catched 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.

Yours sincerely
Heiko <oberdiek@xxxxxxxxxxxxxxx>
.



Relevant Pages

  • Re: If you used Linux before why did you switch to FreeBSD?
    ... There are three mutually incompatible wlan driver ... > any botched installation attempt. ... too large and let FreeBSD compile it over night if I want it. ... for me Firefox has become far too slow. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: Problems with kernel: no sound, printer, cdwriter
    ... Compile them, install them and then load the module. ... kernel, not as module. ... > Journalled Block Device driver loaded ...
    (Debian-User)
  • Re: modules load
    ... The Handbook is not so clear about what you must compile ... > kernel, ... modules (the nVidia graphics driver is a good example of the latter). ... system sources, you can just look at the source code for each driver ...
    (freebsd-questions)
  • Re: [v4l-dvb-maintainer] Options depending on STANDALONE
    ... The other DVB drivers that need firmware load it when the device is opened ... So AV7110 has an option to compile a firmware file into the driver. ... For non-distribution kernels there is no difference whether firmware is ...
    (Linux-Kernel)
  • Re: ANNOUNCE: DBI 1.54 RC6 - including cool new DBD::Gofer stateless proxy
    ... Fixed to compile for perl built with -DNO_MATHOMS thanks to Jerry D. ... Changed setting trace file to no longer write "Trace file set" to new file. ... Updated DBI::DBD docs for driver authors thanks to Ammon Riley ... Some testing on strange platforms, like Windows, would be helpful as ...
    (perl.dbi.users)