At 23:31 17/07/2003 +0200, you wrote:
Hi,
I am processing documents from XML sources that contain lots of words like BLABLA_VERY_LONG_COMPLICATED_WORD. How can I (globally) enable hyphenation after underscores without changing the source?
I know that I could replace underscores with some sort of XML entity like &underscore; and map this to some TeX code using \discretionary..., but I want to avoid using that.
test|\_|test \defineXMLentity[underscore] {\discretionarycommand|\_|} \startXMLdata test&underscore;test \stopXMLdata ------------------------------------------------------------------------- Hans Hagen | PRAGMA ADE | pragma@wxs.nl Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com ------------------------------------------------------------------------- information: http://www.pragma-ade.com/roadmap.pdf documentation: http://www.pragma-ade.com/showcase.pdf -------------------------------------------------------------------------