Banner

Donate

You find LaTeX Community useful? Please donate! Learn why!

Amount:

Partner Sites

goLaTeX
TeXblog
TeXnicCenter

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 108 on Tue Jun 08, 2010 3:33 pm

Users browsing this forum: No registered users and 1 guest

Linebreak in URL breaks Link Target

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)

Linebreak in URL breaks Link Target

Postby foobert on Fri Oct 02, 2009 11:50 am

Hi,

in a larger document I have the problem. If a URL is broken into multiple lines, clicking on the first part of the broken URL, the browser opens only with the first part.

An example:

Code: Select all
\documentclass{report}
\usepackage{hyperref}
\begin{document}
Attribution-No Derivative Works as Refer
\url{http://creativecommons.org/licenses/by-nd/3.0/de/}
to view a copy of the full license.
\end{document}


In this example, the URL is broken into

http://creativecommons.org

/licenses/by-nd/3.0/de/

When I click on the first part http://creativecommons.org opens. When I click on the second part http://creativecommons.org/licenses/by-nd/3.0/de/ opens.

Using: MacTex 2008, XeTeX (xelatex XeTeX 3.1415926-2.2-0.999.6 (Web2C 7.5.7)), Preview.app and Skim.app

Do you know how to resolve the bug?

THanks, Foobert
Attachments
test.pdf
(9.62 KiB) Downloaded 20 times
foobert
 
Posts: 2
Joined: Fri Oct 02, 2009 11:43 am

Re: Linebreak in URL breaks Link Target

Postby Stefan_K on Fri Oct 02, 2009 2:42 pm

Hi Foobert,

welcome to the board!
The example is working fine for me, with pdfLaTeX, LaTeX, XeLaTeX, tried with Okular and the Adobe Reader. But also your attached pdf file did work. Perhaps try another pdf reader to check if the reader is not working well.

Stefan
LaTeX Community Moderator
TeXblog.net
Stefan_K
Site Moderator
 
Posts: 2687
Joined: Mon Mar 10, 2008 8:44 pm
Location: Hamburg, Germany

Re: Linebreak in URL breaks Link Target

Postby foobert on Fri Nov 06, 2009 3:27 pm

The sample seems to work for evince too.

As, it only malfunctions on Mac OS X PDF Renders (Skim & Preview.app) it seems to be a Mac OS X related bug.
foobert
 
Posts: 2
Joined: Fri Oct 02, 2009 11:43 am


Return to Text Formatting

Who is online

Users browsing this forum: No registered users and 1 guest

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group