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
Good morning Thomas, thanks very much, this way it works great. But is there any documentation on this apart from lxml-ini.mkiv and the list archive? Philipp
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 ___________________________________________________________________________________
-- () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments