diff options
Diffstat (limited to 'Master/texmf-doc/doc/english/FAQ-en/html/FAQ-breaklinks.html')
-rw-r--r-- | Master/texmf-doc/doc/english/FAQ-en/html/FAQ-breaklinks.html | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-breaklinks.html b/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-breaklinks.html deleted file mode 100644 index beaa7106abb..00000000000 --- a/Master/texmf-doc/doc/english/FAQ-en/html/FAQ-breaklinks.html +++ /dev/null @@ -1,45 +0,0 @@ -<head> -<title>UK TeX FAQ -- question label breaklinks</title> -</head><body> -<h3>Link text doesn’t break at end line</h3> -<!-- hyperref overfull link --> -<p/>When using the <i>hyperref</i> package, you make a block of text -“active” when you define a hyper-link (when the user clicks on -that text, the reader program will divert to the <em>target</em> of the -link). -<p/>The <i>hyperref</i> package uses a <em>driver</em> (in the same way -as the <i>graphics</i> package does), to determine how to implement -all that hyper-stuff. -<p/>If you use the driver for <i>dvips</i> output (presumably you want -to distill the resulting PostScript), limitations in the way <i>dvips</i> -deals with the <code>\</code><code>special</code> commands mean that <i>hyperref</i> -must prevent link anchors from breaking at the end of lines. Other -drivers (notably those for PDFTeX and for <i>dvipdfm</i>) don’t -suffer from this problem. -<p/>The problem may occur in a number of different circumstances. For a -couple of them, there are work-arounds: -<p/>First, if you have an URL which is active (so that clicking on -it will activate your web browser to “go to” the URL). In -this case <i>hyperref</i> employs the <i>url</i> package to -split up the URL (as described in -<a href="FAQ-setURL.html">typesetting URLs</a>), but the -<i>dvips</i> driver then suppresses the breaks. The way out is -the <i>breakurl</i> package, which modifies the <code>\</code><code>url</code> command -to produce several smaller pieces, between each of which a line break -is permitted. Each group of pieces, that ends up together in one -line, is converted to a single clickable link. -<p/>Second, if you have a table of contents, list of figure or tables, or -the like, <i>hyperref</i> will ordinarily make the titles in the -table of contents, or captions in the lists, active. If the title or -caption is long, it will need to break within the table, but the -<i>dvips</i> driver will prevent that. In this case, load -<i>hyperref</i> with the option <code>linktocpage</code>, and only -the page number will be made active. -<p/>Otherwise, if you have a lengthy piece of text that you want active, -you have at present no simple solution: you have to rewrite your text, -or to use a different PDF generation mechanism. -<dl> -<dt><tt><i>breakurl.sty</i></tt><dd><a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/breakurl.zip">macros/latex/contrib/breakurl</a> (<a href="ftp://cam.ctan.org/tex-archive/macros/latex/contrib/breakurl.tar.gz">gzipped tar</a>, <a href="http://www.tex.ac.uk/tex-archive/macros/latex/contrib/breakurl/">browse</a>) -</dl> -<p/><p>This question on the Web: <a href="http://www.tex.ac.uk/cgi-bin/texfaq2html?label=breaklinks">http://www.tex.ac.uk/cgi-bin/texfaq2html?label=breaklinks</a> -</body> |