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

_______________________________________________
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context

Reply via email to