From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/12662 Path: main.gmane.org!not-for-mail From: Hans Hagen Newsgroups: gmane.comp.tex.context Subject: Re: Allow hyphenation after "underscore" (_) Date: Sat, 19 Jul 2003 11:24:50 -1000 Sender: ntg-context-admin@ntg.nl Message-ID: <5.2.0.9.1.20030719112010.08161f60@localhost> References: <4612.1058520716@www52.gmx.net> Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Trace: main.gmane.org 1058650432 13871 80.91.224.249 (19 Jul 2003 21:33:52 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 19 Jul 2003 21:33:52 +0000 (UTC) Original-X-From: ntg-context-admin@ntg.nl Sat Jul 19 23:33:50 2003 Return-path: Original-Received: from ref.vet.uu.nl ([131.211.172.13] helo=ref.ntg.nl) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19dzKw-0003bZ-00 for ; Sat, 19 Jul 2003 23:33:50 +0200 Original-Received: from ref.ntg.nl (localhost.localdomain [127.0.0.1]) by ref.ntg.nl (Postfix) with ESMTP id 908C310B46; Sat, 19 Jul 2003 23:34:53 +0200 (MEST) Original-Received: from mail.solcon.nl (mail.solcon.nl [212.45.33.11]) by ref.ntg.nl (Postfix) with ESMTP id 8399B10B2B for ; Sat, 19 Jul 2003 23:26:09 +0200 (MEST) Original-Received: from server-1.pragma-net.nl (wc-58016.solcon.nl [212.45.58.16]) by mail.solcon.nl (8.12.9/SQL-8.12.9-10/8.12.5) with ESMTP id h6JLQ0s2029005 for ; Sat, 19 Jul 2003 23:26:00 +0200 Original-Received: from laptop-3.wxs.nl (server-1.pragma-net.nl [10.100.1.1] (may be forged)) by server-1.pragma-net.nl (8.12.3/8.12.2) with ESMTP id h6JLQ10c012266 for ; Sat, 19 Jul 2003 23:26:06 +0200 X-Sender: hagen-mail@localhost X-Mailer: QUALCOMM Windows Eudora Version 5.2.0.9 Original-To: ntg-context@ntg.nl In-Reply-To: <4612.1058520716@www52.gmx.net> X-RAVMilter-Version: 8.4.1(snapshot 20020919) (mail.solcon.nl) Errors-To: ntg-context-admin@ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.0.13 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.comp.tex.context:12662 X-Report-Spam: http://spam.gmane.org/gmane.comp.tex.context:12662 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 -------------------------------------------------------------------------