On 28-2-2010 9:21, Philipp Gesang wrote:
On 2010-02-28<08:52:14>, Thomas A. Schmitz wrote:
On Feb 28, 2010, at 8:32 AM, Philipp Gesang wrote:
Dear listmates,
I need some suggestions on how to setup non breaking spaces in XML. I
tried an empty element<nbsp/> to be processed as follows:
\startxmlsetups xml:nbsp
~
\stopxmlsetups
which was ignored by context. (I'll need something similar with
\discretionary as well, I guess.)
Have you tried
\xmlsetentity{nbsp}{~}
\xmlsetentity{dishyph}{\-}
? Both seem to work for me
or
\nobreakspace
-----------------------------------------------------------------
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
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage : http://www.pragma-ade.nl / http://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________