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
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
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...

If your question is of interest to others as well, please add an entry to the 

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net

Reply via email to