[NTG-context] Defining hyphenation sites that will not produce a dash?

Hans Hagen pragma at wxs.nl
Mon Apr 17 10:52:58 CEST 2006


Johannes Graumann wrote:
> Hello
>
> My ConTeXted XML document contains a number of constructs like this
>
> pRS&thinspace;403&endash;<math><mn>9</mn><mo>&times;</mo></math>Myc/TEV/<i>URA3</i>/TEV/His<sub>8</sub>
>
> (molecular genetical plasmid/genotype deinitions - in case you wonder ;0).
>
> This predictably produces line break/hyphenation trouble. I'm already using
> a mapping rule like this
>
> \defineXMLargument  [hyph]    {\-}
>
> but I was wondering whether there's an analogue that won't produce a
> hypneation-dash if the manually defined hyphenation site is used.
>
> Thanks for any hint,
>   
\starttext

\usemodule[newmml]

\defineXMLsingular[bp]{|\empty|}

\hsize5cm

\startXMLdata
pRS&thinspace;403&endash;<math><mn>9</mn><mo>&times;</mo></math>Myc/TEV/<i>URA3</i><bp/>/TEV/His<sub>8</sub>
\stopXMLdata

\stoptext


-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------



More information about the ntg-context mailing list