Bob Lounsbury wrote:

Try adding \hypersetup{breaklinks=true} to the preamble. (My memory is a bit fuzzy, but I think that's the route.)



Ok, ok (twist my arm) I'll go look at the hyperref documentation. I tried your suggestion and it works ... except that it breaks the link to the figure which kind of defeats the purpose of using hyperref. I'll check the documentation. Thanks for the suggestion.

By "breaks the link to the figure" do you mean splits the link across two lines, keeping it a link (which is what it's supposed to do) or renders the link dysfunctional? My understanding is that it should cause overly long links to be broken across multiple lines, with each fragment of text separately hyperlinked to the same destination. The manual says a couple of things that I find less than translucent:

"Allows link text to break across lines; since this cannot be accommodated in PDF, it is only set true by default if the pdftex driver is used. This makes links on multiple lines into different PDF links to the same target."

and

"The correct value is automatically set according to the driver
features. It can be overwritten for drivers that do not support broken links. However, at any case, the link area will be wrong and displaced."

The url.sty package has some options to let you control how/where long links are broken, but AFAIK hyperref has only the boolean breaklinks option.

Also, oddly enough there isn't a problem with hyperref and memoir under LyX 1.3.7. Maybe this is a 1.4.3 bug.

If LyX 1.3.7 generates the right output for your current document (using, presumably, your current LaTeX package), then it might be worth exporting the document from both 1.3.7 and 1.4.3 to LaTeX (or doing View->LaTeX if you've set that up) and comparing both the preambles and the actual link. Hopefully that would pin down what changed.

/Paul

Reply via email to