# Re: [NTG-context] modifying URL wrapping rules

```On 11/19/2008 2:35 PM, Lars Huttar wrote:
>
> However, I have a few unsolved problems here.
>
> 1) I don't see a way, with the '\sethyphenatedurlbefore' or 'after'
> mechanism, to tell it not to break a URL between two slashes, as in
> "http://";. At first I thought that since our text only had a few URLs,
> we'd likely never care. But ... you guessed it. One URL got broken
> between the slashes: "http:/
> /www.sil.org/..."```
```
I found a way to deal with this... Based on a tip from
http://xpt.sourceforge.net/techdocs/language/latex/latex03-LaTexUsage/ar01s04.html,
I used
{\lefthyphenmin=64 http://}\hyphenatedurl{www.sil.org/...}
It seems to work in practice -- hyphenation and breaking are disabled
for the "http://"; chunk. And hyphenation seems to successfully resume
afterwards.
This also fixes the problem of a URL breaking before the "//".

The other problems are still outstanding though (wanting to break a URL
after a slash, not before; and before a hyphen, not after).

Thanks for any ideas...
Lars

___________________________________________________________________________________