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

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

Reply via email to