On Sat, 30 Dec 2017 11:25:45 -0800 (PST)
Rich Shepard <rshep...@appl-ecosys.com> wrote:

> On Sat, 30 Dec 2017, Ricardo Berlasso wrote:
> 
> > Try enabling Hyperref package. On Document → Settings → PDF
> > Properties enable "Use Hyperref Support" → on "Hyperlinks" tab
> > select "Break links over lines".  
> 
> Ricardo,
> 
>    Thanks for the suggestion. I removed the [hyphens] option from the
> url package when adding the hyperref package. Still too long. Perhaps
> I missed something?
> 
>    Long URLs shouldn't be this difficult to typeset within the text
> width, should they? Monster URLs are too common nowadays.
> 
>    Screenshot attached.

Picked up somewhere, from the net or maybe here on this list, years ago,
and used constantly in the preamble of any document constructed with
LyX, is this:

\renewcommand{\UrlBreaks}{\do\/\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z\do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z}

Can that be shortened and still work. No idea, but it has done the job
for may years and in many different document classes

It may help you. It may even have someone who understands it find a
shorter way to use it, or another command that will do the same thing?

Happy new year, if you go in for such a thing.
Charlie

-- 
        Registered Linux User:- 329524
        ***********************************************

        Man is the only animal for whom his own existence is a problem
        which he has to solve. ....Erich Fromm

        ***********************************************

        Debian GNU/Linux - Magic indeed.

        -----------------------------------------------------

Reply via email to