Richard Heck wrote:
So am I not understanding something?
Perhaps. The url.sty package isn't intended for the sort of use for
which you are trying to use it. Its purpose is to allow you to use URLs
in a document without running into line-break problems, the issue being
that URLs can be (i) long and (ii) spaceless. Indeed, the documentation
describes the \url command as simply a special form of \verb. So, all of
that said, hyperref is indeed what you need here and, at present, LyX
has no special support for it.
I'm the wrong person to express an opinion on this; about the only time
I use links is inside Beamer presentations, and since Beamer loads
hyperref automatically (I think), I always use hyperref and never use
url. That said, I'm inclined to believe that support for hyperref would
be more useful than support for url. The hyperref package has an option
'breaklinks' (which I confess I've never used) that would seem to allow
links to split across lines. It's not as flexible as what url can do,
but maybe it's good enough?
So if there are people who really prefer hyperref to url, I'd suggest
entering an enhancement request in bugzilla to get menu support for it.
/Paul
- Re: URL question (also links, xref) Paul A. Rubin
-