[texhax] Hypenation of web names

Michael Barr barr at math.mcgill.ca
Wed Oct 31 01:27:58 CET 2007


The following (plain tex) file illustrates one solution.  Note that it 
does not permit hyphenation before a period, which would be a disaster:

\catcode`\.=\active
\def.{\char46\allowbreak}
This is the time for all good men to come to the aid of the party
script.aculo.us.script.aculo.us.script.aculo.us.script.aculo.us.script.aculo.us.script.aculo.us.script.aculo.us.script.aculo.us.script.aculo.us.
  \bye

Michael Barr


More information about the texhax mailing list