![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
Mojca Miklavec wrote:
hack hack hack hack ....
I tried solutions with special patterns sveral times but the problem is in mixed languages, i.e. english text mixed with url-language; there are some limitations (in pdftex for instance the same codes are used fo rthe whole par (i.e. mixed languages are possible but with the same lccodes etc). Also, one needs to get rid of the - Anyhow, there is another trick, one that Aditya might love ... \bgroup \gdef\lettercolon{:} \catcode`\:=\active \catcode`\^=\active \catcode`\/=\active \catcode`\~=\active \gdef\ForMojcaWhoLikesHacks#1% {\dontleavehmode \begingroup \mathcode`\:="8000 \mathcode`\^="8000 \mathcode`\/="8000 \mathcode`\~="8000 \def:{\nobreak \hbox{\lettercolon}\allowbreak}% \def^{\allowbreak\hbox{\letterhat }\nobreak}% \def/{\nobreak \hbox{\letterslash}\allowbreak}% \def~{\allowbreak\hbox{\lettertilde}\nobreak}% \everymath\emptytoks \mathsurround\zeropoint$\tttf#1$% \endgroup} \egroup \hsize 1mm \ForMojcaWhoLikesHacks{http://www.sil.org/silesr/} ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------