* How to influence hyphenation points in URLs? @ 2008-10-13 9:23 Mojca Miklavec 2008-10-13 15:49 ` Steffen Wolfrum 0 siblings, 1 reply; 3+ messages in thread From: Mojca Miklavec @ 2008-10-13 9:23 UTC (permalink / raw) To: mailing list for ConTeXt users Hello, I have many really bad breaking points in URLs (both produced with bib module and with \useURL[bla][http://www.very-very-very-very-very-long-bla.com]\from[bla], or \hyphenatedurl, doesn't matter). Is there any way to influence breaking points in those URLs manually? For normal words there exists \hyphenate{...}, but how to handle urls? (I have the interction turned off if that matters.) I faintly remember some discussion about preparing hyphenation patterns for URLs (like: never try to break http:// or after ~, try to put slash at the end of first part). Would that solve the issue? I sometimes try to replace space and _ in wikipedia URLs and results are totally random, but in general all of them breaking really bad - leaving several letters too much in each line. Thanks a lot, Mojca ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to influence hyphenation points in URLs? 2008-10-13 9:23 How to influence hyphenation points in URLs? Mojca Miklavec @ 2008-10-13 15:49 ` Steffen Wolfrum 2008-10-14 6:48 ` Wolfgang Schuster 0 siblings, 1 reply; 3+ messages in thread From: Steffen Wolfrum @ 2008-10-13 15:49 UTC (permalink / raw) To: mailing list for ConTeXt users Am 13.10.2008 um 11:23 schrieb Mojca Miklavec: > I have many really bad breaking points in URLs (both produced with bib > module and with > \useURL[bla][http://www.very-very-very-very-very-long-bla.com] > \from[bla], > or \hyphenatedurl, doesn't matter). Is there any way to influence > breaking points in those URLs manually? For normal words there exists > \hyphenate{...}, but how to handle urls? Yes, this is really a need as quoting URLs gets more and more used. A manual force (like \- for nor normal words) would be helpful too. Steffen ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to influence hyphenation points in URLs? 2008-10-13 15:49 ` Steffen Wolfrum @ 2008-10-14 6:48 ` Wolfgang Schuster 0 siblings, 0 replies; 3+ messages in thread From: Wolfgang Schuster @ 2008-10-14 6:48 UTC (permalink / raw) To: mailing list for ConTeXt users On Mon, Oct 13, 2008 at 5:49 PM, Steffen Wolfrum <context@st.estfiles.de> wrote: > > Am 13.10.2008 um 11:23 schrieb Mojca Miklavec: > >> I have many really bad breaking points in URLs (both produced with bib >> module and with >> \useURL[bla][http://www.very-very-very-very-very-long-bla.com] >> \from[bla], >> or \hyphenatedurl, doesn't matter). Is there any way to influence >> breaking points in those URLs manually? For normal words there exists >> \hyphenate{...}, but how to handle urls? > > > Yes, this is really a need as quoting URLs gets more and more used. > A manual force (like \- for nor normal words) would be helpful too. You could change the hyphenation points with: - \sethyphenatedurlnormal - \sethyphenatedurlbefore - \sethyphenatedurlafter Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! 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 ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-10-14 6:48 UTC | newest] Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2008-10-13 9:23 How to influence hyphenation points in URLs? Mojca Miklavec 2008-10-13 15:49 ` Steffen Wolfrum 2008-10-14 6:48 ` Wolfgang Schuster
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).