From: Hans Hagen <pragma@wxs.nl>
Subject: Re: Defining hyphenation sites that will not produce a dash?
Date: Mon, 17 Apr 2006 10:52:58 +0200 [thread overview]
Message-ID: <4443576A.9060105@wxs.nl> (raw)
In-Reply-To: <e1urse$76d$1@sea.gmane.org>
Johannes Graumann wrote:
> Hello
>
> My ConTeXted XML document contains a number of constructs like this
>
> pRS&thinspace;403&endash;<math><mn>9</mn><mo>×</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>×</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
-----------------------------------------------------------------
next prev parent reply other threads:[~2006-04-17 8:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-04-17 1:38 Johannes Graumann
2006-04-17 8:52 ` Hans Hagen [this message]
2006-04-17 11:01 ` Johannes Graumann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4443576A.9060105@wxs.nl \
--to=pragma@wxs.nl \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).